|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectassignment1.CAStarStrategy
public class CAStarStrategy
| Constructor Summary | |
|---|---|
CAStarStrategy()
|
|
| Method Summary | |
|---|---|
CNode |
Select(java.util.Vector<CNode> arg_node_v,
CNode arg_node)
Picks the node with the hypothetical lowest total cost to a goal. |
void |
SetDomain(IDomain arg_problem)
Some strategies need access to the problem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CAStarStrategy()
| Method Detail |
|---|
public CNode Select(java.util.Vector<CNode> arg_node_v,
CNode arg_node)
Select in interface IStrategyarg_node - a CNode value, the fringe, ie the available options to explore
CNode value, the current positionpublic void SetDomain(IDomain arg_problem)
IStrategy
SetDomain in interface IStrategyarg_problem - an IDomain value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||