True
A class in Root.Township, Alta.Intelligence.
The always-true goal in the unused Prolog-like logic engine. A definition with no goal uses it, making it a plain fact.
- Listed in Creatures and AI
- Inherits or implements
Predicate - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
True() | Creates a True with default values. |
Methods
| Member | What it is |
|---|---|
override string ToString() | Returns "True". |
protected override IEnumerable<Result> EvaluateInternal(KnowledgeHolder knowledgeHolder) (iterator) | Yields a single empty result with weighting 1. |
protected override Predicate FromCompoundPart(CompoundPart compoundPart) | Returns a new True. |