CompoundPart
A class in Root.Township, Alta.Intelligence.
A list of terms (a first term and the rest) in the AI's logic system, used when unifying compounds.
- Listed in Creatures and AI
- Inherits or implements
Term,ICompoundPart - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
CompoundPart(ITerm first, ITerm[] remaining) | Creates a CompoundPart from bindings and all. |
CompoundPart(Dictionary<ITerm, ITerm> bindings, ITerm[] all) | Creates a CompoundPart from bindings and all. |
Properties
| Member | What it is |
|---|---|
ITerm First { get; private set; } | First term. |
ITerm[] Remaining { get; private set; } | The other terms. |
Methods
| Member | What it is |
|---|---|
override bool Contains(ITerm other) | True if it is the term, its first term is, or any remaining term contains it. |
override string ToString() | The terms joined with commas. |
Used in
Members of other types that take, return or hold a CompoundPart: