And
A class in Root.Township, Alta.Intelligence.
Logical AND in the unused Prolog-like logic engine (Predicate, KnowledgeHolder). Yields every pair of left and right results whose bindings agree, with weightings multiplied.
- Listed in Creatures and AI
- Inherits or implements
Operator - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
And(Predicate left, Predicate right) | Creates an And from left and right. |
Methods
| Member | What it is |
|---|---|
override Result Resolve(Result a, Result b) | Combines two results if their bindings don't conflict, multiplying weightings. Returns null on conflict. |
override string ToString() | Shows the two sides joined with &. |
protected override Predicate FromCompoundPart(CompoundPart compoundPart) | Rebuilds an And from bound parts when variables are substituted. |