aima.search.nodestore
Class LIFONodeStore

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

public class LIFONodeStore
extends java.lang.Object
implements NodeStore


Constructor Summary
LIFONodeStore()
           
 
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

LIFONodeStore

public LIFONodeStore()
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