aima.search.nodestore
Class FIFONodeStore

java.lang.Object
  extended by aima.search.nodestore.FIFONodeStore
All Implemented Interfaces:
NodeStore

public class FIFONodeStore
extends java.lang.Object
implements NodeStore


Constructor Summary
FIFONodeStore()
           
 
Method Summary
 void add(java.util.List nodes)
           
 void add(Node anItem)
           
 boolean isEmpty()
           
 Node remove()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIFONodeStore

public FIFONodeStore()
Method Detail

add

public void add(Node anItem)
Specified by:
add in interface NodeStore

remove

public Node remove()
Specified by:
remove in interface NodeStore

add

public void add(java.util.List nodes)
Specified by:
add in interface NodeStore

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface NodeStore

size

public int size()
Specified by:
size in interface NodeStore