Plus
A class in Root.Township, Alta.Intelligence.
A combining operator in the unused Prolog-like logic engine. It behaves exactly like And: agreeing results with weightings multiplied.
- Listed in Creatures and AI
- Inherits or implements
Operator - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
Plus(Predicate left, Predicate right) | Creates a Plus 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 a Plus from bound parts when variables are substituted. |