BaseAtom
A class in Root.Township, Alta.Intelligence.
A named constant term in the AI's logic system (predicates, compounds and variables used for creature reasoning). Its nested Definition pairs a compound with a goal and a weighting.
- Listed in Creatures and AI
- Inherits or implements
Term - Derived types
Atom,Atom<T1, T2, T3, T4>,Atom<T1, T2, T3>,Atom<T1, T2>,Atom<T> - Nested types
Definition - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
BaseAtom(string name) | Creates a BaseAtom from name. |
Properties
| Member | What it is |
|---|---|
string Name { get; private set; } | The name given when the atom was created; also what ToString returns. |
Methods
| Member | What it is |
|---|---|
override bool Contains(ITerm other) | True only when the other term is this same atom object. |
Compound Test(params ITerm[] terms) | Builds a new Compound of this atom applied to the given terms. |
override string ToString() | Returns the atom's name. |
Used in
Members of other types that take, return or hold a BaseAtom: