Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlloyTools/org.alloytools.alloy
/ functions
Functions
7,566 in github.com/AlloyTools/org.alloytools.alloy
⨍
Functions
7,566
◇
Types & classes
872
↓ 72 callers
Method
max
Returns the largest element in this set. Throws a NoSuchElementException if this set is empty. @return max(this.ints) @throws java.util.NoSuchElementE
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:67
↓ 72 callers
Method
or
Returns an Int that represents the bitwise disjunction of this and the given Int. @requires this.factory = other.factory @return an Int that represent
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:283
↓ 70 callers
Method
add
Appends the given element to the list, then return itself.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstList.java:132
↓ 70 callers
Method
clone
Returns a copy of this IntSet. The copy is independent of this IntSet unless this is a singleton or an immutable set, in which case clone() may retur
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:175
↓ 68 callers
Method
instance
Returns a satisfiying instance for this.formula, if the value returned by {@link #outcome() this.outcome()} is either SATISFIABLE or TRIVIALLY_SATISFI
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:145
↓ 67 callers
Method
allOf
Returns a set of all tuples of the given arity, drawn from this.universe. @return { s: TupleSet | s.universe = this.universe && s.arity = arity &&
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleFactory.java:109
↓ 66 callers
Method
set
(int r, int c, Object... label)
org.alloytools.alloy.core/src/main/java/org/alloytools/util/table/Table.java:65
↓ 64 callers
Method
not
Returns the negation of this formula. @return {f : NotFormula | f.formula = this }
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:323
↓ 62 callers
Method
size
Returns the size of this tupleset. @return #this.tuples
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:289
↓ 61 callers
Method
label
Returns this.label @return this.label @see kodkod.engine.bool.BooleanValue#label()
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/ITEGate.java:100
↓ 61 callers
Method
menuItem
Construct a new JMenuItem then add it to an existing JMenu. @param parent - the JMenu to add this JMenuItem into (or null if you don't wan
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:489
↓ 60 callers
Method
exit
()
org.alloytools.alloy.lsp/src/main/java/org/alloytools/alloy/lsp/provider/AlloyLanguageServer.java:61
↓ 60 callers
Method
relations
(final Map<T, ?> lowers, final Map<T, ?> uppers)
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:118
↓ 58 callers
Method
join
Precondition: this.lastX==next.firstX and this.lastY==next.firstY. Note: the resulting Curve will still share the same CubicCurve2D objects as this an
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Curve.java:62
↓ 58 callers
Method
writes
Write the given number into this byte buffer, followed by a space.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ByteBuffer.java:111
↓ 54 callers
Method
parentOf
(N n)
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntTree.java:231
↓ 53 callers
Method
and
Returns the formula (this and x) <p> this and x must both be formulas <p> Note: as a special guarantee, if x==null, then the method will return this E
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:453
↓ 53 callers
Method
iterator
Returns an iterator over the elements in this trace in proper sequence. <p><b>Note:</b>The clause objects returned by the iterator are not required t
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/ResolutionTrace.java:80
↓ 53 callers
Method
merge
Change a.pos to be the merger of a.pos and b.pos, then change a.sym to be sym, then return a.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/parser/CompFilter.java:215
↓ 53 callers
Method
product
Returns the product of this and the specified expression. The effect of this method is the same as calling this.compose(PRODUCT, expr). @return this.
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:101
↓ 53 callers
Method
reflexiveClosure
Returns the reflexive transitive closure of this. The effect of this method is the same as calling this.apply(REFLEXIVE_CLOSURE). @return this.apply(
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:280
↓ 53 callers
Method
visitThis
This is the start method that begins a traversal over the given expression.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/VisitReturn.java:34
↓ 52 callers
Method
formula
Returns this.formula. @return this.formula
org.alloytools.pardinus.core/src/main/java/kodkod/ast/NotFormula.java:54
↓ 52 callers
Method
make
Given a node, call the visitor to dump its text out, then return its name.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateKodkodToJava.java:333
↓ 51 callers
Method
or
Returns the conjunction of this and the specified formula. The effect of this method is the same as calling this.compose(OR, formula). @return this.co
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:89
↓ 51 callers
Method
reporter
Returns a reporter. @return a reporter
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/PardinusOptions.java:44
↓ 50 callers
Method
entrySet
Returns an unmodifiable view of the mappings in this map.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstMap.java:75
↓ 50 callers
Method
getWidth
Returns the node width.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:429
↓ 49 callers
Method
bit
Returns the BooleanValue at the specified index. @requires 0 <= i < this.factory.bitwidth @return this.bits[i]
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/TwosComplementInt.java:196
↓ 49 callers
Method
hashCode
Returns the hash code value for this set. The hash code of a set is defined to be the {@link Ints#superFastHash(int[])} of the elements in the set, ta
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:216
↓ 48 callers
Method
child
Returns the ith child of this formula. @requires 0 <= i < #this.children @return this.children[i]
org.alloytools.pardinus.core/src/main/java/kodkod/ast/NaryFormula.java:76
↓ 48 callers
Method
constant
Returns an IntConstant corresponding to the given value. @return {c: IntConstant | c.value = value}
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IntConstant.java:49
↓ 48 callers
Method
x
Returns the X coordinate of the center of the node.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:330
↓ 47 callers
Method
always
()
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:343
↓ 47 callers
Method
atom
Returns the i-th atom in this Tuple.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Tuple.java:66
↓ 47 callers
Method
cset
Convenience method that evaluates x and cast the result to be a tupleset @return the tupleset - if x evaluates to a tupleset @throws ErrorFatal - if
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimInstance.java:562
↓ 47 callers
Method
decls
@return this.decls
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Comprehension.java:71
↓ 47 callers
Method
ternary
Returns a ternary relation with the specified name. @return {r: Relation | r.name = name && r.arity = 3}
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:91
↓ 46 callers
Method
eval
Return the A4TupleSet for the given sig (if solution not yet solved, or unsatisfiable, or sig not found, then return an empty tupleset).
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Solution.java:981
↓ 46 callers
Method
intExpr
Returns this.intExpr. @return this.intExpr
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IntToExprCast.java:66
↓ 46 callers
Method
keySet
Returns an unmodifiable view of the keys in this map.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstMap.java:81
↓ 46 callers
Method
lone
Returns the formula 'lone this'. The effect of this method is the same as calling this.apply(LONE). @return this.apply(LONE)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:413
↓ 46 callers
Method
sum
Returns the expression y.(x.sum) @return y.(x.sum)
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/NUM378.java:44
↓ 46 callers
Method
wrapMe
Wraps the calling method into a Runnable whose run() will call the calling method with (false) as the only argument.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SimpleGUI.java:491
↓ 45 callers
Method
name
Returns the name of this leaf. @return this.name
org.alloytools.pardinus.core/src/main/java/kodkod/ast/LeafExpression.java:70
↓ 44 callers
Method
arity
If this tupleset is empty, then return 0, else return the arity of every tuple in this tupleset.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTupleset.java:121
↓ 44 callers
Method
arity
Returns the arity.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Tuple.java:47
↓ 44 callers
Method
close
Attempt to close the file/stream/reader/writer and return true if and only if we successfully closed it. (If object==null, we return true right away)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:211
↓ 44 callers
Method
prime
Returns the primed version of this. The effect of this method is the same as calling this.apply(PRIME). @return this.apply(PRIME)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:290
↓ 44 callers
Method
totalOrder
Returns a formula stating that this relation imposes a total ordering over the atoms in the set <code>ordered</code>, and that thet first and last ele
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:276
↓ 43 callers
Method
cset
Convenience method that evaluаtes x and cast the result to be a Kodkod Expression. @return the expression - if x evaluates to an Expression @throws E
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateAlloyToKodkod.java:714
↓ 43 callers
Method
indexOf
Returns the index in this vector of the first occurrence of the specified element, or -1 if this vector does not contain this element. @return elemen
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntVector.java:113
↓ 42 callers
Method
map
Helper method that returns a unique id for the given Sig, Field, or Skolem.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4SolutionWriter.java:78
↓ 41 callers
Method
getAttribute
Returns the value associated with the given attribute name; if the attribute doesn't exist, return "".
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/XMLNode.java:643
↓ 41 callers
Method
getFields
Return the list of fields as a combined unmodifiable list (without telling you which fields are declared to be disjoint)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Sig.java:868
↓ 41 callers
Method
setText
Change the entire text to the given text (and sets the modified flag)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurSyntaxWidget.java:728
↓ 41 callers
Method
tuples
Returns the set of tuples assigned to the given relation by this Instance. If the relation is not mapped by the model, null is returned. @return this
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Instance.java:174
↓ 41 callers
Method
universe
Returns the universe from which the atoms in this tuple are drawn. @return this.universe
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Tuple.java:45
↓ 40 callers
Method
canon
Returns the canonical absolute path for a file. If an IO error occurred, or if the file doesn't exist yet, we will at least return a noncanonical but
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:381
↓ 40 callers
Method
cnf
Returns the SATSolver object containing the CNF encoding of this.formula. Satisfiability of the formula can be checked by calling {@link kodkod.engin
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/Translation.java:120
↓ 40 callers
Method
count
Returns the cardinality of this expression. The effect of this method is the same as calling this.apply(CARDINALITY). @return this.apply(CARDINALITY)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:331
↓ 40 callers
Method
formula
()
org.alloytools.pardinus.core/src/main/java/kodkod/engine/decomp/DModel.java:67
↓ 40 callers
Method
is
Returns true if the type of this element is equal to the given type.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/XMLNode.java:583
↓ 40 callers
Method
longsize
Returns the number of tuples in this tupleset (this answer will never overflow)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTupleset.java:163
↓ 40 callers
Method
lowerBound
Returns the set of tuples that r must contain (the lower bound on r's contents). If r is not mapped by this, null is returned. @return r in this.rela
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:200
↓ 39 callers
Method
abs
Returns an Int that represents the absolute value of this integer. @return abs([[this]])
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:346
↓ 39 callers
Method
iff
Returns a formula that equates this and the specified formula. The effect of this method is the same as calling this.compose(IFF, formula). @return th
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:98
↓ 39 callers
Method
options
()
org.alloytools.pardinus.core/src/main/java/kodkod/engine/KodkodSolver.java:66
↓ 38 callers
Method
factory
Returns this.factory. @return this.factory.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/LeafInterpreter.java:184
↓ 38 callers
Method
k2pos
Associate the given formula with the given expression, then return the formula as-is.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateAlloyToKodkod.java:196
↓ 38 callers
Method
pos
The position of this complete clause.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Clause.java:17
↓ 37 callers
Method
cache
(N node, N replacement)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/NNFReplacer.java:79
↓ 37 callers
Method
debug
(String debug)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/Reporter.java:117
↓ 37 callers
Method
empty
Returns true if this is empty.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTupleset.java:147
↓ 37 callers
Method
getText
Returns the text if this is a text node, returns "" otherwise.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/XMLNode.java:576
↓ 35 callers
Method
cache
Caches the given value for the specified node, if this is a caching visitor, and returns Boolean.valueOf(val). @ensures n in this.cached => this.cache
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractDetector.java:119
↓ 35 callers
Method
cint
Convenience method that evaluates x and cast the result to be a Kodkod IntExpression. @return the integer expression - if x evaluates to an IntExpres
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateAlloyToKodkod.java:683
↓ 35 callers
Method
getLength
Query the current length of the log.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SwingLogPanel.java:417
↓ 35 callers
Method
indexView
Returns an unmodifiable int set view of the tuples stored in this set. Specifically, the returned int set contains an integer i iff this set contains
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:170
↓ 35 callers
Method
onMac
Returns true iff running on Mac OS X.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:822
↓ 35 callers
Method
shape
Returns the node shape (or null if the node is a dummy node).
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:358
↓ 35 callers
Method
stats
Returns the statistics gathered while solving this.formula. @return the statistics gathered while solving this.formula.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:167
↓ 34 callers
Method
addAll
Adds all tuples from c to this, if not present, and returns true. Otherwise does nothing and returns false. @ensures this.tuples' = this.tuples + c.e
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:363
↓ 34 callers
Method
cache
(Formula formula, BooleanValue translation)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/FOL2BoolTranslator.java:128
↓ 34 callers
Method
cint
Convenience method that evaluates x and cast the result to be a int. @return the int - if x evaluates to an int @throws ErrorFatal - if x does not ev
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimInstance.java:545
↓ 34 callers
Method
putAll
Copies all of the entries from the specified sparse sequence to this sequence. The effect of this call is equivalent to that of calling put(e.index, e
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/SparseSequence.java:88
↓ 33 callers
Method
debug_message
Write a debugging message to System.err for the debugging version of the parser. @param mess the text of the debugging message.
org.alloytools.alloy.core/src/main/java/java_cup/runtime/lr_parser.java:701
↓ 33 callers
Method
negation
Returns the negation of this boolean value @return { f: BooleanFormula | [[f]] = ![[this]] }
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanValue.java:45
↓ 33 callers
Method
thenElse
Returns the if expression constructed from this formula and the specified then and else expressions. @return {e: Expression | e.condition = this and e
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:306
↓ 33 callers
Method
universe
Returns the universe of discourse. @return this.universe
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/LeafInterpreter.java:192
↓ 33 callers
Method
wrapMe
Wraps the calling method into a Runnable whose run() will call the calling method with (false) as the only argument.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizGUI.java:456
↓ 32 callers
Method
cform
Convenience method that evaluates x and casts the result to be a Kodkod Formula. @return the formula - if x evaluates to a Formula @throws ErrorFatal
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateAlloyToKodkod.java:667
↓ 32 callers
Method
makeH
Make a JPanel using horizontal BoxLayout, and add the components to it (each component will be center-aligned). <br> If a component is Color, it's the
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:301
↓ 32 callers
Method
type
Return the type for this node; EMPTY if it is not well-typed.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:73
↓ 32 callers
Method
union
Return the union of this and that; (if this tupleset and that tupleset does not have compatible arity, then we return this tupleset as is). <br/> Note
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTupleset.java:243
↓ 31 callers
Method
a2k
Returns an unmodifiable copy of the map from each Sig/Field/Skolem/Atom to its corresponding Kodkod expression.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Solution.java:743
↓ 31 callers
Method
arity
Returns the arity of this expression. @return this.arity
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Expression.java:431
↓ 31 callers
Method
cache
Caches the given replacement for the specified node, if this is a caching visitor. Otherwise does nothing. The method returns the replacement node.
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractReplacer.java:122
↓ 31 callers
Method
getHeight
Returns the node height.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:422
↓ 31 callers
Method
getValue
()
org.alloytools.pardinus.core/src/main/java/kodkod/util/collections/FixedMap.java:368
← previous
next →
101–200 of 7,566, ranked by callers