Differences between revisions 1 and 2
Revision 1 as of 2017-04-25 15:20:24
Size: 863
Editor: XmlRpcBot
Comment:
Revision 2 as of 2018-09-12 15:25:13
Size: 1000
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Constant evaluator ==

Returns a constant value.

{{{
const(value=1)
}}}

 * ''value'' (int [0, infinity]): the constant value
Line 4: Line 13:
Line 6: Line 14:
Line 10: Line 17:

Constant evaluator

Returns a constant value.

const(value=1)
  • value (int [0, infinity]): the constant value

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)
  • evals (list of Evaluator): at least one evaluator

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 Evaluator): at least one evaluator

Weighted evaluator

Multiplies the value of the evaluator with the given weight.

weight(eval, weight)
  • eval (Evaluator): evaluator

  • weight (int): weight

FastDownward: Doc/Evaluator (last edited 2024-01-11 22:26:36 by XmlRpcBot)