choco
Class DeprecatedChoco

java.lang.Object
  extended by choco.Choco
      extended by choco.DeprecatedChoco

public class DeprecatedChoco
extends Choco

Created by IntelliJ IDEA. User: charles Date: 6 août 2008 Time: 16:08:55 This class must contain every deprecated method of the Choco class. The idea is that we can easily unbranch deprecated method to update tests.


Field Summary
 
Fields inherited from class choco.Choco
FALSE, LOGGER, MAX_UPPER_BOUND, MIN_LOWER_BOUND, ONE, TRUE, ZERO
 
Method Summary
 RealConstantVariable around(double d)
          Deprecated. 
static RealConstantVariable constant(String name, double value)
          Deprecated. 
static SetVariable constant(String name, int... value)
          Deprecated. 
static IntegerConstantVariable constant(String name, int value)
          Deprecated. 
 RealConstantVariable cst(double d)
          Deprecated. 
 RealConstantVariable cst(double a, double b)
          Deprecated. 
static Constraint cumulative(IntegerVariable[] starts, IntegerVariable[] ends, IntegerVariable[] durations, int[] heights, int capa, String... options)
          Deprecated. 
static Constraint cumulative(IntegerVariable[] starts, IntegerVariable[] ends, IntegerVariable[] durations, IntegerVariable[] heights, IntegerVariable capa, String... options)
          Deprecated. 
static Constraint cumulative(IntegerVariable[] starts, IntegerVariable[] durations, IntegerVariable[] heights, IntegerVariable capa, String... options)
          Deprecated. 
static Constraint cumulative(String name, IntegerVariable[] starts, IntegerVariable[] ends, IntegerVariable[] durations, IntegerVariable[] heights, IntegerVariable capa, String... options)
          Deprecated. 
static Constraint cumulative(String name, TaskVariable[] tasks, IntegerVariable[] heights, IntegerVariable capa, String... options)
          Deprecated. 
static Constraint cumulative(TaskVariable[] tasks, int[] heights, int capa, String... options)
          Deprecated. 
static Constraint disjunctive(IntegerVariable[] starts, int[] durations, String... options)
          Deprecated. 
static Constraint disjunctive(IntegerVariable[] starts, IntegerVariable[] ends, IntegerVariable[] durations, String... options)
          Deprecated. 
static Constraint disjunctive(IntegerVariable[] starts, IntegerVariable[] durations, String... options)
          Deprecated. 
static Constraint disjunctive(String name, IntegerVariable[] starts, IntegerVariable[] ends, IntegerVariable[] durations, IntegerVariable uppBound, String... options)
          Deprecated. 
static IntegerVariable makeBinTreeIntVar(String name, ArrayList<Integer> values)
          Create a binary tree domain for integer variable
static IntegerVariable makeBinTreeIntVar(String name, int[] values)
          Create a binary tree domain for integer variable
static IntegerVariable makeBinTreeIntVar(String name, int binf, int bsup)
          Create a binary tree domain for integer variable
static IntegerVariable[] makeBinTreeIntVarArray(String name, int size, int binf, int bsup)
          Create an array of integer variable with a binary tree domain
static IntegerVariable[][] makeBinTreeIntVarArray(String name, int dim, int dim2, int binf, int bsup)
          Create an double array of integer variable with a binary tree domain
static IntegerVariable makeBoundIntVar(String name, int binf, int bsup)
          Deprecated. 
static IntegerVariable[] makeBoundIntVarArray(String name, int size, int binf, int bsup)
          Deprecated. 
static IntegerVariable[][] makeBoundIntVarArray(String name, int dim1, int dim2, int binf, int bsup)
          Deprecated. 
static SetVariable makeBoundSetVar(String name, int binf, int bsup)
          Deprecated. 
static SetVariable[] makeBoundSetVarArray(String name, int n, int binf, int bsup)
          Deprecated. 
static SetVariable makeConstantSetVar(String name, int... value)
          Deprecated. 
static RealConstantVariable makeConstantVar(String name, double value)
          Deprecated. 
static IntegerConstantVariable makeConstantVar(String name, int value)
          Deprecated. 
static IntegerVariable makeEnumIntVar(String name, ArrayList<Integer> values)
          Creates a new search variable with an enumerated domain
static IntegerVariable makeEnumIntVar(String name, int[] values)
          Creates a new search variable with an enumerated domain
static IntegerVariable makeEnumIntVar(String name, int binf, int bsup)
          Deprecated. 
static IntegerVariable[] makeEnumIntVarArray(String name, int size, int binf, int bsup)
          Deprecated. 
static IntegerVariable[][] makeEnumIntVarArray(String name, int dim, int dim2, int binf, int bsup)
          Deprecated. 
static SetVariable makeEnumSetVar(String name, int binf, int bsup)
          Deprecated. 
static SetVariable[] makeEnumSetVarArray(String name, int n, int binf, int bsup)
          Deprecated. 
static IntegerVariable makeIntVar(String name, VariableType type, int binf, int bsup)
          Deprecated. 
protected static IntegerVariable[] makeIntVarArray(String name, VariableType type, int n, int binf, int bsup)
          Deprecated. 
protected static IntegerVariable[][] makeIntVarArray(String name, VariableType type, int n, int m, int binf, int bsup)
          Deprecated. 
static IntegerVariable makeLinkedListIntVar(String name, int[] values)
          Deprecated. 
static IntegerVariable makeLinkedListIntVar(String name, int binf, int bsup)
          Deprecated. 
static SetVariable[] makeSetVarArray(String name, int n, int binf, int bsup)
          Deprecated. 
static Constraint occurenceMax(int value, IntegerVariable occurence, IntegerVariable... vars)
          Deprecated. 
static Constraint occurenceMin(int value, IntegerVariable occurence, IntegerVariable... vars)
          Deprecated. 
static Constraint preceding(IntegerVariable v1, int dur1, IntegerVariable v2, int dur2, IntegerVariable bool)
          Deprecated. 
static Constraint preceding(TaskVariable t1, TaskVariable t2)
          Deprecated. 
static Constraint preceding(TaskVariable t1, TaskVariable t2, IntegerVariable direction)
          Deprecated. 
 
Methods inherited from class choco.Choco
abs, abs, allDifferent, allDifferent, among, among, among, and, and, atMostNValue, atMostNValue, boolChanneling, clause, clause, clauses, clauses, complementSet, constant, constant, constant, constantArray, constantArray, constantArray, cos, costRegular, costRegular, costRegular, costRegular, costRegular, costRegular, cumulative, cumulative, cumulative, cumulativeMax, cumulativeMax, cumulativeMax, cumulativeMin, cumulativeMin, cumulativeMin, disjoint, disjoint, disjunctive, disjunctive, disjunctive, disjunctive, disjunctive, distanceEQ, distanceEQ, distanceEQ, distanceGT, distanceGT, distanceGT, distanceLT, distanceLT, distanceLT, distanceNEQ, div, div, div, domainChanneling, domainConstraint, emptySet, endsAfter, endsAfterBegin, endsAfterBegin, endsAfterEnd, endsAfterEnd, endsAt, endsBefore, endsBeforeBegin, endsBeforeBegin, endsBeforeEnd, endsBeforeEnd, endsBetween, eq, eq, eq, eq, eq, eq, eq, eq, eq, eqCard, eqCard, equation, equation, equation, equation, equation, exactly, feasPairAC, feasPairAC, feasPairAC, feasPairAC, feasTupleAC, feasTupleAC, feasTupleFC, forbiddenIntervals, geost, geost, geost, geost, geost, geost, geq, geq, geq, geq, geq, geq, geqCard, geqCard, globalCardinality, globalCardinality, globalCardinality, globalCardinality, globalCardinality, globalCardinality, globalCardinality, globalCardinality, gt, gt, gt, ifOnlyIf, ifThenElse, ifThenElse, implies, increasing_nvalue, increasing_nvalue, increasingNValue, increasingNValue, increasingSum, infeasPairAC, infeasPairAC, infeasPairAC, infeasPairAC, infeasTupleAC, infeasTupleAC, infeasTupleFC, intDiv, inverseChanneling, inverseChannelingWithinRange, inverseSet, inverseSet, isIncluded, isNotIncluded, knapsackProblem, knapsackProblem, leq, leq, leq, leq, leq, leq, leqCard, leqCard, lex, lexChain, lexChainEq, lexeq, lexEq, leximin, leximin, lt, lt, lt, makeBinRelation, makeBinRelation, makeBinRelation, makeBinRelation, makeBooleanVar, makeBooleanVarArray, makeIntVar, makeIntVar, makeIntVar, makeIntVar, makeIntVar, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeIntVarArray, makeLargeRelation, makeLargeRelation, makeRealVar, makeSetVar, makeSetVar, makeSetVarArray, makeTaskVar, makeTaskVar, makeTaskVar, makeTaskVar, makeTaskVar, makeTaskVar, makeTaskVarArray, makeTaskVarArray, makeTaskVarArray, makeTaskVarArray, makeTaskVarArray, makeTaskVarArray, max, max, max, max, max, max, max, max, max, member, member, member, member, member, member, member, min, min, min, min, min, min, min, min, min, minus, minus, minus, minus, minus, minus, mod, mod, mod, mod, mult, mult, mult, mult, mult, mult, multiCostRegular, multiCostRegular, multiCostRegular, nand, nand, neg, neq, neq, neq, neq, neqCard, neqCard, nor, nor, not, notMember, notMember, notMember, notMember, notMember, notMember, nth, nth, nth, nth, nth, nth, nth, nth, nth, occurrence, occurrence, occurrence, occurrenceMax, occurrenceMax, occurrenceMin, occurrenceMin, oppositeSign, or, or, pack, pack, plus, plus, plus, plus, plus, plus, power, power, power, power, precedence, precedence, precedenceDisjoint, precedenceDisjoint, precedenceDisjoint, precedenceImplied, precedenceImplied, precedenceReified, precedenceReified, regular, regular, regular, regular, regular, regular, regular, regular, reifiedAnd, reifiedConstraint, reifiedConstraint, reifiedIntConstraint, reifiedIntConstraint, reifiedLeftImp, reifiedNand, reifiedNor, reifiedNot, reifiedOr, reifiedRightImp, reifiedXnor, reifiedXor, relationPairAC, relationPairAC, relationTupleAC, relationTupleAC, relationTupleFC, sameSign, scalar, scalar, setDisjoint, setInter, setLex, setUnion, setUnion, setValuePrecede, sin, softMultiCostRegular, softMultiCostRegular, sorting, startsAfter, startsAfterBegin, startsAfterBegin, startsAfterEnd, startsAfterEnd, startsAt, startsBefore, startsBeforeBegin, startsBeforeBegin, startsBeforeEnd, startsBeforeEnd, startsBetween, stretchPath, sum, times, times, times, timeWindow, tree, xnor, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeIntVar

@Deprecated
public static IntegerVariable makeIntVar(String name,
                                                    VariableType type,
                                                    int binf,
                                                    int bsup)
Deprecated. 


makeIntVarArray

@Deprecated
protected static IntegerVariable[] makeIntVarArray(String name,
                                                              VariableType type,
                                                              int n,
                                                              int binf,
                                                              int bsup)
Deprecated. 


makeIntVarArray

@Deprecated
protected static IntegerVariable[][] makeIntVarArray(String name,
                                                                VariableType type,
                                                                int n,
                                                                int m,
                                                                int binf,
                                                                int bsup)
Deprecated. 


makeEnumIntVar

@Deprecated
public static IntegerVariable makeEnumIntVar(String name,
                                                        int binf,
                                                        int bsup)
Deprecated. 


makeEnumIntVar

public static IntegerVariable makeEnumIntVar(String name,
                                             int[] values)
Creates a new search variable with an enumerated domain

Parameters:
name - the name of the variable
values - allowed in the domain (may be unsorted, but not with duplicates !)
Returns:
the variable

makeEnumIntVar

public static IntegerVariable makeEnumIntVar(String name,
                                             ArrayList<Integer> values)
Creates a new search variable with an enumerated domain

Parameters:
name - the name of the variable
values - allowed in the domain (may be unsorted, but not with duplicates !)
Returns:
the variable

makeEnumIntVarArray

@Deprecated
public static IntegerVariable[] makeEnumIntVarArray(String name,
                                                               int size,
                                                               int binf,
                                                               int bsup)
Deprecated. 


makeEnumIntVarArray

@Deprecated
public static IntegerVariable[][] makeEnumIntVarArray(String name,
                                                                 int dim,
                                                                 int dim2,
                                                                 int binf,
                                                                 int bsup)
Deprecated. 


makeBinTreeIntVar

public static IntegerVariable makeBinTreeIntVar(String name,
                                                int binf,
                                                int bsup)
Create a binary tree domain for integer variable

Parameters:
name - the name of the variable
binf - the lower bound of the variable
bsup - the upper bound of the variables
Returns:
an IntegerVariable object

makeBinTreeIntVar

public static IntegerVariable makeBinTreeIntVar(String name,
                                                int[] values)
Create a binary tree domain for integer variable

Parameters:
name - the name of the variable
values - array of allowed values
Returns:
an IntegerVariable object

makeBinTreeIntVar

public static IntegerVariable makeBinTreeIntVar(String name,
                                                ArrayList<Integer> values)
Create a binary tree domain for integer variable

Parameters:
name - the name of the variable
values - list of allowed values
Returns:
an IntegerVariable object

makeBinTreeIntVarArray

public static IntegerVariable[] makeBinTreeIntVarArray(String name,
                                                       int size,
                                                       int binf,
                                                       int bsup)
Create an array of integer variable with a binary tree domain

Parameters:
name - the name of the variable
size - size of the array
binf - the lower bound of every variable
bsup - the upper bound of every variables
Returns:
an IntegerVariable array

makeBinTreeIntVarArray

public static IntegerVariable[][] makeBinTreeIntVarArray(String name,
                                                         int dim,
                                                         int dim2,
                                                         int binf,
                                                         int bsup)
Create an double array of integer variable with a binary tree domain

Parameters:
name - the name of the variable
dim - size of the array
dim2 - size of the array
binf - the lower bound of every variable
bsup - the upper bound of every variables
Returns:
an IntegerVariable array

makeBoundIntVar

@Deprecated
public static IntegerVariable makeBoundIntVar(String name,
                                                         int binf,
                                                         int bsup)
Deprecated. 

INTEGER_BOUNDED


makeBoundIntVarArray

@Deprecated
public static IntegerVariable[] makeBoundIntVarArray(String name,
                                                                int size,
                                                                int binf,
                                                                int bsup)
Deprecated. 


makeBoundIntVarArray

@Deprecated
public static IntegerVariable[][] makeBoundIntVarArray(String name,
                                                                  int dim1,
                                                                  int dim2,
                                                                  int binf,
                                                                  int bsup)
Deprecated. 


makeLinkedListIntVar

@Deprecated
public static IntegerVariable makeLinkedListIntVar(String name,
                                                              int binf,
                                                              int bsup)
Deprecated. 


makeLinkedListIntVar

@Deprecated
public static IntegerVariable makeLinkedListIntVar(String name,
                                                              int[] values)
Deprecated. 


around

@Deprecated
public RealConstantVariable around(double d)
Deprecated. 

Arounds a double d to [d - epsilon, d + epilon].


cst

@Deprecated
public RealConstantVariable cst(double d)
Deprecated. 

Makes a constant interval from a double d ([d,d]).


cst

@Deprecated
public RealConstantVariable cst(double a,
                                           double b)
Deprecated. 

Makes a constant interval between two doubles [a,b].


preceding

@Deprecated
public static Constraint preceding(TaskVariable t1,
                                              TaskVariable t2)
Deprecated. 

See Also:
Choco#precedence(TaskVariable, TaskVariable)}

preceding

@Deprecated
public static Constraint preceding(IntegerVariable v1,
                                              int dur1,
                                              IntegerVariable v2,
                                              int dur2,
                                              IntegerVariable bool)
Deprecated. 

See Also:
Choco#precedenceDisjoint(IntegerVariable, int, IntegerVariable, int, IntegerVariable)}

preceding

@Deprecated
public static Constraint preceding(TaskVariable t1,
                                              TaskVariable t2,
                                              IntegerVariable direction)
Deprecated. 

See Also:
Choco#precedenceDisjoint(TaskVariable, TaskVariable, IntegerVariable)}

cumulative

@Deprecated
public static Constraint cumulative(String name,
                                               TaskVariable[] tasks,
                                               IntegerVariable[] heights,
                                               IntegerVariable capa,
                                               String... options)
Deprecated. 


cumulative

@Deprecated
public static Constraint cumulative(TaskVariable[] tasks,
                                               int[] heights,
                                               int capa,
                                               String... options)
Deprecated. 


cumulative

@Deprecated
public static Constraint cumulative(String name,
                                               IntegerVariable[] starts,
                                               IntegerVariable[] ends,
                                               IntegerVariable[] durations,
                                               IntegerVariable[] heights,
                                               IntegerVariable capa,
                                               String... options)
Deprecated. 


cumulative

@Deprecated
public static Constraint cumulative(IntegerVariable[] starts,
                                               IntegerVariable[] ends,
                                               IntegerVariable[] durations,
                                               IntegerVariable[] heights,
                                               IntegerVariable capa,
                                               String... options)
Deprecated. 


cumulative

@Deprecated
public static Constraint cumulative(IntegerVariable[] starts,
                                               IntegerVariable[] ends,
                                               IntegerVariable[] durations,
                                               int[] heights,
                                               int capa,
                                               String... options)
Deprecated. 


cumulative

@Deprecated
public static Constraint cumulative(IntegerVariable[] starts,
                                               IntegerVariable[] durations,
                                               IntegerVariable[] heights,
                                               IntegerVariable capa,
                                               String... options)
Deprecated. 


disjunctive

@Deprecated
public static Constraint disjunctive(IntegerVariable[] starts,
                                                int[] durations,
                                                String... options)
Deprecated. 

Returns a disjunctive constraint

Parameters:
starts - to schedule
durations - of each task
options - options of the variable
Returns:
the disjunctive constraint

disjunctive

@Deprecated
public static Constraint disjunctive(IntegerVariable[] starts,
                                                IntegerVariable[] durations,
                                                String... options)
Deprecated. 


disjunctive

@Deprecated
public static Constraint disjunctive(IntegerVariable[] starts,
                                                IntegerVariable[] ends,
                                                IntegerVariable[] durations,
                                                String... options)
Deprecated. 


disjunctive

@Deprecated
public static Constraint disjunctive(String name,
                                                IntegerVariable[] starts,
                                                IntegerVariable[] ends,
                                                IntegerVariable[] durations,
                                                IntegerVariable uppBound,
                                                String... options)
Deprecated. 


makeSetVarArray

@Deprecated
public static SetVariable[] makeSetVarArray(String name,
                                                       int n,
                                                       int binf,
                                                       int bsup)
Deprecated. 

SET


makeBoundSetVar

@Deprecated
public static SetVariable makeBoundSetVar(String name,
                                                     int binf,
                                                     int bsup)
Deprecated. 


makeBoundSetVarArray

@Deprecated
public static SetVariable[] makeBoundSetVarArray(String name,
                                                            int n,
                                                            int binf,
                                                            int bsup)
Deprecated. 


makeEnumSetVar

@Deprecated
public static SetVariable makeEnumSetVar(String name,
                                                    int binf,
                                                    int bsup)
Deprecated. 


makeEnumSetVarArray

@Deprecated
public static SetVariable[] makeEnumSetVarArray(String name,
                                                           int n,
                                                           int binf,
                                                           int bsup)
Deprecated. 


occurenceMin

@Deprecated
public static Constraint occurenceMin(int value,
                                                 IntegerVariable occurence,
                                                 IntegerVariable... vars)
Deprecated. 

Ensures that the lower bound of occurrence is at least equal to the number of occurences size{forall v in vars | v = value} <= occurence

See Also:
Choco.occurrenceMin(int, choco.kernel.model.variables.integer.IntegerVariable, choco.kernel.model.variables.integer.IntegerVariable[])

occurenceMax

@Deprecated
public static Constraint occurenceMax(int value,
                                                 IntegerVariable occurence,
                                                 IntegerVariable... vars)
Deprecated. 

Ensures that the upper bound of occurrence is at most equal to the number of occurences size{forall v in vars | v = value} >= occurence

See Also:
Choco.occurrenceMax(int, choco.kernel.model.variables.integer.IntegerVariable, choco.kernel.model.variables.integer.IntegerVariable[])

makeConstantSetVar

@Deprecated
public static SetVariable makeConstantSetVar(String name,
                                                        int... value)
Deprecated. 


makeConstantVar

@Deprecated
public static RealConstantVariable makeConstantVar(String name,
                                                              double value)
Deprecated. 


makeConstantVar

@Deprecated
public static IntegerConstantVariable makeConstantVar(String name,
                                                                 int value)
Deprecated. 


constant

@Deprecated
public static SetVariable constant(String name,
                                              int... value)
Deprecated. 


constant

@Deprecated
public static RealConstantVariable constant(String name,
                                                       double value)
Deprecated. 


constant

@Deprecated
public static IntegerConstantVariable constant(String name,
                                                          int value)
Deprecated. 



Copyright © 2012. All Rights Reserved.