Skip to main content

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.

Constructors​

MemberWhat it is
BaseAtom(string name)Creates a BaseAtom from name.

Properties​

MemberWhat it is
string Name { get; private set; }The name given when the atom was created; also what ToString returns.

Methods​

MemberWhat 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: