fr.inria.oadymppac.solver
Class SearchNodeProxy
java.lang.Object
fr.inria.oadymppac.solver.SolverElementImpl
fr.inria.oadymppac.solver.SolverMainElementImpl
fr.inria.oadymppac.solver.AbstractSearchNode
fr.inria.oadymppac.solver.SearchNodeProxy
- All Implemented Interfaces:
- ChronoProvider, DepthProvider, Indexable, ReferenceProxy, SearchNode, SolverElement, SolverMainElement, SolverManagable, StateProvider
- public class SearchNodeProxy
- extends AbstractSearchNode
- implements ReferenceProxy
- Author:
- raf
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SEARCHNODE_TYPE
public static final java.lang.String SEARCHNODE_TYPE
- See Also:
- Constant Field Values
SearchNodeProxy
public SearchNodeProxy(Solver solver)
- Parameters:
solver
-
addChoiceConstraint
public void addChoiceConstraint(ChoiceConstraint choiceConstraint)
- Specified by:
addChoiceConstraint
in interface SearchNode
- Parameters:
choiceConstraint
-
countChoiceConstraint
public int countChoiceConstraint()
- Specified by:
countChoiceConstraint
in interface SearchNode
- Returns:
getChoiceConstraints
public java.util.Collection getChoiceConstraints()
- Specified by:
getChoiceConstraints
in interface SearchNode
- Returns:
getChrono
public int getChrono()
- Specified by:
getChrono
in interface ChronoProvider
- Overrides:
getChrono
in class SolverMainElementImpl
- Returns:
- Returns the chrono.
getContext
public java.lang.String getContext()
- Specified by:
getContext
in interface SolverMainElement
- Overrides:
getContext
in class SolverMainElementImpl
- Returns:
- Returns the context.
getDepth
public int getDepth()
- Specified by:
getDepth
in interface DepthProvider
- Overrides:
getDepth
in class SolverMainElementImpl
- Returns:
- Returns the depth.
getFile
public java.lang.String getFile()
- Specified by:
getFile
in interface SolverMainElement
- Overrides:
getFile
in class SolverMainElementImpl
- Returns:
- Returns the file.
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface SolverElement
- Returns:
getLine
public int getLine()
- Specified by:
getLine
in interface SolverMainElement
- Overrides:
getLine
in class SolverMainElementImpl
- Returns:
- Returns the line.
getName
public java.lang.String getName()
- Specified by:
getName
in interface SearchNode
- Returns:
getState
public State getState()
- Specified by:
getState
in interface StateProvider
- Returns:
getTime
public long getTime()
- Specified by:
getTime
in interface SolverMainElement
- Overrides:
getTime
in class SolverMainElementImpl
- Returns:
- Returns the time.
removeChoiceConstraint
public void removeChoiceConstraint(ChoiceConstraint choiceConstraint)
- Specified by:
removeChoiceConstraint
in interface SearchNode
- Parameters:
choiceConstraint
-
setChoiceConstraints
public void setChoiceConstraints(java.util.Collection choices)
- Specified by:
setChoiceConstraints
in interface SearchNode
- Parameters:
choices
-
setChrono
public void setChrono(int chrono)
- Specified by:
setChrono
in interface ChronoProvider
- Overrides:
setChrono
in class SolverMainElementImpl
- Parameters:
chrono
- The chrono to set.
setContext
public void setContext(java.lang.String context)
- Specified by:
setContext
in interface SolverMainElement
- Overrides:
setContext
in class SolverMainElementImpl
- Parameters:
context
- The context to set.
setDepth
public void setDepth(int depth)
- Specified by:
setDepth
in interface DepthProvider
- Overrides:
setDepth
in class SolverMainElementImpl
- Parameters:
depth
- The depth to set.
setFile
public void setFile(java.lang.String file)
- Specified by:
setFile
in interface SolverMainElement
- Overrides:
setFile
in class SolverMainElementImpl
- Parameters:
file
- The file to set.
setLine
public void setLine(int line)
- Specified by:
setLine
in interface SolverMainElement
- Overrides:
setLine
in class SolverMainElementImpl
- Parameters:
line
- The line to set.
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface SearchNode
- Parameters:
name
-
setState
public void setState(State sate)
- Specified by:
setState
in interface StateProvider
- Parameters:
sate
-
setTime
public void setTime(long time)
- Specified by:
setTime
in interface SolverMainElement
- Overrides:
setTime
in class SolverMainElementImpl
- Parameters:
time
- The time to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class SolverMainElementImpl
getProxy
public java.lang.Object getProxy()
- Specified by:
getProxy
in interface ReferenceProxy
setProxy
public void setProxy(java.lang.Object proxy)
- Specified by:
setProxy
in interface ReferenceProxy
getSearchNodeType
public java.lang.String getSearchNodeType()
- Specified by:
getSearchNodeType
in class AbstractSearchNode
clearChoiceConstraints
public void clearChoiceConstraints()
- Specified by:
clearChoiceConstraints
in interface SearchNode