|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectassignment1.CIterativeDeepeningStrategy
public class CIterativeDeepeningStrategy
Constructor Summary | |
---|---|
CIterativeDeepeningStrategy()
|
|
CIterativeDeepeningStrategy(int arg_iInitialDepth)
|
Method Summary | |
---|---|
CNode |
Select(java.util.Vector<CNode> arg_node_v,
CNode arg_node)
Disregards the current position; selects the first item of shallowest depth. |
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 CIterativeDeepeningStrategy()
public CIterativeDeepeningStrategy(int arg_iInitialDepth)
Method Detail |
---|
public CNode Select(java.util.Vector<CNode> arg_node_v, CNode arg_node)
Select
in interface IStrategy
arg_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 IStrategy
arg_problem
- an IDomain
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |