Differences between revisions 5 and 8 (spanning 3 versions)
Revision 5 as of 2015-07-18 06:35:27
Size: 846
Editor: XmlRpcBot
Comment:
Revision 8 as of 2017-04-25 15:43:39
Size: 0
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<TableOfContents>>

XXX TODO: description of the role of scalar evaluators and the connection to [[Doc/Heuristic|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)
}}}

 * ''evals'' (list of [[Doc/ScalarEvaluator|ScalarEvaluator]]): at least one scalar evaluator
== Weighted evaluator ==
Multiplies the value of the scalar evaluator with the given weight.
{{{
weight(eval, weight)
}}}


 * ''eval'' ([[Doc/ScalarEvaluator|ScalarEvaluator]]): scalar evaluator
 * ''weight'' (int): weight

/* moin code generated by txt2tags 2.6b (http://txt2tags.sf.net) */
/* cmdline: txt2tags */