Uses of Interface
org.chocosolver.util.objects.setDataStructures.ISet
-
-
Uses of ISet in org.chocosolver.solver.constraints.nary.cumulative
Fields in org.chocosolver.solver.constraints.nary.cumulative declared as ISet Modifier and Type Field Description protected ISet
PropCumulative. allTasks
protected ISet
SweepCumulFilter. tasksToUSe
Methods in org.chocosolver.solver.constraints.nary.cumulative with parameters of type ISet Modifier and Type Method Description abstract void
CumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
Filters the cumulative constraint over the subset of tasks induced by tasksvoid
DefaultCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
DisjunctiveTaskIntervalFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
NaiveTimeCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
NRJCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
PropCumulative. filter(ISet tasks)
void
SweepCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
SweepHeiSortCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
void
TimeCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)
protected void
SweepCumulFilter. removeNullDurations(IntVar[] d, ISet tasks)
-
Uses of ISet in org.chocosolver.solver.variables
Methods in org.chocosolver.solver.variables that return ISet Modifier and Type Method Description ISet
SetVar. getLB()
Get SetVar Lower Bound : the set of integers that must belong to every solution (i.e. a subset of all solutions) To iterate over this set, use the following loop: ISet lbSet = getLB(); for(int i : lbSet){ ... } This object is read-only.ISet
SetVar. getUB()
Get SetVar Upper Bound : the set of integers that may belong to a solution (i.e. a superset of all solutions) To iterate over this set, use the following loop: ISet ubSet = getUB(); for(int i : ubSet){ ... } This object is read-only.default ISet
SetVar. getValue()
Retrieves the current value of the variable if instantiated, otherwise the lower bound (kernel). -
Uses of ISet in org.chocosolver.solver.variables.impl
Fields in org.chocosolver.solver.variables.impl declared as ISet Modifier and Type Field Description protected ISet
SetVarImpl. lb
protected ISet
SetVarImpl. lbReadOnly
protected ISet
SetVarImpl. ub
protected ISet
SetVarImpl. ubReadOnly
Methods in org.chocosolver.solver.variables.impl that return ISet Modifier and Type Method Description ISet
SetVarImpl. getLB()
ISet
SetVarImpl. getUB()
Constructors in org.chocosolver.solver.variables.impl with parameters of type ISet Constructor Description SetVarImpl(String name, ISet value, Model model)
Creates a fixed Set variable, equal tovalue
Beware : Use this constructor with caution (domain is directly accessible) value should be created properly and should not be modified afterwardSetVarImpl(String name, ISet lb, ISet ub, Model model)
Creates a set variable, of domain[lb, ub]
Beware : Use this constructor with caution (domain is directly accessible) lb and ub should be created properly (e.g. lb subset of ub) and should not be modified externally Both lb and ub should be backtrackable sets (stored sets): use SetFactory.makeStoredSet to build them -
Uses of ISet in org.chocosolver.util.graphOperations.dominance
Fields in org.chocosolver.util.graphOperations.dominance declared as ISet Modifier and Type Field Description protected ISet[]
AbstractLengauerTarjanDominatorsFinder. preds
protected ISet[]
AbstractLengauerTarjanDominatorsFinder. succs
-
Uses of ISet in org.chocosolver.util.objects.graphs
Methods in org.chocosolver.util.objects.graphs that return ISet Modifier and Type Method Description ISet
UndirectedGraph. getNeighOf(int x)
Get neighbors of node xISet
DirectedGraph. getNodes()
ISet
IGraph. getNodes()
ISet
UndirectedGraph. getNodes()
ISet
DirectedGraph. getPredOf(int x)
Get predecessors of node xISet
DirectedGraph. getPredOrNeighOf(int x)
ISet
IGraph. getPredOrNeighOf(int x)
Get either x's predecessors or neighbors.ISet
UndirectedGraph. getPredOrNeighOf(int x)
ISet
DirectedGraph. getSuccOf(int x)
Get successors of node xISet
DirectedGraph. getSuccOrNeighOf(int x)
ISet
IGraph. getSuccOrNeighOf(int x)
Get either x's successors or neighbors.ISet
UndirectedGraph. getSuccOrNeighOf(int x)
-
Uses of ISet in org.chocosolver.util.objects.setDataStructures
Classes in org.chocosolver.util.objects.setDataStructures that implement ISet Modifier and Type Class Description class
Set_ReadOnly
Generic read-only view of a setclass
StdSet
Generic backtrable set for trailingMethods in org.chocosolver.util.objects.setDataStructures that return ISet Modifier and Type Method Description static ISet
SetFactory. makeBipartiteSet(int offSet)
Creates a set of integers, based on an offseted bipartite set, Supports integers greater or equal thanoffSet
Optimal complexitystatic ISet
SetFactory. makeBitSet(int offSet)
Creates a set of integers, based on an offseted BitSet, Supports integers greater or equal thanoffSet
static ISet
SetFactory. makeConstantSet(int[] cst)
Creates a fixed set of integers, equal tocst
static ISet
SetFactory. makeConstantSet(int lb, int ub)
Creates a constant set of integers represented with an interval [lb, ub]static ISet
SetFactory. makeLinkedList()
Creates a set based on a linked list appropriate when the set has only a few elementsstatic ISet
SetFactory. makeRangeSet()
Creates a set based on an ordered list of rangesstatic ISet
SetFactory. makeSet(SetType type, int offSet)
Creates an empty set of integers greater or equal thanoffSet
static ISet
SetFactory. makeSmallBipartiteSet()
Creates a set of integers, based on an offseted bipartite set, for small sets (arraylist inside to consume less memory)static ISet
SetFactory. makeStoredSet(SetType type, int offSet, Model model)
Creates a stored set of integers greater or equal thanoffSet
Such a set is restored after a backtrackConstructors in org.chocosolver.util.objects.setDataStructures with parameters of type ISet Constructor Description Set_ReadOnly(ISet set)
StdSet(Model model, ISet set)
-
Uses of ISet in org.chocosolver.util.objects.setDataStructures.bitset
Classes in org.chocosolver.util.objects.setDataStructures.bitset that implement ISet Modifier and Type Class Description class
Set_BitSet
BitSet implementation for a set of integers Supports negative numbers when using int... constructorclass
Set_Std_BitSet
BitSet implementation for a set of integers Supports negative numbers if offset is set properly -
Uses of ISet in org.chocosolver.util.objects.setDataStructures.constant
Classes in org.chocosolver.util.objects.setDataStructures.constant that implement ISet Modifier and Type Class Description class
Set_CstInterval
Constant Interval set of the form [min, max] BEWARE: Cannot add/remove elementsclass
Set_FixedArray
Fixed array of integers (cannot add nor remove items) -
Uses of ISet in org.chocosolver.util.objects.setDataStructures.iterable
Subinterfaces of ISet in org.chocosolver.util.objects.setDataStructures.iterable Modifier and Type Interface Description interface
IntIterableSet
An interface to store a set of values, to be used withIntVar.removeValues(IntIterableSet, org.chocosolver.solver.ICause)
andIntVar.removeAllValuesBut(IntIterableSet, org.chocosolver.solver.ICause)
Created by cprudhom on 09/07/15.Classes in org.chocosolver.util.objects.setDataStructures.iterable that implement ISet Modifier and Type Class Description class
IntIterableBitSet
An IntIterableBitSet based on a BitSet Created by cprudhom on 09/07/15.class
IntIterableRangeSet
Concrete implementation ofIntIterableSet
wherein values are stored in range set. -
Uses of ISet in org.chocosolver.util.objects.setDataStructures.linkedlist
Classes in org.chocosolver.util.objects.setDataStructures.linkedlist that implement ISet Modifier and Type Class Description class
Set_LinkedList
LinkedList of m elements add : O(1) testPresence: O(m) remove: O(m) iteration : O(m) Created by IntelliJ IDEA. -
Uses of ISet in org.chocosolver.util.objects.setDataStructures.swapList
Classes in org.chocosolver.util.objects.setDataStructures.swapList that implement ISet Modifier and Type Class Description class
Set_Std_Swap
Set of integers based on BipartiteSet implementation BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCH (add only or remove only) add : O(1) testPresence: O(1) remove: O(1) iteration : O(m)class
Set_Std_Swap2
Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCHclass
Set_Swap
Bipartite set of integers: add : O(1) contain: O(1) remove: O(1) iteration : O(m)class
Set_Swap2
Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCH
-