Polarith AI

◆ Evaluate()

override void Evaluate ( )

Processes the AI main loop for defining and solving the hold Problem writing the results into the Decision, therefore and for solving, the MakeDecision method gets called.

To obtain objective values, the associated IBehaviour instances are executed in series, whereby the hold Sensor determines how an agent observes its environment.

In addition to Context<TValue, TStructure>.Evaluate, this method transform the made local Decision into world space.

NullReferenceExceptionIf the BuildContext method has not been called at least once.