|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Heuristic
This class represents the heuristic function.
The heuristic method returns an estimated cost of getting to the goal from this vertex.
Method Summary | |
---|---|
double |
h(State state)
Method calculates an approximate cost from state to the
goal state. |
Method Detail |
---|
double h(State state)
state
to the
goal state.
state
- the input state for the calculation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |