fr.inria.oadymppac.solver
Class DefaultDomain

java.lang.Object
  extended byfr.inria.oadymppac.solver.SolverElementImpl
      extended byfr.inria.oadymppac.solver.ValueListImpl
          extended byfr.inria.oadymppac.solver.DefaultDomain
All Implemented Interfaces:
ChronoProvider, DepthProvider, Domain, Indexable, SolverElement, SolverManagable, ValueList

public class DefaultDomain
extends ValueListImpl
implements Domain

Author:
raf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.solver.Domain
EVENT_TYPE
 
Constructor Summary
DefaultDomain(Solver solver)
           
 
Method Summary
 int getChrono()
           
 int getComputedMax()
           
 int getComputedMin()
           
 int getComputedSize()
           
 int getDepth()
           
 java.lang.String getEventType()
           
 java.lang.Object getKey()
           
 java.lang.String getLabel()
           
 int getMax()
           
 int getMin()
           
 int getSize()
           
 byte getSolverType()
           
 Variable getVariable()
           
 void reset()
           
 void setChrono(int chrono)
           
 void setDepth(int depth)
           
 void setMax(int max)
           
 void setMin(int min)
           
 void setSize(int size)
           
 void setVariable(Variable variable)
           
 
Methods inherited from class fr.inria.oadymppac.solver.ValueListImpl
add, getValues
 
Methods inherited from class fr.inria.oadymppac.solver.SolverElementImpl
getIndex, getSolver, setIndex, setSolver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.solver.ValueList
add, getValues
 
Methods inherited from interface fr.inria.oadymppac.utils.Indexable
getIndex, setIndex
 
Methods inherited from interface fr.inria.oadymppac.solver.SolverManagable
getSolver, setSolver
 

Constructor Detail

DefaultDomain

public DefaultDomain(Solver solver)
Parameters:
solver -
Method Detail

getChrono

public int getChrono()
Specified by:
getChrono in interface ChronoProvider
Returns:
Returns the chrono.

getComputedMax

public int getComputedMax()
Specified by:
getComputedMax in interface Domain

getComputedMin

public int getComputedMin()
Specified by:
getComputedMin in interface Domain

getComputedSize

public int getComputedSize()
Specified by:
getComputedSize in interface Domain

getDepth

public int getDepth()
Specified by:
getDepth in interface DepthProvider
Returns:
Returns the depth.

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface Indexable

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface SolverElement

getMax

public int getMax()
Specified by:
getMax in interface ValueList
Overrides:
getMax in class ValueListImpl
Returns:
Returns the max.

getMin

public int getMin()
Specified by:
getMin in interface ValueList
Overrides:
getMin in class ValueListImpl
Returns:
Returns the min.

getSize

public int getSize()
Specified by:
getSize in interface ValueList
Overrides:
getSize in class ValueListImpl
Returns:
Returns the size.

getSolverType

public byte getSolverType()
Specified by:
getSolverType in interface SolverElement

getVariable

public Variable getVariable()
Specified by:
getVariable in interface Domain

setChrono

public void setChrono(int chrono)
Specified by:
setChrono in interface ChronoProvider
Parameters:
chrono - The chrono to set.

setDepth

public void setDepth(int depth)
Specified by:
setDepth in interface DepthProvider
Parameters:
depth - The depth to set.

setMax

public void setMax(int max)
Specified by:
setMax in interface ValueList
Overrides:
setMax in class ValueListImpl
Parameters:
max - The max to set.

setMin

public void setMin(int min)
Specified by:
setMin in interface ValueList
Overrides:
setMin in class ValueListImpl
Parameters:
min - The min to set.

setSize

public void setSize(int size)
Specified by:
setSize in interface ValueList
Overrides:
setSize in class ValueListImpl
Parameters:
size - The size to set.

setVariable

public void setVariable(Variable variable)
Specified by:
setVariable in interface Domain

getEventType

public java.lang.String getEventType()
Specified by:
getEventType in interface SolverElement

reset

public void reset()
Specified by:
reset in interface Indexable