fr.inria.oadymppac.solver
Class SolverMainElementImpl
java.lang.Object
fr.inria.oadymppac.solver.SolverElementImpl
fr.inria.oadymppac.solver.SolverMainElementImpl
- All Implemented Interfaces:
- ChronoProvider, DepthProvider, Indexable, SolverElement, SolverMainElement, SolverManagable
- Direct Known Subclasses:
- AbstractAnnotation, AbstractConstraint, AbstractSearchNode, AbstractStage, AbstractVariable, DefaultState, SolverEventElementImpl
- public abstract class SolverMainElementImpl
- extends SolverElementImpl
- implements SolverMainElement
- Author:
- raf
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 |
SolverMainElementImpl
public SolverMainElementImpl(Solver solver)
getDepth
public int getDepth()
- Specified by:
getDepth
in interface DepthProvider
- Returns:
- Returns the depth.
setDepth
public void setDepth(int depth)
- Specified by:
setDepth
in interface DepthProvider
- Parameters:
depth
- The depth to set.
getFile
public java.lang.String getFile()
- Specified by:
getFile
in interface SolverMainElement
- Returns:
- Returns the file.
setFile
public void setFile(java.lang.String file)
- Specified by:
setFile
in interface SolverMainElement
- Parameters:
file
- The file to set.
getLine
public int getLine()
- Specified by:
getLine
in interface SolverMainElement
- Returns:
- Returns the line.
setLine
public void setLine(int line)
- Specified by:
setLine
in interface SolverMainElement
- Parameters:
line
- The line to set.
getSolver
public Solver getSolver()
- Specified by:
getSolver
in interface SolverManagable
- Overrides:
getSolver
in class SolverElementImpl
- Returns:
- Returns the solver.
setSolver
public void setSolver(Solver solver)
- Specified by:
setSolver
in interface SolverManagable
- Overrides:
setSolver
in class SolverElementImpl
- Parameters:
solver
- The solver to set.
getTime
public long getTime()
- Specified by:
getTime
in interface SolverMainElement
- Returns:
- Returns the time.
setTime
public void setTime(long time)
- Specified by:
setTime
in interface SolverMainElement
- Parameters:
time
- The time to set.
getChrono
public int getChrono()
- Specified by:
getChrono
in interface ChronoProvider
- Returns:
- Returns the chrono.
setChrono
public void setChrono(int chrono)
- Specified by:
setChrono
in interface ChronoProvider
- Parameters:
chrono
- The chrono to set.
getContext
public java.lang.String getContext()
- Specified by:
getContext
in interface SolverMainElement
- Returns:
- Returns the context.
setContext
public void setContext(java.lang.String context)
- Specified by:
setContext
in interface SolverMainElement
- Parameters:
context
- The context to set.
toString
public java.lang.String toString()