|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.search.map.AdaptableHeuristicFunction
public abstract class AdaptableHeuristicFunction
This class extends heuristic functions in two ways: It maintains a goal and a map to estimate distance to goal for states in route planning problems, and it provides a method to adapt to different goals.
Field Summary | |
---|---|
protected java.lang.Object |
goal
The Current Goal. |
protected Map |
map
The map to be used for distance to goal estimates. |
Constructor Summary | |
---|---|
AdaptableHeuristicFunction()
|
Method Summary | |
---|---|
AdaptableHeuristicFunction |
getAdaptation(java.lang.Object goal,
Map map)
Creates a clone and stores goal and map in the corresponding attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface aima.search.framework.HeuristicFunction |
---|
getHeuristicValue |
Field Detail |
---|
protected java.lang.Object goal
protected Map map
Constructor Detail |
---|
public AdaptableHeuristicFunction()
Method Detail |
---|
public AdaptableHeuristicFunction getAdaptation(java.lang.Object goal, Map map)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |