Differences between revisions 5 and 7 (spanning 2 versions)
Revision 5 as of 2015-07-18 06:35:27
Size: 846
Editor: XmlRpcBot
Comment:
Revision 7 as of 2016-04-25 11:53:51
Size: 927
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

XXX TODO: description of the role of scalar evaluators and the connection to [[Doc/Heuristic|Heuristic]]
Line 13: Line 11:
== Max evaluator ==

Calculates the maximum of the sub-evaluators.

{{{
max(evals)
}}}

 * ''evals'' (list of [[Doc/ScalarEvaluator|ScalarEvaluator]]): at least one scalar evaluator
Line 14: Line 21:
Line 16: Line 22:
Line 20: Line 25:

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

weight(eval, weight)