Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aia-uclouvain/maxicp
/ functions
Functions
3,827 in github.com/aia-uclouvain/maxicp
⨍
Functions
3,827
◇
Types & classes
688
↓ 16 callers
Method
defaults
()
src/main/java/org/maxicp/search/blackbox/BlackBoxSearch.java:111
↓ 16 callers
Method
element
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 callers
Method
isActive
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 callers
Method
isFixed
True if the expression is fixed
src/main/java/org/maxicp/modeling/algebra/Expression.java:45
↓ 16 callers
Method
makeStateRef
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 callers
Method
remove
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 callers
Method
status
()
src/main/java/org/maxicp/modeling/IntervalVar.java:25
↓ 15 callers
Method
endOr
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 callers
Method
inScope
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 callers
Method
inScope
(IntervalVar interval)
src/main/java/org/maxicp/cp/engine/constraints/scheduling/CPCumulFunction.java:35
↓ 15 callers
Method
memberBefore
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 callers
Method
not
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 callers
Method
solve
Start the solving process @return an object with the statistics on the search
src/main/java/org/maxicp/search/SearchMethod.java:54
↓ 14 callers
Method
exclude
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 callers
Method
ge
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 callers
Method
getEct
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 callers
Method
getStartMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:23
↓ 14 callers
Method
isEq
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 callers
Method
isIncluded
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 callers
Method
isPossible
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 callers
Method
lengthMax
()
src/main/java/org/maxicp/modeling/algebra/scheduling/IntervalExpression.java:23
↓ 14 callers
Method
lengthMin
()
src/main/java/org/maxicp/modeling/algebra/scheduling/IntervalExpression.java:21
↓ 14 callers
Method
nInsert
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 callers
Method
nInsert
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 callers
Method
toArray
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 callers
Method
update
(int[] startMin, int[] duration, int[] endMax, int n)
src/main/java/org/maxicp/cp/engine/constraints/scheduling/NoOverlapLeftToRight.java:89
↓ 13 callers
Method
branchOnPresentStarts
(IntervalVar... vars)
src/main/java/org/maxicp/search/Searches.java:753
↓ 13 callers
Method
delta
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 callers
Method
fillIncluded
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 callers
Method
getEndMin
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:27
↓ 13 callers
Method
intersect
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 callers
Method
isInterval
()
src/main/java/org/maxicp/state/datastructures/StateLazySparseSet.java:28
↓ 13 callers
Method
le
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:149
↓ 12 callers
Method
alwaysIn
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 callers
Method
delay
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 callers
Method
fail
(int id, int pId)
src/main/java/org/maxicp/search/DFSListener.java:8
↓ 12 callers
Method
filter
@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 callers
Method
flat
Creates an elementary flat Cumulative Function. @return a cumulative function that is flat
src/main/java/org/maxicp/cp/CPFactory.java:1963
↓ 12 callers
Method
height
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeSweepMax.java:291
↓ 12 callers
Method
isConcrete
()
src/main/java/org/maxicp/modeling/ModelProxy.java:22
↓ 12 callers
Method
isNode
(SeqStatus status)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:185
↓ 12 callers
Method
isNode
(int node, SeqStatus status)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:578
↓ 12 callers
Method
minus
(int v)
src/main/java/org/maxicp/modeling/algebra/integer/IntExpression.java:44
↓ 12 callers
Method
nMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeConstraintBaseLine.java:110
↓ 12 callers
Method
nMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/GeneralizedCumulativeConstraint.java:110
↓ 12 callers
Method
neq
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:136
↓ 12 callers
Method
size
Returns the size of the set. @return the size of the set
src/main/java/org/maxicp/state/datastructures/StateSparseSet.java:195
↓ 12 callers
Method
solution
(int id, int pId)
src/main/java/org/maxicp/search/DFSListener.java:7
↓ 11 callers
Method
card
()
src/main/java/org/maxicp/cp/engine/core/CPSetVarImpl.java:77
↓ 11 callers
Method
containsKey
(Object key)
src/main/java/org/maxicp/state/copy/CopyMap.java:58
↓ 11 callers
Method
fillArrayWithFilter
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 callers
Method
fillInsert
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 callers
Method
fillPossible
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 callers
Method
getEndMax
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:31
↓ 11 callers
Method
getStartMin
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/Activity.java:19
↓ 11 callers
Method
heightAtStart
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 callers
Method
isCompleted
()
src/main/java/org/maxicp/search/SearchStatistics.java:60
↓ 11 callers
Method
isPresent
()
src/main/java/org/maxicp/modeling/symbolic/SymbolicIntervalVar.java:61
↓ 11 callers
Method
length
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 callers
Method
maximize
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 callers
Method
memberAfter
(int node)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:601
↓ 10 callers
Method
card
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 callers
Method
getSeqVar
()
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:175
↓ 10 callers
Method
getTempArray
(IntExpression index)
src/main/java/org/maxicp/modeling/algebra/integer/Element2DVar.java:21
↓ 10 callers
Method
getTempArray
(IntExpression index)
src/main/java/org/maxicp/modeling/algebra/integer/Element2D.java:18
↓ 10 callers
Method
hasEmptyIntersection
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 callers
Method
isExcluded
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 callers
Method
isIncluded
(int v)
src/main/java/org/maxicp/cp/engine/core/CPSetVarImpl.java:171
↓ 10 callers
Method
logProgress
(String msg)
src/main/java/org/maxicp/search/blackbox/BlackBoxSearch.java:552
↓ 10 callers
Method
max
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 callers
Method
min
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 callers
Method
minus
(IntExpression a, int v)
src/main/java/org/maxicp/modeling/Factory.java:67
↓ 10 callers
Method
replaySubjectTo
(DFSLinearizer linearizer, CPVar[] variables, Runnable subjectTo, Objective obj)
src/main/java/org/maxicp/search/AbstractSearchMethod.java:174
↓ 10 callers
Method
run
(Supplier<R> fun)
src/main/java/org/maxicp/util/TimeIt.java:13
↓ 10 callers
Method
seqVar
(int nNode, int begin, int end)
src/main/java/org/maxicp/ModelDispatcher.java:172
↓ 10 callers
Method
setAbsent
()
src/main/java/org/maxicp/cp/engine/core/CPIntervalVarImpl.java:391
↓ 10 callers
Method
setEnd
(int v)
src/main/java/org/maxicp/cp/engine/core/CPIntervalVar.java:57
↓ 10 callers
Method
sum
(IntExpression... x)
src/main/java/org/maxicp/modeling/Factory.java:111
↓ 9 callers
Method
branch
@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 callers
Method
close
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 callers
Method
constraintClosure
(Runnable f)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:913
↓ 9 callers
Method
getConstraints
()
src/main/java/org/maxicp/modeling/Model.java:16
↓ 9 callers
Method
getDouble
()
src/main/java/org/maxicp/util/io/InputReader.java:52
↓ 9 callers
Method
getLevel
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 callers
Method
getThetaEct
()
src/main/java/org/maxicp/cp/engine/constraints/scheduling/ThetaLambdaTree.java:140
↓ 9 callers
Method
gt
(IntExpression a, int b)
src/main/java/org/maxicp/modeling/Factory.java:188
↓ 9 callers
Method
heightAtEnd
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 callers
Method
isNodeRequired
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 callers
Method
lt
(int a, IntExpression b)
src/main/java/org/maxicp/modeling/Factory.java:162
↓ 9 callers
Method
makeIVar
(CPSolver cp, Integer... values)
src/test/java/org/maxicp/cp/engine/constraints/SumTest.java:28
↓ 9 callers
Method
makeIVar
(CPSolver cp, Integer... values)
src/test/java/org/maxicp/cp/engine/constraints/MaximumMatchingTest.java:24
↓ 9 callers
Method
memberBefore
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 callers
Method
propagateOnInsert
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 callers
Method
randomTuples
(Random rand, int arity, int nTuples, int minvalue, int maxvalue)
src/test/java/org/maxicp/cp/engine/constraints/TableTest.java:91
↓ 9 callers
Method
removeEdge
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 callers
Method
scheduleAll
(StateStack<CPConstraint> constraints)
src/main/java/org/maxicp/cp/engine/core/CPSeqVarImpl.java:919
↓ 9 callers
Method
serviceTime
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 callers
Method
setDelta
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 callers
Method
stepAtStart
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 callers
Method
branchOnStatus
(CPIntervalVar var)
src/main/java/org/maxicp/search/Searches.java:739
← previous
next →
201–300 of 3,827, ranked by callers