Revision 2 as of 2018-09-12 15:25:13

Clear message

Constant evaluator

Returns a constant value.

const(value=1)

g-value evaluator

Returns the g-value (path cost) of the search node.

g()

Max evaluator

Calculates the maximum of the sub-evaluators.

max(evals)

Preference evaluator

Returns 0 if preferred is true and 1 otherwise.

pref()

Sum evaluator

Calculates the sum of the sub-evaluators.

sum(evals)

Weighted evaluator

Multiplies the value of the evaluator with the given weight.

weight(eval, weight)