|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.search.nodestore.PriorityNodeStore
public class PriorityNodeStore
Constructor Summary | |
---|---|
PriorityNodeStore(java.util.Comparator<Node> comparator)
|
Method Summary | |
---|---|
void |
add(java.util.List<Node> nodes)
|
void |
add(Node anItem)
|
boolean |
isEmpty()
|
Node |
remove()
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PriorityNodeStore(java.util.Comparator<Node> comparator)
Method Detail |
---|
public void add(Node anItem)
add
in interface NodeStore
public Node remove()
remove
in interface NodeStore
public void add(java.util.List<Node> nodes)
add
in interface NodeStore
public boolean isEmpty()
isEmpty
in interface NodeStore
public int size()
size
in interface NodeStore
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 |