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 ISetPropCumulative. allTasksprotected ISetSweepCumulFilter. tasksToUSeMethods in org.chocosolver.solver.constraints.nary.cumulative with parameters of type ISet Modifier and Type Method Description abstract voidCumulFilter. 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 tasksvoidDefaultCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidDisjunctiveTaskIntervalFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidNaiveTimeCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidNRJCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidPropCumulative. filter(ISet tasks)voidSweepCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidSweepHeiSortCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)voidTimeCumulFilter. filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause)protected voidSweepCumulFilter. 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 ISetSetVar. 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.ISetSetVar. 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 ISetSetVar. 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 ISetSetVarImpl. lbprotected ISetSetVarImpl. lbReadOnlyprotected ISetSetVarImpl. ubprotected ISetSetVarImpl. ubReadOnlyMethods in org.chocosolver.solver.variables.impl that return ISet Modifier and Type Method Description ISetSetVarImpl. getLB()ISetSetVarImpl. 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 tovalueBeware : 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. predsprotected 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 ISetUndirectedGraph. getNeighOf(int x)Get neighbors of node xISetDirectedGraph. getNodes()ISetIGraph. getNodes()ISetUndirectedGraph. getNodes()ISetDirectedGraph. getPredOf(int x)Get predecessors of node xISetDirectedGraph. getPredOrNeighOf(int x)ISetIGraph. getPredOrNeighOf(int x)Get either x's predecessors or neighbors.ISetUndirectedGraph. getPredOrNeighOf(int x)ISetDirectedGraph. getSuccOf(int x)Get successors of node xISetDirectedGraph. getSuccOrNeighOf(int x)ISetIGraph. getSuccOrNeighOf(int x)Get either x's successors or neighbors.ISetUndirectedGraph. 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 classSet_ReadOnlyGeneric read-only view of a setclassStdSetGeneric backtrable set for trailingMethods in org.chocosolver.util.objects.setDataStructures that return ISet Modifier and Type Method Description static ISetSetFactory. makeBipartiteSet(int offSet)Creates a set of integers, based on an offseted bipartite set, Supports integers greater or equal thanoffSetOptimal complexitystatic ISetSetFactory. makeBitSet(int offSet)Creates a set of integers, based on an offseted BitSet, Supports integers greater or equal thanoffSetstatic ISetSetFactory. makeConstantSet(int[] cst)Creates a fixed set of integers, equal tocststatic ISetSetFactory. makeConstantSet(int lb, int ub)Creates a constant set of integers represented with an interval [lb, ub]static ISetSetFactory. makeLinkedList()Creates a set based on a linked list appropriate when the set has only a few elementsstatic ISetSetFactory. makeRangeSet()Creates a set based on an ordered list of rangesstatic ISetSetFactory. makeSet(SetType type, int offSet)Creates an empty set of integers greater or equal thanoffSetstatic ISetSetFactory. makeSmallBipartiteSet()Creates a set of integers, based on an offseted bipartite set, for small sets (arraylist inside to consume less memory)static ISetSetFactory. makeStoredSet(SetType type, int offSet, Model model)Creates a stored set of integers greater or equal thanoffSetSuch 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 classSet_BitSetBitSet implementation for a set of integers Supports negative numbers when using int... constructorclassSet_Std_BitSetBitSet 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 classSet_CstIntervalConstant Interval set of the form [min, max] BEWARE: Cannot add/remove elementsclassSet_FixedArrayFixed 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 interfaceIntIterableSetAn 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 classIntIterableBitSetAn IntIterableBitSet based on a BitSet Created by cprudhom on 09/07/15.classIntIterableRangeSetConcret implementation ofIntIterableSetwherein 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 classSet_LinkedListLinkedList 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 classSet_Std_SwapSet 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)classSet_Std_Swap2Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCHclassSet_SwapBipartite set of integers: add : O(1) contain: O(1) remove: O(1) iteration : O(m)classSet_Swap2Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCH
-