|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectengine_lsd.Engine
public class Engine
Class Engine
Field Summary | |
---|---|
static int |
expandedNodes
Number of expanded nodes |
static int |
limitSize
limit size for queue |
static int |
limitValue
limit value for queue insertion |
private PriorityQueue |
q
|
static boolean |
verbose
flag to activate verbose behaviour |
Constructor Summary | |
---|---|
Engine(State seed)
Constructor |
Method Summary | |
---|---|
State |
completeSearch()
Perform a complete search until goal is reached or resources exausted |
State |
expand()
Expand a state putting its successors in the queue |
java.lang.String |
toString()
Return information on the search |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private PriorityQueue q
public static int expandedNodes
public static boolean verbose
public static int limitValue
public static int limitSize
Constructor Detail |
---|
public Engine(State seed)
Method Detail |
---|
public State expand()
public State completeSearch()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |