MCPcopy Create free account

hub / github.com/AlloyTools/org.alloytools.alloy / functions

Functions7,566 in github.com/AlloyTools/org.alloytools.alloy

↓ 8,473 callersMethodtuple
Returns a tuple that contains the specified sequence of atoms, drawn from this.universe. @return {t: Tuple | t.universe = this.universe && t.atoms =
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleFactory.java:72
↓ 4,112 callersMethodproduct
Returns the expression (this -> x) which can also be regarded as a multiplicity constraint (this set->set x) <p> this must be a set or relation <p> x
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:692
↓ 2,667 callersMethodadd
Adds the specified tuple to this tupleset. Returns true if this set was changed as the result of the operation. @ensures this.tuples' = this.tuples +
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:309
↓ 2,298 callersMethodjoin
Returns the join of this and the specified expression. The effect of this method is the same as calling this.compose(JOIN, expr). @return this.compos
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:92
↓ 1,435 callersMethodproduct
Returns product axiom. @return product
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/TOP020.java:202
↓ 1,124 callersMethodadd
Adds the given integer to this set if not already present and returns true. Otherwise does nothing and returns false. @ensures this.ints' = this.ints
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:112
↓ 1,007 callersMethodget
Returns the element at the specified position in this vector. @return this.elements[index] @throws IndexOutOfBoundsException if the index is out of
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntVector.java:61
↓ 1,002 callersMethodoneOf
Returns the declaration that constrains this variable to be bound to exactly one element of the given expression: 'this: one expr'. @return {d: Decl
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Variable.java:96
↓ 908 callersMethodand
Returns a sequence of this.size + other.size decls that has these decls as the prefix and the given decls as the suffix. @return {ds: Decls | ds.size
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Decls.java:97
↓ 898 callersMethodunary
Returns a new variable with the specified name and arity 1. @ensures this.name' = name && this.arity' = 1
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Variable.java:65
↓ 755 callersMethodsize
Returns the cardinality of this set. @return #this.ints
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:38
↓ 606 callersMethodeq
Returns a BooleanValue encoding the comparator circuit that checks whether the integer represented by this Int is equal to the integer represented by
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:129
↓ 600 callersMethodappend
Copy the input list, append "element" to it, then return the result as an unmodifiable list.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:91
↓ 596 callersMethodforAll
Returns a formula that represents a universal quantification of this formula over the given declarations. The effect of this method is the same as cal
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:268
↓ 579 callersMethodaccept
Returns true if the records with the given node, formula derived from the node, literal, and environment should be returned by iterators produced by
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/RecordFilter.java:41
↓ 525 callersMethodunary
Returns a new unary relation with the given name. The effect of this method is the same as calling Relation.nary(name,1). @return {r: Relation | r.ari
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:74
↓ 497 callersMethodprintln
(Expr e)
org.alloytools.alloy.cli/src/main/java/org/alloytools/alloy/cli/Evaluator.java:267
↓ 489 callersMethodand
Returns the conjunction of this and the specified formula. The effect of this method is the same as calling this.compose(AND, formula). @return this.c
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:80
↓ 475 callersMethodput
Puts the given value at the specified index. If the sequence already mapped the index to a value, the previous value is replaced with the new one and
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/SparseSequence.java:75
↓ 412 callersMethodin
Returns a->b in in. @return a->b in in
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET943.java:79
↓ 411 callersMethodbound
Sets the lower and upper bounds for the given relation. @requires lower.tuples in upper.tuples && lower.arity = upper.arity = r.arity && lo
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:306
↓ 395 callersMethodequals
Compares the specified object with this set for equality. Returns true if the specified object is also an IntSet, the two sets have the same size, and
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:206
↓ 354 callersMethodboundExactly
Sets both the lower and upper bounds of the given relation to the given set of tuples. @requires tuples.arity = r.arity && tuples.universe = this.uni
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:281
↓ 321 callersMethodrange
Returns a tuple set that contains all tuples between <code>from</code> and <code>to</code>, inclusive. More formally, the returned set contains all t
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleFactory.java:217
↓ 319 callersMethodappend
@ensures this.tokens' = concat [ this.tokens, token ]
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/PrettyPrinter.java:217
↓ 269 callersMethodintersection
Returns the intersection of this and the specified expression. The effect of this method is the same as calling this.compose(INTERSECTION, expr). @re
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:128
↓ 256 callersMethodlength
()
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/FindReplace.java:73
↓ 235 callersMethodnot
Returns an Int that represents bitwise negation of this integer. @return ~[[this]] @throws UnsupportedOperationException this.encoding does not suppo
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:340
↓ 231 callersMethodnoneOf
Returns an initially empty tuple set of the given arity, based on this.universe. @return { s: TupleSet | s.universe = this.universe && s.arity = arity
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleFactory.java:200
↓ 219 callersMethodbound
Makes the specified expression the upper bound on the contents of the given relation. The lower bound automatically becomes an NONE expression with th
org.alloytools.pardinus.core/src/main/java/kodkod/instance/PardinusBounds.java:455
↓ 216 callersMethodunion
Returns union[a] @return union[a]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET943.java:55
↓ 212 callersMethodisEmpty
Returns true if this set has no elements; otherwise returns false. @return no this.ints
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:45
↓ 209 callersMethodbinary
Returns a new binary relation with the given name. The effect of this method is the same as calling Relation.nary(name,2). @return {r: Relation | r.ar
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:83
↓ 209 callersMethodvalueOf
Returns the boolean value assigned to the given variable by the last successful call to {@link #solve()}. @requires {@link #solve() } has been called
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/SATSolver.java:101
↓ 198 callersMethodin
Returns the formula 'this in expr'. The effect of this method is the same as calling this.compare(SUBSET, expr). @return this.compare(SUBSET, expr)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:368
↓ 196 callersMethodno
Returns the formula 'no this'. The effect of this method is the same as calling this.apply(NO). @return this.apply(NO)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:395
↓ 193 callersMethodop
Returns Operator.ITE. @return Operator.ITE
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/ITEGate.java:136
↓ 182 callersMethodcontains
Returns true if i is in this set. @return i in this.ints
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:51
↓ 182 callersMethodimplies
Returns the implication of the specified formula by this. The effect of this method is the same as calling this.compose(IMPLIES, formula). @return thi
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:107
↓ 176 callersMethodnext
Returns the next int in the iteration, if any. Otherwise throws a NoSuchElementException. @return the next element in the iteration @throws java.util.
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntIterator.java:44
↓ 171 callersMethodhasNext
Returns true if this iteration has more elements. @return true if this iteration has more elements.
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntIterator.java:36
↓ 166 callersMethodspan
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Sig.java:137
↓ 164 callersMethodunion
Returns the union of this and the specified expression. The effect of this method is the same as calling this.compose(UNION, expr). @return this.comp
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:110
↓ 160 callersMethoddifference
Returns the difference of this and the specified expression. The effect of this method is the same as calling this.compose(DIFFERENCE, expr). @return
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:119
↓ 152 callersMethodsize
Returns the length of this trace. @return #this.elts
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/ResolutionTrace.java:68
↓ 150 callersMethodproduct
Returns a tuple set that is the cross product of this and the specified set. @return {t: TupleSet | t.arity = this.arity + s.arity &&
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:197
↓ 147 callersMethodremove
Removes the given integer from this set if already present and returns true. Otherwise does nothing and returns false. @ensures this.ints' = this.int
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:120
↓ 140 callersMethodupperBound
Returns the set of tuples that r may contain (the upper bound on r's contents). If r is not mapped by this, null is returned. @return r in this.relat
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:220
↓ 138 callersMethodone
Returns the formula 'one this'. The effect of this method is the same as calling this.apply(ONE). @return this.apply(ONE)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:404
↓ 137 callersMethodsome
Returns the formula 'some this'. The effect of this method is the same as calling this.apply(SOME). @return this.apply(SOME)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:386
↓ 135 callersMethodoptions
Returns the Options object used by this Solver to guide translation of formulas from first-order logic to cnf. @return this.options
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solver.java:67
↓ 126 callersMethodfactory
Returns this.factory @return this.factory
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:89
↓ 121 callersMethodsetOf
Returns a set of tuples of arity 1, each of which wraps one of the given objects. The method requires that the specified object be atoms in this.unive
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleFactory.java:124
↓ 117 callersMethodget
Returns the clause at the given index. Note that this method is not required to always return the same Clause object; it is only required to return C
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/ResolutionTrace.java:176
↓ 107 callersMethodfactory
Returns a TupleFactory that can be used to construct tuples and sets of tuples based on this universe. @return this.factory
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Universe.java:131
↓ 106 callersMethoditerator
Returns an iterator over the integers in this set, in the ascending element order. @return an IntIterator over the integers in this set.
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:92
↓ 104 callersMethodindex
Returns the index of this entry. @return this.index
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IndexedEntry.java:38
↓ 104 callersMethodmake
Constructs a ExprITE expression. @param cond - the condition formula @param left - the then-clause @param right - the else-clause
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprITE.java:114
↓ 103 callersMethodt_tuple
This constructs a Kodkod Tuple from the list of atoms, and returns null if no such Tuple can be constructed.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/BookExamples.java:307
↓ 102 callersMethodleft
Returns the left child of this. @return this.left
org.alloytools.pardinus.core/src/main/java/kodkod/ast/BinaryFormula.java:59
↓ 101 callersMethodtranspose
Transposes a 4x4 matrix m given as an array of 16 values. @requires m.length = 16 @return some t: int[] | t.length = 16 and all i, j
org.alloytools.pardinus.core/src/test/java/kodkod/examples/xpose/Transpose4x4.java:47
↓ 98 callersMethodappend
@ensures this.tokens' = concat [ this.tokens, token ]
org.alloytools.pardinus.native/src/main/java/org/alloytools/solvers/natv/electrod/ElectrodPrinter.java:432
↓ 98 callersMethodgetKey
()
org.alloytools.pardinus.core/src/main/java/kodkod/util/collections/FixedMap.java:365
↓ 98 callersMethodvisit
Visits the given sequence of declarations.
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/VoidVisitor.java:68
↓ 97 callersMethodwrite
This method is called by the A4SolutionWriter when it is writing a particular sig, field, or skolem.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/A4Reporter.java:208
↓ 96 callersMethodasList
Returns an unmodifiable List with same elements as the array.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:121
↓ 96 callersMethodbox
(char c, int i)
org.alloytools.alloy.core/src/main/java/org/alloytools/util/table/Canvas.java:138
↓ 96 callersMethodexpression
Returns the expression in this declaration. @return this.exresssion
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Decl.java:85
↓ 96 callersMethodlog
()
org.alloytools.alloy.core/src/main/java/org/alloytools/alloy/core/infra/AlloyDispatcher.java:101
↓ 96 callersMethodsubstring
(String text)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Pos.java:352
↓ 95 callersMethodclear
Removes all elements from this set. @ensures no this.ints'
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:165
↓ 95 callersMethodmerge
Returns a new type { A | A is in this, or A is in that } <p> ReturnValue.is_int == this.is_int || that.is_int <br> ReturnValue.is_bool == this.is_bool
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Type.java:789
↓ 94 callersMethodaddAll
Adds all of the elements in the specified collection to this set if they're not already present. @ensures this.ints' = this.ints + { i: int | c.contai
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:139
↓ 94 callersMethodcharAt
(int index)
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/FindReplace.java:78
↓ 94 callersMethodsolve
Attempts to satisfy the given {@code formula} and {@code bounds} with respect to {@code this.options} or, optionally, prove the problem's unsatisfiabi
org.alloytools.pardinus.core/src/main/java/kodkod/engine/KodkodSolver.java:85
↓ 93 callersMethodatom
Returns the atom at the specified index @return this.atoms[i] @throws IndexOutOfBoundsException i < 0 || i >= this.arity
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Tuple.java:67
↓ 92 callersMethodforSome
Returns a formula that represents an existential quantification of this formula over the given declarations. The effect of this method is the same as
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:278
↓ 91 callersMethodright
Returns the right child of this. @return this.right
org.alloytools.pardinus.core/src/main/java/kodkod/ast/BinaryFormula.java:65
↓ 90 callersMethodboundExactly
Sets both the lower and upper bounds of the given relation to the given expression. @requires expr.arity = r.arity @ensures this.relations' = this.re
org.alloytools.pardinus.core/src/main/java/kodkod/instance/PardinusBounds.java:482
↓ 89 callersMethodmin
Returns the smallest element in this set. Throws a NoSuchElementException if this set is empty. @return min(this.ints) @throws java.util.NoSuchElement
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:59
↓ 88 callersMethodtype
(OutputType deflt)
org.alloytools.alloy.cli/src/main/java/org/alloytools/alloy/cli/CLI.java:97
↓ 85 callersMethodset
Replaces the element at the specified position in this vector with the specified element, and returns the previous element (optional operation). @ens
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntVector.java:95
↓ 82 callersMethodnary
Returns a new relation with the given name and arity. @return {r: Relation | r.arity = arity && r.name = name } @throws IllegalArgumentException arit
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:65
↓ 81 callersMethodprint
Returns a pretty-printed string representation of the given node, with each line offset by at least the given number of whitespaces. The line paramet
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/PrettyPrinter.java:97
↓ 80 callersMethodmakeConst
Makes this TempList unmodifiable, then construct a ConstList backed by this TempList.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstList.java:165
↓ 79 callersMethodsetEnabled
This method is called by Swing to enable/disable a component.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurCheckbox.java:112
↓ 78 callersMethodarity
Returns the arity of this tuple. @return this.arity
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Tuple.java:51
↓ 78 callersMethodevaluate
Evaluates the specified formula with respect to the relation-tuple mappings given by this.instance and using this.options. If temporal expression, eva
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Evaluator.java:115
↓ 78 callersMethodgetValue
()
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/PreferencesDialog.java:186
↓ 78 callersMethodmake
Construct a SimAtom for the given label, or if an existing SimAtom hasn't been garbage collected yet then return that instead.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimAtom.java:57
↓ 78 callersMethodsetSolver
Sets the primitive solver factory used to generate {@link kodkod.engine.PrimitiveSolver primitive solvers}. @param solver the primitive solver factor
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/BoundedOptions.java:52
↓ 78 callersMethodvalue
Returns the value stored in this entry. @return this.value
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IndexedEntry.java:44
↓ 77 callersMethodclosure
()
org.alloytools.pardinus.core/src/test/java/kodkod/examples/pardinus/decomp/SpanR.java:275
↓ 77 callersMethodeq
Returns the formula 'this = expr'. The effect of this method is the same as calling this.compare(EQUALS, expr). @return this.compare(EQUALS, expr)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:359
↓ 76 callersMethodvalues
Returns a Collection view of the values stored in this sequence. The returned collection supports removal iff this is not an unmodifiable sparse seque
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/SparseSequence.java:136
↓ 73 callersMethodarity
If every entry has the same arity, that arity is returned; <br> else if some entries have different arities, we return -1; <br> else we return 0 (whic
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Type.java:635
↓ 73 callersMethodcompose
Returns the composition of this and the specified formula using the given binary operator. @return {f: Formula | f.left = this and f.right = formula a
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:117
↓ 73 callersMethodgetName
Returns the name of this element.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloyElement.java:31
↓ 73 callersMethodnext
Returns the next subtrace of the specified trace to be analyzed, given as a set of indices into the trace. If there are no more subtraces to be analyz
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/ReductionStrategy.java:63
↓ 72 callersMethodfunction
Returns a formula stating that the given relation is a total function with the specified domain and range. @return {f: Formula | f <=> expr in domain-
org.alloytools.pardinus.core/src/test/java/kodkod/examples/bmc/ListEncoding.java:168
next →1–100 of 7,566, ranked by callers