es.usc.citius.hipster.model.HeuristicNode<A, S, C extends java.lang.Comparable<C>, N extends es.usc.citius.hipster.model.HeuristicNode<A, S, C, N>> |
![]()
ADStarNode<A, S, C extends Comparable<C>, N extends ADStarNode<A, S, C, N>>,
ADStarNodeImpl<A, S, C extends Comparable<C>>,
WeightedNode<A, S, C extends Comparable<C>>
|
Type of node which stores an estimated (heuristic) cost to the goal, extending
the interface of a cost node CostNode
. Cost and
heuristic are of the same type and must be comparable. This type of node is used by algorithms
which store information about the cost from the cost and use a heuristic function
to estimate the cost to the goal.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract C |
getEstimation()
Return the estimated cost to goal state from the current state.
| ||||||||||
abstract C |
getScore()
Retrieves the total cost (typically f = g + h) of this node,
where g =
getCost() and
h = getEstimation() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Return the estimated cost to goal state from the current state.
Retrieves the total cost (typically f = g + h) of this node,
where g = getCost()
and
h = getEstimation()