fr.inria.oadymppac.solver
Class SearchNodeManager
java.lang.Object
fr.inria.oadymppac.utils.ObjectManagerImpl
fr.inria.oadymppac.utils.IndexedObjectManager
fr.inria.oadymppac.solver.SolverObjectManager
fr.inria.oadymppac.solver.SearchNodeManager
- All Implemented Interfaces:
- Indexable, ObjectManager, SolverManagable
- public final class SearchNodeManager
- extends SolverObjectManager
- implements Indexable
A SearchNodeManager
is a utility class that manages the
constraints and their related constraints declared and used during a
session. It keeps track of their withdrawals and notifies
listeners when they appear or disappear.
- Version:
- $Revision: 1.1 $
- Author:
- Jean-Daniel Fekete
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SearchNodeManager
public SearchNodeManager()
get
public SearchNode get(int index)
- Returns the
index
's created constraint.
get
public SearchNode get(java.lang.String key)
- Returns the
index
's created constraint.
getSearchNodeManager
public static SearchNodeManager getSearchNodeManager(Solver solver)
getIndex
public int getIndex()
- Specified by:
getIndex
in interface Indexable
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface Indexable
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interface Indexable
reset
public void reset()
- Specified by:
reset
in interface Indexable