Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2014-01-27 10:59:04
Size: 729
Editor: XmlRpcBot
Comment:
Revision 6 as of 2015-10-31 19:49:38
Size: 738
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Returns the current g-value of the search. Returns the g-value (path cost) of the search node.

g-value evaluator

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

g()

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 scalar evaluator with the given weight.

weight(eval, weight)