Skip to main content

Result

A class in Root.Township, Alta.Intelligence.

One answer to a creature AI logic query: the term bindings that make it true and its weight.

Constructors​

MemberWhat it is
Result(Dictionary<ITerm, ITerm> bindings, float weighting)Creates a Result from weighting.
Result(float weighting = 1)Creates a Result from weighting.

Properties​

MemberWhat it is
Dictionary<ITerm, ITerm> Bindings { get; private set; }Which variable terms were bound to which values.
float Weighting { get; set; }How strong this answer is. 1 by default.

Methods​

MemberWhat it is
override string ToString()Text listing the weight and each binding.

Used in​

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