MCPcopy Create free account

hub / github.com/aia-uclouvain/maxicp / functions

Functions3,827 in github.com/aia-uclouvain/maxicp

↓ 16 callersMethoddefaults
()
src/main/java/org/maxicp/search/blackbox/BlackBoxSearch.java:111
↓ 16 callersMethodelement
Returns a variable representing the value in an array at the position specified by the given index variable This relation is enforced by the {@link El
src/main/java/org/maxicp/cp/CPFactory.java:1160
↓ 16 callersMethodisActive
Returns the active status of the constraint. @return the last setValue passed to {{@link #setActive(boolean)} in this state frame {@link State
src/main/java/org/maxicp/cp/engine/core/CPConstraint.java:65
↓ 16 callersMethodisFixed
True if the expression is fixed
src/main/java/org/maxicp/modeling/algebra/Expression.java:45
↓ 16 callersMethodmakeStateRef
Creates a Stateful reference (restorable) @param initValue the initial setValue @return a State object wrapping the initValue
src/main/java/org/maxicp/state/StateManager.java:62
↓ 16 callersMethodremove
Removes the given value from the set. @param val the value to remove. @return true if val was in the set, false otherwise
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:258
↓ 16 callersMethodstatus
()
src/main/java/org/maxicp/modeling/IntervalVar.java:25
↓ 15 callersMethodendOr
Returns a CPIntVar that is equal to the end of interval if it is present, or equal to val if interval is absent @param interval the interval variable
src/main/java/org/maxicp/cp/CPFactory.java:1665
↓ 15 callersMethodinScope
Returns whether the interval var given in parameter contributes to the cumul function @param interval an {@link IntervalVar} @return a boolean that in
src/main/java/org/maxicp/modeling/algebra/scheduling/CumulFunction.java:44
↓ 15 callersMethodinScope
(IntervalVar interval)
src/main/java/org/maxicp/cp/engine/constraints/scheduling/CPCumulFunction.java:35
↓ 15 callersMethodmemberBefore
Returns the member preceding another member in the sequence. @param node member within the sequence. @return member preceding the given node in the s
src/main/java/org/maxicp/cp/engine/core/CPSeqVar.java:114
↓ 15 callersMethodnot
A boolean variable that is a view of {@code !b}. @param b a boolean variable @return a boolean variable that is a view of {@code !b}
src/main/java/org/maxicp/cp/CPFactory.java:1099
↓ 15 callersMethodsolve
Start the solving process @return an object with the statistics on the search
src/main/java/org/maxicp/search/SearchMethod.java:54
↓ 14 callersMethodexclude
Excludes a value from the set variable. throws an InconsistencyException if the value is already included in the set. calls the propagate method of th
src/main/java/org/maxicp/cp/engine/core/CPSetVarImpl.java:62
↓ 14 callersMethodge
Returns a constraint imposing that the variable is larger or equal to some given value. @param x the variable that is constrained bo be larger or equ
src/main/java/org/maxicp/cp/CPFactory.java:790
↓ 14 callersMethodgetEct
The earliest completion time of the activities present in the theta-tree @return the earliest completion time of the activities present in the theta-t
src/main/java/org/maxicp/cp/engine/constraints/scheduling/ThetaTree.java:100
↓ 14 callersMethodgetStartMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:23
↓ 14 callersMethodisEq
Returns a boolean variable representing whether one variable is equal to the given constant. This relation is enforced by the {@link IsEqual} constrai
src/main/java/org/maxicp/cp/CPFactory.java:850
↓ 14 callersMethodisIncluded
Returns if a value is included in the set. @param v the value to check @return true if the value is included, false otherwise
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:65
↓ 14 callersMethodisPossible
Returns if a value is possible in the set. @param v the value to check @return true if the value is possible, false otherwise
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:73
↓ 14 callersMethodlengthMax
()
src/main/java/org/maxicp/modeling/algebra/scheduling/IntervalExpression.java:23
↓ 14 callersMethodlengthMin
()
src/main/java/org/maxicp/modeling/algebra/scheduling/IntervalExpression.java:21
↓ 14 callersMethodnInsert
Returns the number of insertions of a node. @param node node. @return the number of insertions of a node.
src/main/java/org/maxicp/modeling/SeqVar.java:172
↓ 14 callersMethodnInsert
Returns the number of insertions of a node. @param node node. @return the number of insertions of a node.
src/main/java/org/maxicp/cp/engine/core/CPSeqVar.java:193
↓ 14 callersMethodtoArray
Returns an array with the values present in the set. @return an array representation of the values present in the set
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:125
↓ 14 callersMethodupdate
(int[] startMin, int[] duration, int[] endMax, int n)
src/main/java/org/maxicp/cp/engine/constraints/scheduling/NoOverlapLeftToRight.java:89
↓ 13 callersMethodbranchOnPresentStarts
(IntervalVar... vars)
src/main/java/org/maxicp/search/Searches.java:753
↓ 13 callersMethoddelta
Returns a delta object allowing to retrieve the changes in the domain of the variable (removed values) since the previous call to the {@code Constrain
src/main/java/org/maxicp/cp/engine/core/CPIntVar.java:223
↓ 13 callersMethodfillIncluded
Copies the values (in an arbitrary order) of the set of included elements into an array. @param dest an array large enough {@code dest.length >= nInc
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:115
↓ 13 callersMethodgetEndMin
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:27
↓ 13 callersMethodintersect
Makes the intersection with another bit-set but only on non zero-words of the outer sparse-bit-set. @param other the other bit-set to make the inters
src/main/java/org/maxicp/state/datastructures/BitSet.java:92
↓ 13 callersMethodisInterval
()
src/main/java/org/maxicp/state/datastructures/StateLazySparseSet.java:28
↓ 13 callersMethodle
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:149
↓ 12 callersMethodalwaysIn
Requires a cumulative function to always be within the range [minValue..maxValue] on the execution range of the cumulative function. @param fun a cum
src/main/java/org/maxicp/cp/CPFactory.java:2124
↓ 12 callersMethoddelay
A variable that is a view of {@code intervalVar+v}, adding an offset to it @param intervalVar a variable @param v a value @return a variabl
src/main/java/org/maxicp/cp/CPFactory.java:1438
↓ 12 callersMethodfail
(int id, int pId)
src/main/java/org/maxicp/search/DFSListener.java:8
↓ 12 callersMethodfilter
@param startMin the minimum start time of each activity @param duration the duration of each activity @param endMax the maximum end time of each act
src/main/java/org/maxicp/cp/engine/constraints/scheduling/NoOverlapBCLeftToRight.java:49
↓ 12 callersMethodflat
Creates an elementary flat Cumulative Function. @return a cumulative function that is flat
src/main/java/org/maxicp/cp/CPFactory.java:1963
↓ 12 callersMethodheight
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeSweepMax.java:291
↓ 12 callersMethodisConcrete
()
src/main/java/org/maxicp/modeling/ModelProxy.java:22
↓ 12 callersMethodisNode
(SeqStatus status)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:185
↓ 12 callersMethodisNode
(int node, SeqStatus status)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:578
↓ 12 callersMethodminus
(int v)
src/main/java/org/maxicp/modeling/algebra/integer/IntExpression.java:44
↓ 12 callersMethodnMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeConstraintBaseLine.java:110
↓ 12 callersMethodnMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeConstraint.java:110
↓ 12 callersMethodneq
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:136
↓ 12 callersMethodsize
Returns the size of the set. @return the size of the set
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:195
↓ 12 callersMethodsolution
(int id, int pId)
src/main/java/org/maxicp/search/DFSListener.java:7
↓ 11 callersMethodcard
()
src/main/java/org/maxicp/cp/engine/core/CPSetVarImpl.java:77
↓ 11 callersMethodcontainsKey
(Object key)
src/main/java/org/maxicp/state/copy/CopyMap.java:58
↓ 11 callersMethodfillArrayWithFilter
Sets the first values of <code>dest</code> to the ones present in the set that also satisfy the given filter predicate @param dest, an array large en
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:167
↓ 11 callersMethodfillInsert
Fills an array with the insertions for a node. Equivalent to {@code fillPred(node, dest, MEMBER)}. @param node node. @param dest an array large enoug
src/main/java/org/maxicp/modeling/SeqVar.java:164
↓ 11 callersMethodfillPossible
Copies the values (in an arbitrary order) of the set of possible elements into an array. @param dest an array large enough {@code dest.length >= nPos
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:123
↓ 11 callersMethodgetEndMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:31
↓ 11 callersMethodgetStartMin
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:19
↓ 11 callersMethodheightAtStart
Returns an {@link IntExpression} representing the height of the cumul function at the start of the interval variable given in parameter. @param inter
src/main/java/org/maxicp/modeling/algebra/scheduling/CumulFunction.java:28
↓ 11 callersMethodisCompleted
()
src/main/java/org/maxicp/search/SearchStatistics.java:60
↓ 11 callersMethodisPresent
()
src/main/java/org/maxicp/modeling/symbolic/SymbolicIntervalVar.java:61
↓ 11 callersMethodlength
Returns a CPIntVar that is equal to the length of interval. @param var the interval variable, it must be present at the time of the posting @return a
src/main/java/org/maxicp/cp/CPFactory.java:1820
↓ 11 callersMethodmaximize
Creates a maximization objective on the given variable. @param x the variable to maximize @return an objective that can maximize x @see DFSearch#opti
src/main/java/org/maxicp/cp/engine/core/CPSolver.java:72
↓ 11 callersMethodmemberAfter
(int node)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:601
↓ 10 callersMethodcard
Returns a variable that represents the cardinality of the set. @return the cardinality variable
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:29
↓ 10 callersMethodgetSeqVar
()
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:175
↓ 10 callersMethodgetTempArray
(IntExpression index)
src/main/java/org/maxicp/modeling/algebra/integer/Element2DVar.java:21
↓ 10 callersMethodgetTempArray
(IntExpression index)
src/main/java/org/maxicp/modeling/algebra/integer/Element2D.java:18
↓ 10 callersMethodhasEmptyIntersection
Test the emptiness of the intersection with a given BitSet @param bs the BitSet to test the intersection with @return true if empty, false otherwise
src/main/java/org/maxicp/state/datastructures/StateSparseBitSet.java:167
↓ 10 callersMethodisExcluded
Returns if a value is excluded from the set. @param v the value to check @return true if the value is excluded, false otherwise
src/main/java/org/maxicp/cp/engine/core/CPSetVar.java:81
↓ 10 callersMethodisIncluded
(int v)
src/main/java/org/maxicp/cp/engine/core/CPSetVarImpl.java:171
↓ 10 callersMethodlogProgress
(String msg)
src/main/java/org/maxicp/search/blackbox/BlackBoxSearch.java:552
↓ 10 callersMethodmax
Returns the maximum value in the set. @return the maximum value in the set
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:215
↓ 10 callersMethodmin
Returns the minimum value in the set. @return the minimum value in the set
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:204
↓ 10 callersMethodminus
(IntExpression a, int v)
src/main/java/org/maxicp/modeling/Factory.java:67
↓ 10 callersMethodreplaySubjectTo
(DFSLinearizer linearizer, CPVar[] variables, Runnable subjectTo, Objective obj)
src/main/java/org/maxicp/search/AbstractSearchMethod.java:174
↓ 10 callersMethodrun
(Supplier<R> fun)
src/main/java/org/maxicp/util/TimeIt.java:13
↓ 10 callersMethodseqVar
(int nNode, int begin, int end)
src/main/java/org/maxicp/ModelDispatcher.java:172
↓ 10 callersMethodsetAbsent
()
src/main/java/org/maxicp/cp/engine/core/CPIntervalVarImpl.java:391
↓ 10 callersMethodsetEnd
(int v)
src/main/java/org/maxicp/cp/engine/core/CPIntervalVar.java:57
↓ 10 callersMethodsum
(IntExpression... x)
src/main/java/org/maxicp/modeling/Factory.java:111
↓ 9 callersMethodbranch
@param branches the ordered closures for the child branches ordered from left to right in the depth first search. @return an array wit
src/main/java/org/maxicp/search/Searches.java:55
↓ 9 callersMethodclose
Closes the sub-circuit by forcing all remaining unassigned nodes to point to themselves (self-loops).
src/main/java/org/maxicp/cp/engine/constraints/SubCircuit.java:110
↓ 9 callersMethodconstraintClosure
(Runnable f)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:913
↓ 9 callersMethodgetConstraints
()
src/main/java/org/maxicp/modeling/Model.java:16
↓ 9 callersMethodgetDouble
()
src/main/java/org/maxicp/util/io/InputReader.java:52
↓ 9 callersMethodgetLevel
Returns the current level. It is increased at each {@link #saveState()} and decreased at each {@link #restoreState()}. It is initially equal to -1. @r
src/main/java/org/maxicp/state/StateManager.java:54
↓ 9 callersMethodgetThetaEct
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/ThetaLambdaTree.java:140
↓ 9 callersMethodgt
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:188
↓ 9 callersMethodheightAtEnd
Returns an {@link IntExpression} representing the height of the cumul function at the end of the interval variable given in parameter. @param interva
src/main/java/org/maxicp/modeling/algebra/scheduling/CumulFunction.java:37
↓ 9 callersMethodisNodeRequired
Gives a variable telling if a given node must be visited @param node node in the sequence @return variable set to true if the node must be visited
src/main/java/org/maxicp/cp/engine/core/CPSeqVar.java:46
↓ 9 callersMethodlt
(int a, IntExpression b)
src/main/java/org/maxicp/modeling/Factory.java:162
↓ 9 callersMethodmakeIVar
(CPSolver cp, Integer... values)
src/test/java/org/maxicp/cp/engine/constraints/SumTest.java:28
↓ 9 callersMethodmakeIVar
(CPSolver cp, Integer... values)
src/test/java/org/maxicp/cp/engine/constraints/MaximumMatchingTest.java:24
↓ 9 callersMethodmemberBefore
Returns the member preceding another member in the sequence. @param node member within the sequence. @return member preceding the given node in the s
src/main/java/org/maxicp/modeling/SeqVar.java:89
↓ 9 callersMethodpropagateOnInsert
Asks that {@link CPConstraint#propagate()} is called whenever an insertion happens. We say that an <i>insert</i> event occurs. @param c the constrain
src/main/java/org/maxicp/cp/engine/core/CPSeqVar.java:323
↓ 9 callersMethodrandomTuples
(Random rand, int arity, int nTuples, int minvalue, int maxvalue)
src/test/java/org/maxicp/cp/engine/constraints/TableTest.java:91
↓ 9 callersMethodremoveEdge
Remove a directed edge from -> to @param from origin of the edge @param to destination of the edge
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:858
↓ 9 callersMethodscheduleAll
(StateStack<CPConstraint> constraints)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:919
↓ 9 callersMethodserviceTime
Gives the service time at a given node @param node node whose service time must be known @return service time at the node
src/main/java/org/maxicp/cp/engine/constraints/seqvar/TransitionTimes.java:261
↓ 9 callersMethodsetDelta
Sets the new value of the bound as the one of the current solution + (maximization) or - (minimization) delta @param delta a positive integer
src/main/java/org/maxicp/search/IntObjective.java:22
↓ 9 callersMethodstepAtStart
Creates an elementary Cumulative Function that is a step of height h that happen at the start of the Interval variable var if it is present. @param v
src/main/java/org/maxicp/cp/CPFactory.java:2000
↓ 8 callersMethodbranchOnStatus
(CPIntervalVar var)
src/main/java/org/maxicp/search/Searches.java:739
← previousnext →201–300 of 3,827, ranked by callers