samples.tutorials.lns.lns
Class AbstractLNSSolver

java.lang.Object
  extended by samples.tutorials.lns.lns.AbstractLNSSolver
All Implemented Interfaces:
IPretty, ISolutionDisplay, IMeasures, IOptimizationMeasures, IPreSolveMeasures, ISearchMeasures, ISolutionMeasures, Solver

Deprecated.

public abstract class AbstractLNSSolver
extends Object
implements Solver

Author:
Sophie Demassey

Field Summary
 
Fields inherited from interface choco.kernel.solver.Solver
DEFAULT_SOLUTION_CHECKER, LOGGER
 
Constructor Summary
AbstractLNSSolver()
          Deprecated.  
 
Method Summary
<MV extends Variable,SV extends Var>
SV[]
_to(MV[] mv, SV[] sv)
          Deprecated.  
<MV extends Variable,SV extends Var>
SV
_to(MV mv, SV sv)
          Deprecated.  
 void addGoal(AbstractIntBranchingStrategy branching)
          Deprecated. Adds a new branching goal to the end of list of goals
 void attachGoal(AbstractIntBranchingStrategy branching)
          Deprecated.  
 boolean checkDecisionVariables()
          Deprecated. Check wether every decisions variables are instantiated
abstract  Boolean checkSolution()
          Deprecated. Solution checker.
 void clear()
          Deprecated. Removes all of the elements from this solver (optional operation).
 void clearGoals()
          Deprecated. Clears the list of goals defined
protected abstract  void clearLNS()
          Deprecated.  
 IntDomainVar createBinTreeIntVar(String name, int[] sortedValues)
          Deprecated.  
 IntDomainVar createBinTreeIntVar(String name, int min, int max)
          Deprecated.  
 IntDomainVar createBooleanVar(String name)
          Deprecated.  
 IntDomainVar createBoundIntVar(String name, int min, int max)
          Deprecated.  
 SetVar createBoundSetVar(String name, int a, int b)
          Deprecated.  
 IntDomainVar createEnumIntVar(String name, int[] sortedValues)
          Deprecated.  
 IntDomainVar createEnumIntVar(String name, int min, int max)
          Deprecated.  
 SetVar createEnumSetVar(String name, int a, int b)
          Deprecated.  
 IntDomainVar createIntegerConstant(String name, int val)
          Deprecated.  
 IntDomainVar createIntVar(String name, int domainType, int min, int max)
          Deprecated.  
 RealConstant createRealConstant(String name, double val)
          Deprecated.  
 RealConstant createRealIntervalConstant(double a, double b)
          Deprecated.  
 RealVar createRealVal(String name, double min, double max)
          Deprecated.  
 SetVar createSetVar(String name, int a, int b, int domainType)
          Deprecated.  
 TaskVar createTaskVar(String name, IntDomainVar start, IntDomainVar end, IntDomainVar duration)
          Deprecated.  
 RealConstant cst(double d)
          Deprecated. Makes a constant interval from a double d ([d,d]).
 RealConstant cst(double a, double b)
          Deprecated. Makes a constant interval between two doubles [a,b].
 SConstraint eq(IntExp x, int c)
          Deprecated.  
 SConstraint eq(IntExp x, IntExp y)
          Deprecated.  
 SConstraint eq(int c, IntExp x)
          Deprecated.  
 SConstraint eq(RealVar r, IntDomainVar i)
          Deprecated.  
 void eraseConstraint(SConstraint c)
          Deprecated.  
abstract  boolean existsSolution()
          Deprecated. indicates if the search find at least one solution.
 void generateSearchStrategy()
          Deprecated.  
 SConstraint geq(IntExp x, int c)
          Deprecated.  
 SConstraint geq(IntExp x, IntExp y)
          Deprecated.  
 SConstraint geq(int c, IntExp x)
          Deprecated.  
abstract  int getBackTrackCount()
          Deprecated. Get the backtrack count of the measure
 Configuration getConfiguration()
          Deprecated. Return the current configuration of the solver
 DisposableIterator<SConstraint> getConstraintIterator()
          Deprecated.  
 SConstraint getCstr(Constraint ic)
          Deprecated.  
abstract  AbstractGlobalSearchLimit getEncounteredLimit()
          Deprecated. If a limit has been encountered, return the involved limit
 IEnvironment getEnvironment()
          Deprecated. Returns the memory environment used by the model.
abstract  int getFailCount()
          Deprecated. Get the fail count of the measure
abstract  boolean getFirstSolution()
          Deprecated.  
 int getHorizon()
          Deprecated. get the scheduling horizon.
 Var getIntConstant(int i)
          Deprecated. Returns the constant corresponding to the int i.
 Collection<Integer> getIntConstantSet()
          Deprecated. Returns the collection of integer constant values
 AbstractIntSConstraint getIntConstraint(int i)
          Deprecated. Network management: Retrieve a constraint by its index.
 DisposableIterator<SConstraint> getIntConstraintIterator()
          Deprecated.  
 IntDomainVar[] getIntDecisionVars()
          Deprecated. get the list of decision integer variables.
 IntDomainVar getIntVar(int i)
          Deprecated. Network management: Retrieve a variable by its index (all integer variables of the model are numbered in sequence from 0 on)
 int getIntVarIndex(IntVar c)
          Deprecated.  
 DisposableIterator<IntDomainVar> getIntVarIterator()
          Deprecated.  
 IntDomainVar getIntVarQuick(int i)
          Deprecated.  
 int getLoggingMaxDepth()
          Deprecated. get the maximal search depth for logging statements
 IntDomainVar getMakespan()
          Deprecated. Get the makespan variable if any
 int getMakespanValue()
          Deprecated. get the makespan value or +inf.
 Model getModel()
          Deprecated.  
 int getNbBooleanVars()
          Deprecated. Returns the number of variables modelling boolean.
 int getNbConstants()
          Deprecated. retrieving the total number of constants
 int getNbIntConstraints()
          Deprecated. retrieving the total number of constraints
 int getNbIntVars()
          Deprecated. retrieving the total number of integer variables
 int getNbRealVars()
          Deprecated. Returns the number of variables modelling real numbers.
 int getNbSetVars()
          Deprecated. Returns the number of variables modelling real numbers.
abstract  int getNbSolutions()
          Deprecated. returns the number of solutions encountered during the search
 int getNbTaskVars()
          Deprecated. Returns the number of variables modelling tasks.
abstract  int getNodeCount()
          Deprecated. Get the node count of the measure
 Var getObjective()
          Deprecated.  
abstract  Number getObjectiveValue()
          Deprecated. Get the best objective value of a solution.
 Number getOptimumValue()
          Deprecated.  
 double getPrecision()
          Deprecated. Get the precision of the search for a real model.
 PropagationEngine getPropagationEngine()
          Deprecated. Returns the propagation engine associated to the model
 Var getRealConstant(double i)
          Deprecated. Returns the constant corresponding to the real i.
 Collection<Double> getRealConstantSet()
          Deprecated. Returns the collection of real constant values
 RealVar[] getRealDecisionVars()
          Deprecated. get the list of decision real variables.
 RealVar getRealVar(int i)
          Deprecated. Returns a real variable.
 DisposableIterator<RealVar> getRealVarIterator()
          Deprecated.  
 RealVar getRealVarQuick(int i)
          Deprecated.  
 double getReduction()
          Deprecated. Get the minimal width reduction between two propagations.
abstract  int getRestartCount()
          Deprecated. Get the restart count of the measure
 AbstractGlobalSearchStrategy getSearchStrategy()
          Deprecated. ****************************************************************************** ******************************************************************************** SPECIFIC CPSolver ******************************************************************************** *******************************************************************************
 SetVar[] getSetDecisionVars()
          Deprecated. get the list of decision set variables.
 SetVar getSetVar(int i)
          Deprecated. Returns a set variable.
 DisposableIterator<SetVar> getSetVarIterator()
          Deprecated.  
 SetVar getSetVarQuick(int i)
          Deprecated.  
abstract  int getSolutionCount()
          Deprecated. Get the solution count of the measure
 TaskVar[] getTaskDecisionVars()
          Deprecated. get the list of decision task variables.
 TaskVar getTaskVar(int i)
          Deprecated. Returns a task variable.
 DisposableIterator<TaskVar> getTaskVarIterator()
          Deprecated.  
 TaskVar getTaskVarQuick(int i)
          Deprecated.  
abstract  int getTimeCount()
          Deprecated. Get the time count in milliseconds of the measure
<MV extends Variable,SV extends Var>
SV[]
getVar(Class<SV> clazz, MV[] mv)
          Deprecated.  
 IntDomainVar[] getVar(IntegerVariable... v)
          Deprecated.  
 IntDomainVar getVar(IntegerVariable v)
          Deprecated.  
<MV extends Variable,SV extends Var>
SV
getVar(MV v)
          Deprecated.  
 RealVar[] getVar(RealVariable... v)
          Deprecated.  
 RealVar getVar(RealVariable v)
          Deprecated.  
 SetVar[] getVar(SetVariable... v)
          Deprecated.  
 SetVar getVar(SetVariable v)
          Deprecated.  
 TaskVar[] getVar(TaskVariable... v)
          Deprecated.  
 TaskVar getVar(TaskVariable v)
          Deprecated.  
 int getWorldIndex()
          Deprecated. returning the index of the current worl
 SConstraint gt(IntExp x, int c)
          Deprecated.  
 SConstraint gt(IntExp x, IntExp y)
          Deprecated.  
 SConstraint gt(int c, IntExp x)
          Deprecated.  
abstract  boolean isEncounteredLimit()
          Deprecated. Checks if a limit has been encountered
abstract  Boolean isFeasible()
          Deprecated.  
abstract  boolean isObjectiveOptimal()
          Deprecated.  
 boolean isOptimizationSolver()
          Deprecated.  
 void launch()
          Deprecated. commands the strategy to start
 SConstraint leq(IntExp x, int c)
          Deprecated.  
 SConstraint leq(IntExp x, IntExp y)
          Deprecated.  
 SConstraint leq(int c, IntExp x)
          Deprecated.  
 SConstraint lt(IntExp x, int c)
          Deprecated.  
 SConstraint lt(IntExp x, IntExp y)
          Deprecated.  
 SConstraint lt(int c, IntExp x)
          Deprecated.  
 BinRelation makeBinRelation(int[] min, int[] max, List<int[]> mat, boolean feas)
          Deprecated.  
 BinRelation makeBinRelation(int[] min, int[] max, List<int[]> mat, boolean feas, boolean bitset)
          Deprecated.  
 LargeRelation makeLargeRelation(int[] min, int[] max, List<int[]> tuples, boolean feas)
          Deprecated.  
 LargeRelation makeLargeRelation(int[] min, int[] max, List<int[]> tuples, boolean feas, int scheme)
          Deprecated.  
 Boolean maximize(boolean restart)
          Deprecated.  
 Boolean maximize(Var obj, boolean restart)
          Deprecated.  
 Boolean minimize(boolean restart)
          Deprecated.  
 Boolean minimize(Var obj, boolean restart)
          Deprecated.  
 void monitorBackTrackLimit(boolean b)
          Deprecated. Monitor the backtrack limit (default to false)
 void monitorFailLimit(boolean b)
          Deprecated. Monitor the fail limit (default to false)
 void monitorNodeLimit(boolean b)
          Deprecated. Monitor the node limit (default to true)
 void monitorTimeLimit(boolean b)
          Deprecated. Monitor the time limit (default to true)
 SConstraint neq(IntExp x, int c)
          Deprecated.  
 SConstraint neq(IntExp x, IntExp y)
          Deprecated.  
 SConstraint neq(int c, IntExp x)
          Deprecated.  
 Boolean nextSolution()
          Deprecated.  
protected abstract  Boolean optimize(boolean maximize, Var obj, boolean restart)
          Deprecated.  
 IntExp plus(IntExp v1, int v2)
          Deprecated.  
 IntExp plus(IntExp v1, IntExp v2)
          Deprecated.  
 IntExp plus(int v1, IntExp v2)
          Deprecated.  
 void post(SConstraint c)
          Deprecated.  
 void postCut(SConstraint c)
          Deprecated.  
abstract  String pretty()
          Deprecated. pretty printing of the object.
abstract  void printRuntimeStatistics()
          Deprecated.  
 void propagate()
          Deprecated. Propagation: Computes consistency on the model (the model may no longer be consistent since the last propagation because of listeners that have been posted and variables that have been reduced
 void read(Model model)
          Deprecated.  
abstract  Solution recordSolution()
          Deprecated. Record a solution by getting every variables' value.
 SConstraint relationTupleAC(IntDomainVar[] vs, LargeRelation rela)
          Deprecated.  
 SConstraint relationTupleAC(IntDomainVar[] vs, LargeRelation rela, int ac)
          Deprecated.  
abstract  void restoreSolution(Solution sol)
          Deprecated. Restore a solution by setting value to every variable
abstract  String runtimeStatistics()
          Deprecated.  
 IntExp scalar(int[] lc, IntDomainVar[] lv)
          Deprecated.  
 IntExp scalar(IntDomainVar[] lv, int[] lc)
          Deprecated.  
abstract  void setBackTrackLimit(int backtracklimit)
          Deprecated. Sets the backtrack limit i.e. the maximal number of backtracks before stopping the search algorithm
 void setCardReasoning(boolean creas)
          Deprecated.  
 void setDoMaximize(boolean doMaximize)
          Deprecated. a boolean indicating if the strategy minize or maximize the objective function
abstract  void setFailLimit(int failLimit)
          Deprecated. Sets the fail limit i.e. the maximal numnber of fails before stopping the search algorithm
 void setFeasible(Boolean b)
          Deprecated.  
abstract  void setFirstSolution(boolean firstSolution)
          Deprecated. Sets wether only the first solution must be found
 void setHorizon(int horizon)
          Deprecated. set the scheduling horizon.
 void setIlogGoal(Goal ilogGoal)
          Deprecated.  
 void setLoggingMaxDepth(int loggingMaxDepth)
          Deprecated. set the maximal search depth for logging statements
 void setModel(Model model)
          Deprecated.  
abstract  void setNodeLimit(int nodeLimit)
          Deprecated. Sets the node limit i.e. the maximal number of nodes explored by the search algorithm
 void setObjective(Var objective)
          Deprecated. Set the variable to optimize
 void setPrecision(double precision)
          Deprecated. Set the precision of the search for a real model.
 void setReduction(double reduction)
          Deprecated. Set the minimal width reduction between two propagations.
 void setRestart(boolean restart)
          Deprecated. set the optimization strategy: - restart or not after each solution found
abstract  void setRestartLimit(int restartLimit)
          Deprecated. Sets the restart limit i.e. the maximal number of restart performed during the search algorithm.
 void setSolutionPoolCapacity(int capacity)
          Deprecated.  
abstract  void setTimeLimit(int timeLimit)
          Deprecated. Sets the time limit i.e. the maximal time before stopping the search algorithm
 void setValIntIterator(ValIterator<IntDomainVar> valIterator)
          Deprecated. Sets the integer value iterator the search should use
 void setValIntSelector(ValSelector<IntDomainVar> valSelector)
          Deprecated. Sets the integer value selector the search should use
 void setValRealIterator(ValIterator<RealVar> realValIterator)
          Deprecated. Sets the real value iterator the search should use
 void setValRealSelector(ValSelector<RealVar> valSelector)
          Deprecated. Sets the integer value selector the search should use
 void setValSetIterator(ValIterator<SetVar> valIterator)
          Deprecated. Sets the integer value iterator the search should use
 void setValSetSelector(ValSelector<SetVar> setValIntSelector)
          Deprecated. Sets the integer value selector the search should use
 void setVarIntSelector(VarSelector<IntDomainVar> varSelector)
          Deprecated. Sets the integer variable selector the search olver should use.
 void setVarRealSelector(VarSelector<RealVar> realVarSelector)
          Deprecated. Sets the real variable selector the search strategy should use.
 void setVarSetSelector(VarSelector<SetVar> setVarIntSelector)
          Deprecated. Sets the set variable selector the search strategy should use.
abstract  String solutionToString()
          Deprecated.  
 Boolean solve()
          Deprecated.  
 Boolean solve(boolean all)
          Deprecated.  
 Boolean solveAll()
          Deprecated.  
 IntExp sum(IntExp... lv)
          Deprecated.  
 void worldPop()
          Deprecated. popping one world from the stack: overrides AbstractModel.worldPop because the Model class adds the notion of static constraints that need be repropagated upon backtracking
 void worldPopDuringPropagation()
          Deprecated. poping the world during propagation
 void worldPopUntil(int n)
          Deprecated. Backtracks to a given level in the search tree.
 void worldPush()
          Deprecated. pushing one world on the stack
 void worldPushDuringPropagation()
          Deprecated. pushing the world during propagation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface choco.kernel.solver.Solver
getIndexfactory, getNbConstraints, getNbVars, setSolutionDisplay
 
Methods inherited from interface choco.kernel.solver.search.measure.IPreSolveMeasures
getInitialPropagationTimeCount, getReadingTimeCount
 

Constructor Detail

AbstractLNSSolver

public AbstractLNSSolver()
Deprecated. 
Method Detail

clear

public void clear()
Deprecated. 
Description copied from interface: Solver
Removes all of the elements from this solver (optional operation). The solver will be 'empty' after this call returns.

Specified by:
clear in interface Solver

clearLNS

protected abstract void clearLNS()
Deprecated. 

getConfiguration

public Configuration getConfiguration()
Deprecated. 
Description copied from interface: Solver
Return the current configuration of the solver

Specified by:
getConfiguration in interface Solver
Returns:
the configuration

getModel

public Model getModel()
Deprecated. 
Specified by:
getModel in interface Solver

setModel

public void setModel(Model model)
Deprecated. 
Specified by:
setModel in interface Solver

read

public void read(Model model)
Deprecated. 
Specified by:
read in interface Solver

solve

public Boolean solve(boolean all)
Deprecated. 
Specified by:
solve in interface Solver

solve

public Boolean solve()
Deprecated. 
Specified by:
solve in interface Solver

solveAll

public Boolean solveAll()
Deprecated. 
Specified by:
solveAll in interface Solver

launch

public void launch()
Deprecated. 
Description copied from interface: Solver
commands the strategy to start

Specified by:
launch in interface Solver

nextSolution

public Boolean nextSolution()
Deprecated. 
Specified by:
nextSolution in interface Solver

optimize

protected abstract Boolean optimize(boolean maximize,
                                    Var obj,
                                    boolean restart)
Deprecated. 

maximize

public Boolean maximize(Var obj,
                        boolean restart)
Deprecated. 
Specified by:
maximize in interface Solver

minimize

public Boolean minimize(Var obj,
                        boolean restart)
Deprecated. 
Specified by:
minimize in interface Solver

maximize

public Boolean maximize(boolean restart)
Deprecated. 
Specified by:
maximize in interface Solver

minimize

public Boolean minimize(boolean restart)
Deprecated. 
Specified by:
minimize in interface Solver

setObjective

public void setObjective(Var objective)
Deprecated. 
Description copied from interface: Solver
Set the variable to optimize

Specified by:
setObjective in interface Solver
Parameters:
objective - variable to optimize

getObjective

public Var getObjective()
Deprecated. 
Specified by:
getObjective in interface Solver

isOptimizationSolver

public boolean isOptimizationSolver()
Deprecated. 
Specified by:
isOptimizationSolver in interface Solver

setFeasible

public void setFeasible(Boolean b)
Deprecated. 
Specified by:
setFeasible in interface Solver

isFeasible

public abstract Boolean isFeasible()
Deprecated. 
Specified by:
isFeasible in interface Solver

isObjectiveOptimal

public abstract boolean isObjectiveOptimal()
Deprecated. 
Specified by:
isObjectiveOptimal in interface IOptimizationMeasures

getObjectiveValue

public abstract Number getObjectiveValue()
Deprecated. 
Description copied from interface: IOptimizationMeasures
Get the best objective value of a solution.

Specified by:
getObjectiveValue in interface IOptimizationMeasures

getOptimumValue

public Number getOptimumValue()
Deprecated. 
Specified by:
getOptimumValue in interface Solver

setSolutionPoolCapacity

public void setSolutionPoolCapacity(int capacity)
Deprecated. 
Specified by:
setSolutionPoolCapacity in interface Solver

checkSolution

public abstract Boolean checkSolution()
Deprecated. 
Description copied from interface: Solver
Solution checker. Usefull for debug and development.

Specified by:
checkSolution in interface Solver
Returns:
a boolean indicating wether the solution is correct or not.

existsSolution

public abstract boolean existsSolution()
Deprecated. 
Description copied from interface: ISolutionMeasures
indicates if the search find at least one solution.

Specified by:
existsSolution in interface ISolutionMeasures

getSolutionCount

public abstract int getSolutionCount()
Deprecated. 
Description copied from interface: ISolutionMeasures
Get the solution count of the measure

Specified by:
getSolutionCount in interface ISearchMeasures
Specified by:
getSolutionCount in interface ISolutionMeasures
Returns:
solution count

recordSolution

public abstract Solution recordSolution()
Deprecated. 
Description copied from interface: Solver
Record a solution by getting every variables' value.

Specified by:
recordSolution in interface Solver
Returns:
the recorded solution

restoreSolution

public abstract void restoreSolution(Solution sol)
Deprecated. 
Description copied from interface: Solver
Restore a solution by setting value to every variable

Specified by:
restoreSolution in interface Solver
Parameters:
sol - solution to restore

getFirstSolution

public abstract boolean getFirstSolution()
Deprecated. 
Specified by:
getFirstSolution in interface Solver
Returns:
true if only the first solution must be found

setFirstSolution

public abstract void setFirstSolution(boolean firstSolution)
Deprecated. 
Description copied from interface: Solver
Sets wether only the first solution must be found

Specified by:
setFirstSolution in interface Solver

getNbSolutions

public abstract int getNbSolutions()
Deprecated. 
Description copied from interface: Solver
returns the number of solutions encountered during the search

Specified by:
getNbSolutions in interface Solver
Returns:
the number of solutions to the model that were encountered during the search

solutionToString

public abstract String solutionToString()
Deprecated. 
Specified by:
solutionToString in interface ISolutionDisplay

isEncounteredLimit

public abstract boolean isEncounteredLimit()
Deprecated. 
Description copied from interface: Solver
Checks if a limit has been encountered

Specified by:
isEncounteredLimit in interface Solver
Returns:
a boolean

getEncounteredLimit

public abstract AbstractGlobalSearchLimit getEncounteredLimit()
Deprecated. 
Description copied from interface: Solver
If a limit has been encountered, return the involved limit

Specified by:
getEncounteredLimit in interface Solver
Returns:
the limit encountered

getTimeCount

public abstract int getTimeCount()
Deprecated. 
Description copied from interface: ISearchMeasures
Get the time count in milliseconds of the measure

Specified by:
getTimeCount in interface ISearchMeasures
Returns:
time count

monitorTimeLimit

public void monitorTimeLimit(boolean b)
Deprecated. 
Description copied from interface: Solver
Monitor the time limit (default to true)

Specified by:
monitorTimeLimit in interface Solver
Parameters:
b - indicates wether the search stategy monitor the time limit

setTimeLimit

public abstract void setTimeLimit(int timeLimit)
Deprecated. 
Description copied from interface: Solver
Sets the time limit i.e. the maximal time before stopping the search algorithm

Specified by:
setTimeLimit in interface Solver

getRestartCount

public abstract int getRestartCount()
Deprecated. 
Description copied from interface: ISearchMeasures
Get the restart count of the measure

Specified by:
getRestartCount in interface ISearchMeasures
Returns:
restart count

monitorNodeLimit

public void monitorNodeLimit(boolean b)
Deprecated. 
Description copied from interface: Solver
Monitor the node limit (default to true)

Specified by:
monitorNodeLimit in interface Solver
Parameters:
b - indicates wether the search stategy monitor the node limit

setRestartLimit

public abstract void setRestartLimit(int restartLimit)
Deprecated. 
Description copied from interface: Solver
Sets the restart limit i.e. the maximal number of restart performed during the search algorithm. The limit does not stop the search only the restart process.

Specified by:
setRestartLimit in interface Solver

getNodeCount

public abstract int getNodeCount()
Deprecated. 
Description copied from interface: ISearchMeasures
Get the node count of the measure

Specified by:
getNodeCount in interface ISearchMeasures
Returns:
node count

setNodeLimit

public abstract void setNodeLimit(int nodeLimit)
Deprecated. 
Description copied from interface: Solver
Sets the node limit i.e. the maximal number of nodes explored by the search algorithm

Specified by:
setNodeLimit in interface Solver

getBackTrackCount

public abstract int getBackTrackCount()
Deprecated. 
Description copied from interface: ISearchMeasures
Get the backtrack count of the measure

Specified by:
getBackTrackCount in interface ISearchMeasures
Returns:
backtrack count

monitorBackTrackLimit

public void monitorBackTrackLimit(boolean b)
Deprecated. 
Description copied from interface: Solver
Monitor the backtrack limit (default to false)

Specified by:
monitorBackTrackLimit in interface Solver
Parameters:
b - indicates wether the search stategy monitor the backtrack limit

setBackTrackLimit

public abstract void setBackTrackLimit(int backtracklimit)
Deprecated. 
Description copied from interface: Solver
Sets the backtrack limit i.e. the maximal number of backtracks before stopping the search algorithm

Specified by:
setBackTrackLimit in interface Solver

getFailCount

public abstract int getFailCount()
Deprecated. 
Description copied from interface: ISearchMeasures
Get the fail count of the measure

Specified by:
getFailCount in interface ISearchMeasures
Returns:
fail count

monitorFailLimit

public void monitorFailLimit(boolean b)
Deprecated. 
Description copied from interface: Solver
Monitor the fail limit (default to false)

Specified by:
monitorFailLimit in interface Solver
Parameters:
b - indicates wether the search stategy monitor the fail limit

setFailLimit

public abstract void setFailLimit(int failLimit)
Deprecated. 
Description copied from interface: Solver
Sets the fail limit i.e. the maximal numnber of fails before stopping the search algorithm

Specified by:
setFailLimit in interface Solver

printRuntimeStatistics

public abstract void printRuntimeStatistics()
Deprecated. 
Specified by:
printRuntimeStatistics in interface Solver

runtimeStatistics

public abstract String runtimeStatistics()
Deprecated. 
Specified by:
runtimeStatistics in interface Solver

pretty

public abstract String pretty()
Deprecated. 
Description copied from interface: IPretty
pretty printing of the object. This String is not constant and may depend on the context.

Specified by:
pretty in interface IPretty
Returns:
a readable string representation of the object

setPrecision

public void setPrecision(double precision)
Deprecated. 
Description copied from interface: Solver
Set the precision of the search for a real model.

Specified by:
setPrecision in interface Solver
Parameters:
precision - the new precision

getPrecision

public double getPrecision()
Deprecated. 
Description copied from interface: Solver
Get the precision of the search for a real model.

Specified by:
getPrecision in interface Solver
Returns:
the actual precision

setReduction

public void setReduction(double reduction)
Deprecated. 
Description copied from interface: Solver
Set the minimal width reduction between two propagations.

Specified by:
setReduction in interface Solver
Parameters:
reduction - new width reduction

getReduction

public double getReduction()
Deprecated. 
Description copied from interface: Solver
Get the minimal width reduction between two propagations.

Specified by:
getReduction in interface Solver
Returns:
width reduction

setRestart

public void setRestart(boolean restart)
Deprecated. 
Description copied from interface: Solver
set the optimization strategy: - restart or not after each solution found

Specified by:
setRestart in interface Solver

setDoMaximize

public void setDoMaximize(boolean doMaximize)
Deprecated. 
Description copied from interface: Solver
a boolean indicating if the strategy minize or maximize the objective function

Specified by:
setDoMaximize in interface Solver

getSearchStrategy

public AbstractGlobalSearchStrategy getSearchStrategy()
Deprecated. 
****************************************************************************** ******************************************************************************** SPECIFIC CPSolver ******************************************************************************** *******************************************************************************

Specified by:
getSearchStrategy in interface Solver

generateSearchStrategy

public void generateSearchStrategy()
Deprecated. 
Specified by:
generateSearchStrategy in interface Solver

attachGoal

public void attachGoal(AbstractIntBranchingStrategy branching)
Deprecated. 
Specified by:
attachGoal in interface Solver

addGoal

public void addGoal(AbstractIntBranchingStrategy branching)
Deprecated. 
Description copied from interface: Solver
Adds a new branching goal to the end of list of goals

Specified by:
addGoal in interface Solver
Parameters:
branching - new goal to add

clearGoals

public void clearGoals()
Deprecated. 
Description copied from interface: Solver
Clears the list of goals defined

Specified by:
clearGoals in interface Solver

setIlogGoal

public void setIlogGoal(Goal ilogGoal)
Deprecated. 
Specified by:
setIlogGoal in interface Solver

setLoggingMaxDepth

public void setLoggingMaxDepth(int loggingMaxDepth)
Deprecated. 
Description copied from interface: Solver
set the maximal search depth for logging statements

Specified by:
setLoggingMaxDepth in interface Solver
See Also:
ChocoLogging

getLoggingMaxDepth

public int getLoggingMaxDepth()
Deprecated. 
Description copied from interface: Solver
get the maximal search depth for logging statements

Specified by:
getLoggingMaxDepth in interface Solver
See Also:
ChocoLogging

worldPush

public void worldPush()
Deprecated. 
Description copied from interface: Solver
pushing one world on the stack

Specified by:
worldPush in interface Solver

worldPop

public void worldPop()
Deprecated. 
Description copied from interface: Solver
popping one world from the stack: overrides AbstractModel.worldPop because the Model class adds the notion of static constraints that need be repropagated upon backtracking

Specified by:
worldPop in interface Solver

worldPopUntil

public void worldPopUntil(int n)
Deprecated. 
Description copied from interface: Solver
Backtracks to a given level in the search tree.

Specified by:
worldPopUntil in interface Solver
Parameters:
n - number of world to pop

worldPushDuringPropagation

public void worldPushDuringPropagation()
Deprecated. 
Description copied from interface: Solver
pushing the world during propagation

Specified by:
worldPushDuringPropagation in interface Solver

worldPopDuringPropagation

public void worldPopDuringPropagation()
Deprecated. 
Description copied from interface: Solver
poping the world during propagation

Specified by:
worldPopDuringPropagation in interface Solver

getWorldIndex

public int getWorldIndex()
Deprecated. 
Description copied from interface: Solver
returning the index of the current worl

Specified by:
getWorldIndex in interface Solver
Returns:
current world index

setVarIntSelector

public void setVarIntSelector(VarSelector<IntDomainVar> varSelector)
Deprecated. 
Description copied from interface: Solver
Sets the integer variable selector the search olver should use.

Specified by:
setVarIntSelector in interface Solver

setVarRealSelector

public void setVarRealSelector(VarSelector<RealVar> realVarSelector)
Deprecated. 
Description copied from interface: Solver
Sets the real variable selector the search strategy should use.

Specified by:
setVarRealSelector in interface Solver

setVarSetSelector

public void setVarSetSelector(VarSelector<SetVar> setVarIntSelector)
Deprecated. 
Description copied from interface: Solver
Sets the set variable selector the search strategy should use.

Specified by:
setVarSetSelector in interface Solver

setValIntIterator

public void setValIntIterator(ValIterator<IntDomainVar> valIterator)
Deprecated. 
Description copied from interface: Solver
Sets the integer value iterator the search should use

Specified by:
setValIntIterator in interface Solver

setValRealIterator

public void setValRealIterator(ValIterator<RealVar> realValIterator)
Deprecated. 
Description copied from interface: Solver
Sets the real value iterator the search should use

Specified by:
setValRealIterator in interface Solver

setValSetIterator

public void setValSetIterator(ValIterator<SetVar> valIterator)
Deprecated. 
Description copied from interface: Solver
Sets the integer value iterator the search should use

Specified by:
setValSetIterator in interface Solver

setValIntSelector

public void setValIntSelector(ValSelector<IntDomainVar> valSelector)
Deprecated. 
Description copied from interface: Solver
Sets the integer value selector the search should use

Specified by:
setValIntSelector in interface Solver

setValRealSelector

public void setValRealSelector(ValSelector<RealVar> valSelector)
Deprecated. 
Description copied from interface: Solver
Sets the integer value selector the search should use

Specified by:
setValRealSelector in interface Solver

setValSetSelector

public void setValSetSelector(ValSelector<SetVar> setValIntSelector)
Deprecated. 
Description copied from interface: Solver
Sets the integer value selector the search should use

Specified by:
setValSetSelector in interface Solver

getIntConstraintIterator

public DisposableIterator<SConstraint> getIntConstraintIterator()
Deprecated. 
Specified by:
getIntConstraintIterator in interface Solver

getConstraintIterator

public DisposableIterator<SConstraint> getConstraintIterator()
Deprecated. 
Specified by:
getConstraintIterator in interface Solver

getIntVarIterator

public DisposableIterator<IntDomainVar> getIntVarIterator()
Deprecated. 
Specified by:
getIntVarIterator in interface Solver

getSetVarIterator

public DisposableIterator<SetVar> getSetVarIterator()
Deprecated. 
Specified by:
getSetVarIterator in interface Solver

getRealVarIterator

public DisposableIterator<RealVar> getRealVarIterator()
Deprecated. 
Specified by:
getRealVarIterator in interface Solver

getTaskVarIterator

public DisposableIterator<TaskVar> getTaskVarIterator()
Deprecated. 
Specified by:
getTaskVarIterator in interface Solver

getPropagationEngine

public PropagationEngine getPropagationEngine()
Deprecated. 
Description copied from interface: Solver
Returns the propagation engine associated to the model

Specified by:
getPropagationEngine in interface Solver

propagate

public void propagate()
               throws ContradictionException
Deprecated. 
Description copied from interface: Solver
Propagation: Computes consistency on the model (the model may no longer be consistent since the last propagation because of listeners that have been posted and variables that have been reduced

Specified by:
propagate in interface Solver
Throws:
ContradictionException

getEnvironment

public IEnvironment getEnvironment()
Deprecated. 
Description copied from interface: Solver
Returns the memory environment used by the model.

Specified by:
getEnvironment in interface Solver
Returns:
memory environment

checkDecisionVariables

public boolean checkDecisionVariables()
Deprecated. 
Description copied from interface: Solver
Check wether every decisions variables are instantiated

Specified by:
checkDecisionVariables in interface Solver
Returns:
true if all variables are instantiated

getIntVar

public IntDomainVar getIntVar(int i)
Deprecated. 
Description copied from interface: Solver
Network management: Retrieve a variable by its index (all integer variables of the model are numbered in sequence from 0 on)

Specified by:
getIntVar in interface Solver
Parameters:
i - index of the variable in the model
Returns:
number of integer variables

getIntVarQuick

public IntDomainVar getIntVarQuick(int i)
Deprecated. 
Specified by:
getIntVarQuick in interface Solver

getIntVarIndex

public int getIntVarIndex(IntVar c)
Deprecated. 
Specified by:
getIntVarIndex in interface Solver

getNbIntVars

public int getNbIntVars()
Deprecated. 
Description copied from interface: Solver
retrieving the total number of integer variables

Specified by:
getNbIntVars in interface Solver
Returns:
the total number of integer variables in the model

getNbConstants

public int getNbConstants()
Deprecated. 
Description copied from interface: Solver
retrieving the total number of constants

Specified by:
getNbConstants in interface Solver
Returns:
the total number of constants in the model

getIntConstant

public Var getIntConstant(int i)
Deprecated. 
Description copied from interface: Solver
Returns the constant corresponding to the int i.

Specified by:
getIntConstant in interface Solver
Parameters:
i - object (value) of the constant represented as an instantiated "variable"
Returns:
the constant corresponding to the object i.

getRealConstant

public Var getRealConstant(double i)
Deprecated. 
Description copied from interface: Solver
Returns the constant corresponding to the real i.

Specified by:
getRealConstant in interface Solver
Parameters:
i - object (value) of the constant represented as an instantiated "variable"
Returns:
the constant corresponding to the object i.

getIntConstantSet

public Collection<Integer> getIntConstantSet()
Deprecated. 
Description copied from interface: Solver
Returns the collection of integer constant values

Specified by:
getIntConstantSet in interface Solver
Returns:
the set of values

getRealConstantSet

public Collection<Double> getRealConstantSet()
Deprecated. 
Description copied from interface: Solver
Returns the collection of real constant values

Specified by:
getRealConstantSet in interface Solver
Returns:
the set of values

getRealVar

public RealVar getRealVar(int i)
Deprecated. 
Description copied from interface: Solver
Returns a real variable.

Specified by:
getRealVar in interface Solver
Parameters:
i - index of the variable
Returns:
the i-th real variable

getRealVarQuick

public RealVar getRealVarQuick(int i)
Deprecated. 
Specified by:
getRealVarQuick in interface Solver

getNbRealVars

public int getNbRealVars()
Deprecated. 
Description copied from interface: Solver
Returns the number of variables modelling real numbers.

Specified by:
getNbRealVars in interface Solver
Returns:
number of real variables

getSetVar

public SetVar getSetVar(int i)
Deprecated. 
Description copied from interface: Solver
Returns a set variable.

Specified by:
getSetVar in interface Solver
Parameters:
i - index of the variable
Returns:
the i-th real variable

getSetVarQuick

public SetVar getSetVarQuick(int i)
Deprecated. 
Specified by:
getSetVarQuick in interface Solver

getNbSetVars

public int getNbSetVars()
Deprecated. 
Description copied from interface: Solver
Returns the number of variables modelling real numbers.

Specified by:
getNbSetVars in interface Solver
Returns:
number of set variables

getTaskVar

public TaskVar getTaskVar(int i)
Deprecated. 
Description copied from interface: Solver
Returns a task variable.

Specified by:
getTaskVar in interface Solver
Parameters:
i - index of the variable
Returns:
the i-th task variable

getTaskVarQuick

public TaskVar getTaskVarQuick(int i)
Deprecated. 
Specified by:
getTaskVarQuick in interface Solver

getNbTaskVars

public int getNbTaskVars()
Deprecated. 
Description copied from interface: Solver
Returns the number of variables modelling tasks.

Specified by:
getNbTaskVars in interface Solver
Returns:
actual number of task vars

getNbBooleanVars

public int getNbBooleanVars()
Deprecated. 
Description copied from interface: Solver
Returns the number of variables modelling boolean.

Specified by:
getNbBooleanVars in interface Solver
Returns:
the number of boolean variables.

getIntDecisionVars

public IntDomainVar[] getIntDecisionVars()
Deprecated. 
Description copied from interface: Solver
get the list of decision integer variables.

Specified by:
getIntDecisionVars in interface Solver
Returns:
an unmodifiable list

getSetDecisionVars

public SetVar[] getSetDecisionVars()
Deprecated. 
Description copied from interface: Solver
get the list of decision set variables.

Specified by:
getSetDecisionVars in interface Solver
Returns:
an unmodifiable list

getRealDecisionVars

public RealVar[] getRealDecisionVars()
Deprecated. 
Description copied from interface: Solver
get the list of decision real variables.

Specified by:
getRealDecisionVars in interface Solver
Returns:
an unmodifiable list

getTaskDecisionVars

public TaskVar[] getTaskDecisionVars()
Deprecated. 
Description copied from interface: Solver
get the list of decision task variables.

Specified by:
getTaskDecisionVars in interface Solver
Returns:
an unmodifiable list

_to

public <MV extends Variable,SV extends Var> SV _to(MV mv,
                                                   SV sv)
Deprecated. 
Specified by:
_to in interface Solver

_to

public <MV extends Variable,SV extends Var> SV[] _to(MV[] mv,
                                                     SV[] sv)
Deprecated. 
Specified by:
_to in interface Solver

getVar

public <MV extends Variable,SV extends Var> SV getVar(MV v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public <MV extends Variable,SV extends Var> SV[] getVar(Class<SV> clazz,
                                                        MV[] mv)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public IntDomainVar getVar(IntegerVariable v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public IntDomainVar[] getVar(IntegerVariable... v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public RealVar getVar(RealVariable v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public RealVar[] getVar(RealVariable... v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public SetVar getVar(SetVariable v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public SetVar[] getVar(SetVariable... v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public TaskVar getVar(TaskVariable v)
Deprecated. 
Specified by:
getVar in interface Solver

getVar

public TaskVar[] getVar(TaskVariable... v)
Deprecated. 
Specified by:
getVar in interface Solver

createIntVar

public IntDomainVar createIntVar(String name,
                                 int domainType,
                                 int min,
                                 int max)
Deprecated. 
Specified by:
createIntVar in interface Solver

createBooleanVar

public IntDomainVar createBooleanVar(String name)
Deprecated. 
Specified by:
createBooleanVar in interface Solver

createEnumIntVar

public IntDomainVar createEnumIntVar(String name,
                                     int min,
                                     int max)
Deprecated. 
Specified by:
createEnumIntVar in interface Solver

createBoundIntVar

public IntDomainVar createBoundIntVar(String name,
                                      int min,
                                      int max)
Deprecated. 
Specified by:
createBoundIntVar in interface Solver

createBinTreeIntVar

public IntDomainVar createBinTreeIntVar(String name,
                                        int min,
                                        int max)
Deprecated. 
Specified by:
createBinTreeIntVar in interface Solver

createEnumIntVar

public IntDomainVar createEnumIntVar(String name,
                                     int[] sortedValues)
Deprecated. 
Specified by:
createEnumIntVar in interface Solver

createBinTreeIntVar

public IntDomainVar createBinTreeIntVar(String name,
                                        int[] sortedValues)
Deprecated. 
Specified by:
createBinTreeIntVar in interface Solver

createRealVal

public RealVar createRealVal(String name,
                             double min,
                             double max)
Deprecated. 
Specified by:
createRealVal in interface Solver

createRealIntervalConstant

public RealConstant createRealIntervalConstant(double a,
                                               double b)
Deprecated. 
Specified by:
createRealIntervalConstant in interface Solver

cst

public RealConstant cst(double d)
Deprecated. 
Description copied from interface: Solver
Makes a constant interval from a double d ([d,d]).

Specified by:
cst in interface Solver
Parameters:
d - double
Returns:
constant interval

cst

public RealConstant cst(double a,
                        double b)
Deprecated. 
Description copied from interface: Solver
Makes a constant interval between two doubles [a,b].

Specified by:
cst in interface Solver
Parameters:
a - lower bound
b - upper bound
Returns:
constant interval

createSetVar

public SetVar createSetVar(String name,
                           int a,
                           int b,
                           int domainType)
Deprecated. 
Specified by:
createSetVar in interface Solver

createBoundSetVar

public SetVar createBoundSetVar(String name,
                                int a,
                                int b)
Deprecated. 
Specified by:
createBoundSetVar in interface Solver

createEnumSetVar

public SetVar createEnumSetVar(String name,
                               int a,
                               int b)
Deprecated. 
Specified by:
createEnumSetVar in interface Solver

createTaskVar

public TaskVar createTaskVar(String name,
                             IntDomainVar start,
                             IntDomainVar end,
                             IntDomainVar duration)
Deprecated. 
Specified by:
createTaskVar in interface Solver

createIntegerConstant

public IntDomainVar createIntegerConstant(String name,
                                          int val)
Deprecated. 
Specified by:
createIntegerConstant in interface Solver

createRealConstant

public RealConstant createRealConstant(String name,
                                       double val)
Deprecated. 
Specified by:
createRealConstant in interface Solver

setCardReasoning

public void setCardReasoning(boolean creas)
Deprecated. 
Specified by:
setCardReasoning in interface Solver

post

public void post(SConstraint c)
Deprecated. 
Specified by:
post in interface Solver

postCut

public void postCut(SConstraint c)
Deprecated. 
Specified by:
postCut in interface Solver

eraseConstraint

public void eraseConstraint(SConstraint c)
Deprecated. 
Specified by:
eraseConstraint in interface Solver

getNbIntConstraints

public int getNbIntConstraints()
Deprecated. 
Description copied from interface: Solver
retrieving the total number of constraints

Specified by:
getNbIntConstraints in interface Solver
Returns:
the total number of constraints in the model

getIntConstraint

public AbstractIntSConstraint getIntConstraint(int i)
Deprecated. 
Description copied from interface: Solver
Network management: Retrieve a constraint by its index.

Specified by:
getIntConstraint in interface Solver
Parameters:
i - index of the constraint in the model
Returns:
the ith constraint

plus

public IntExp plus(IntExp v1,
                   int v2)
Deprecated. 
Specified by:
plus in interface Solver

plus

public IntExp plus(int v1,
                   IntExp v2)
Deprecated. 
Specified by:
plus in interface Solver

plus

public IntExp plus(IntExp v1,
                   IntExp v2)
Deprecated. 
Specified by:
plus in interface Solver

lt

public SConstraint lt(IntExp x,
                      int c)
Deprecated. 
Specified by:
lt in interface Solver

lt

public SConstraint lt(int c,
                      IntExp x)
Deprecated. 
Specified by:
lt in interface Solver

lt

public SConstraint lt(IntExp x,
                      IntExp y)
Deprecated. 
Specified by:
lt in interface Solver

leq

public SConstraint leq(IntExp x,
                       int c)
Deprecated. 
Specified by:
leq in interface Solver

leq

public SConstraint leq(int c,
                       IntExp x)
Deprecated. 
Specified by:
leq in interface Solver

leq

public SConstraint leq(IntExp x,
                       IntExp y)
Deprecated. 
Specified by:
leq in interface Solver

geq

public SConstraint geq(IntExp x,
                       int c)
Deprecated. 
Specified by:
geq in interface Solver

geq

public SConstraint geq(int c,
                       IntExp x)
Deprecated. 
Specified by:
geq in interface Solver

geq

public SConstraint geq(IntExp x,
                       IntExp y)
Deprecated. 
Specified by:
geq in interface Solver

eq

public SConstraint eq(IntExp x,
                      IntExp y)
Deprecated. 
Specified by:
eq in interface Solver

eq

public SConstraint eq(IntExp x,
                      int c)
Deprecated. 
Specified by:
eq in interface Solver

eq

public SConstraint eq(int c,
                      IntExp x)
Deprecated. 
Specified by:
eq in interface Solver

eq

public SConstraint eq(RealVar r,
                      IntDomainVar i)
Deprecated. 
Specified by:
eq in interface Solver

gt

public SConstraint gt(IntExp x,
                      IntExp y)
Deprecated. 
Specified by:
gt in interface Solver

gt

public SConstraint gt(IntExp x,
                      int c)
Deprecated. 
Specified by:
gt in interface Solver

gt

public SConstraint gt(int c,
                      IntExp x)
Deprecated. 
Specified by:
gt in interface Solver

neq

public SConstraint neq(IntExp x,
                       int c)
Deprecated. 
Specified by:
neq in interface Solver

neq

public SConstraint neq(int c,
                       IntExp x)
Deprecated. 
Specified by:
neq in interface Solver

neq

public SConstraint neq(IntExp x,
                       IntExp y)
Deprecated. 
Specified by:
neq in interface Solver

scalar

public IntExp scalar(int[] lc,
                     IntDomainVar[] lv)
Deprecated. 
Specified by:
scalar in interface Solver

scalar

public IntExp scalar(IntDomainVar[] lv,
                     int[] lc)
Deprecated. 
Specified by:
scalar in interface Solver

sum

public IntExp sum(IntExp... lv)
Deprecated. 
Specified by:
sum in interface Solver

getCstr

public SConstraint getCstr(Constraint ic)
Deprecated. 
Specified by:
getCstr in interface Solver

makeLargeRelation

public LargeRelation makeLargeRelation(int[] min,
                                       int[] max,
                                       List<int[]> tuples,
                                       boolean feas)
Deprecated. 
Specified by:
makeLargeRelation in interface Solver

makeLargeRelation

public LargeRelation makeLargeRelation(int[] min,
                                       int[] max,
                                       List<int[]> tuples,
                                       boolean feas,
                                       int scheme)
Deprecated. 
Specified by:
makeLargeRelation in interface Solver

makeBinRelation

public BinRelation makeBinRelation(int[] min,
                                   int[] max,
                                   List<int[]> mat,
                                   boolean feas,
                                   boolean bitset)
Deprecated. 
Specified by:
makeBinRelation in interface Solver

makeBinRelation

public BinRelation makeBinRelation(int[] min,
                                   int[] max,
                                   List<int[]> mat,
                                   boolean feas)
Deprecated. 
Specified by:
makeBinRelation in interface Solver

relationTupleAC

public SConstraint relationTupleAC(IntDomainVar[] vs,
                                   LargeRelation rela)
Deprecated. 
Specified by:
relationTupleAC in interface Solver

relationTupleAC

public SConstraint relationTupleAC(IntDomainVar[] vs,
                                   LargeRelation rela,
                                   int ac)
Deprecated. 
Specified by:
relationTupleAC in interface Solver

setHorizon

public void setHorizon(int horizon)
Deprecated. 
Description copied from interface: Solver
set the scheduling horizon.

Specified by:
setHorizon in interface Solver
Parameters:
horizon - scheduling horizon

getHorizon

public int getHorizon()
Deprecated. 
Description copied from interface: Solver
get the scheduling horizon.

Specified by:
getHorizon in interface Solver

getMakespan

public IntDomainVar getMakespan()
Deprecated. 
Description copied from interface: Solver
Get the makespan variable if any

Specified by:
getMakespan in interface Solver
Returns:
makespan variable

getMakespanValue

public int getMakespanValue()
Deprecated. 
Description copied from interface: Solver
get the makespan value or +inf.

Specified by:
getMakespanValue in interface Solver
Returns:
makespan value


Copyright © 2012. All Rights Reserved.