Skip to main content

IAtomDefinition

An interface in Root.Township, Alta.Intelligence.

A piece of knowledge in the creature knowledge system: a compound and a goal, with a weight that fades as the event it came from ages.

Properties​

MemberWhat it is
float AgeWeighting { get; set; }A 0 to 1 multiplier set by the owning event as it ages.
Compound Compound { get; }The compound this definition belongs to.
Predicate Goal { get; }The predicate that must hold for this definition to apply.
float Weighting { get; }How much this definition counts. In the base definition, its weight times AgeWeighting.

Used in​

Members of other types that take, return or hold a IAtomDefinition: