Differences between revisions 2 and 3
Revision 2 as of 2014-01-27 18:35:22
Size: 837
Editor: XmlRpcBot
Comment:
Revision 3 as of 2015-06-05 10:49:14
Size: 846
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Returns the current g-value of the search. Returns the g-value (path cost) of the search node.

XXX TODO: description of the role of scalar evaluators and the connection to Heuristic

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)