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
↓ 9 callers
Method
name
()
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/KKTransformer.java:22
↓ 9 callers
Method
op
Returns the operator of this. @return this.op
org.alloytools.pardinus.core/src/main/java/kodkod/ast/ComparisonFormula.java:78
↓ 9 callers
Method
opCache
Returns the cache for gates with the given operator. @requires op in AND + OR + ITE @return cache[op.ordinal]
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/CBCFactory.java:104
↓ 9 callers
Method
plus
Returns an Int that represents the sum of this and the given Int. @requires this.factory = other.factory @return an Int that represents the sum of thi
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:205
↓ 9 callers
Method
popVariable
()
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/LTL2FOLTranslator.java:653
↓ 9 callers
Method
pos
Returns the node's current position in the node list, which is always between 0 and node.size()-1
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:320
↓ 9 callers
Method
prefix
(Expression a, Expression b)
org.alloytools.pardinus.core/src/test/java/kodkod/examples/alloy/ToyLists.java:68
↓ 9 callers
Method
proof
Returns a proof of this.formula's unsatisfiability if the value returned by {@link #outcome() this.outcome()} is UNSATISFIABLE or TRIVIALLY_UNSATISFIA
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:158
↓ 9 callers
Method
removesBoolAndInt
Create a new type that is the same as "old", except the "is_bool" and "is_int" flags are both set to false.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Type.java:549
↓ 9 callers
Method
replace
This method is called by Swing to replace text in this document.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurSyntaxDocument.java:349
↓ 9 callers
Method
resolve_as_set
Converts this into a "set or relation" if possible, then resolves it if ambiguous. <p> On success: the return value will be a well-typed unambiguous s
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:310
↓ 9 callers
Method
satisfiable
Returns a new Solution with a SATISFIABLE outcome, given stats and instance. @return {s: Solution | s.outcome() = SATISFIABLE && s.stats() = stats &&
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:64
↓ 9 callers
Method
scope
(String label)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:1003
↓ 9 callers
Method
setBackground
This method is called by Swing to change its background color.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurCheckbox.java:125
↓ 9 callers
Method
setCurrentDirectory
Modifies the current "default directory" which is used by the FileOpen and FileSave dialogs.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:237
↓ 9 callers
Method
setDecomposedMode
{@inheritDoc}
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/ExtendedOptions.java:150
↓ 9 callers
Method
setFont
Changes the font name, font size, and tabsize of every text buffer.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurTabbedSyntaxWidget.java:377
↓ 9 callers
Method
setIntEncoding
Sets the intEncoding option to the given value.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/BoundedOptions.java:106
↓ 9 callers
Method
setOverflows
(BooleanValue of, BooleanValue accumOF)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/DefCond.java:28
↓ 9 callers
Method
setSkolemDepth
(int skolemDepth)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/BoundedOptions.java:94
↓ 9 callers
Method
set_intersection2
Returns set_intersection2[A][B] @return set_intersection2[A][B]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET948.java:49
↓ 9 callers
Method
singleton
Returns an unmodifiable IntSet whose sole element is the given integer. The clone method of the returned set returns the set itself. @return {s: IntS
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/Ints.java:129
↓ 9 callers
Method
size
Returns the size of the list.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/SafeList.java:231
↓ 9 callers
Method
some
Returns the formula (some this) <p> this must be a set or a relation
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:1083
↓ 9 callers
Method
span
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprQt.java:105
↓ 9 callers
Method
square
Returns a new Dimensions object with n dimensions, each of which has the specified size. @return {d: Dimensions | d.n = n && d.dimensions[int] = size
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Dimensions.java:60
↓ 9 callers
Method
state
Retrieves the i-th state of this trace, considering the normalization of indices after looping. @param i @return
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TemporalInstance.java:464
↓ 9 callers
Method
successor
Implementation of the tree-successor algorithm from CLR. Returns the given node's successor, if it exists. Otherwise returns null. @return the given n
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntTree.java:146
↓ 9 callers
Method
target
Returns the set of tuples that are the target of r. r may be in this.relations and not have targets set. If r is not mapped by this, null is returned.
org.alloytools.pardinus.core/src/main/java/kodkod/instance/PardinusBounds.java:318
↓ 9 callers
Method
test
()
org.alloytools.alloy.core/src/test/java/edu/mit/csail/sdg/alloy4/PosTest.java:10
↓ 9 callers
Method
toInt
If the atom starts with "-" or "0-9" then convert it into a 32-bit int (here we assume that it came from a 32-bit int) <p> If the atom does not start
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimAtom.java:147
↓ 9 callers
Method
toString
Returns a string representation of this annotated node. @return string representation of this annotated node.
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/AnnotatedNode.java:250
↓ 9 callers
Method
toString
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimAtom.java:190
↓ 9 callers
Method
union
Returns union[a] @return union[a]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET948.java:64
↓ 9 callers
Method
universe
(int size)
org.alloytools.pardinus.core/src/test/java/kodkod/examples/bmc/ListSynth.java:104
↓ 9 callers
Method
validChoices
Returns a list of valid choices for this multi-choice preference
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/A4Preferences.java:183
↓ 9 callers
Method
visited
Returns true if the given node has been visited before. @ensures this.visited' = this.visited + n @return n in this.visited
org.alloytools.pardinus.core/src/main/java/kodkod/engine/TrivialProof.java:237
↓ 8 callers
Method
Authentic
Returns the application of the Authentic predicate. @return application of the Authentic predicate.
org.alloytools.pardinus.core/src/test/java/kodkod/examples/alloy/AbstractWorldDefinitions.java:153
↓ 8 callers
Method
add
Maps the given relation to the given tuple set. @ensures this.tuples' = this.tuples ++ relation->s @throws NullPointerException relation = null || s
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Instance.java:142
↓ 8 callers
Method
alloyRepaint
Repaint this component.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphViewer.java:149
↓ 8 callers
Method
clone
Returns a copy of this boolean matrix. @return {m: BooleanMatrix - this | m.dimensions = this.dimensions && m.eleme
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanMatrix.java:1044
↓ 8 callers
Method
close
Silently closes the given resource if it is non-null.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/ExternalSolver.java:124
↓ 8 callers
Method
close
Silently closes the given resource if it is non-null.
org.alloytools.pardinus.native/src/main/java/org/alloytools/solvers/natv/yices/PMaxYicesExternal.java:95
↓ 8 callers
Method
closure
Returns the transitive closure of this matrix. @return { m: BooleanMatrix | m = ^this } @throws UnsupportedOperationException #this.diensions != 2 |
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanMatrix.java:701
↓ 8 callers
Method
coerce_to_class
Returns coerce_to_class[A]. @return coerce_to_class[A]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/TOP020.java:77
↓ 8 callers
Method
contains
Returns true if i is in this set. @return i in this.ints @see kodkod.util.ints.IntSet#contains(int)
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntBitSet.java:229
↓ 8 callers
Method
decls
Returns the declarations. @return one a && one b && one c
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/NUM378.java:68
↓ 8 callers
Method
dump
This method concatenates a Throwable's message and stack trace and all its causes into a single String.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/MailBug.java:118
↓ 8 callers
Method
end
()
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Pos.java:190
↓ 8 callers
Method
exec
Executes the given command line, wait for its completion, then return its output. @param timeLimit - we will attempt to terminate the process after t
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Subprocess.java:59
↓ 8 callers
Method
execute_command
Based on the specified "options", execute one command and return the resulting A4Solution object. @param rep - if nonnull, we'll send compilation dia
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateAlloyToKodkod.java:558
↓ 8 callers
Method
expand
Translates {@link PardinusBounds temporal bound} into standard bounds by expanding the bound trace over {@link kodkod.ast.VarRelation variable relatio
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/TemporalTranslator.java:173
↓ 8 callers
Method
extend
(Variable variable, E type, T value)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/Environment.java:107
↓ 8 callers
Method
fastGet
Returns the value at the given index, without checking that the index is in bounds. @return this.elements[index]
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanMatrix.java:269
↓ 8 callers
Method
fatal
Popup the given error message, then terminate the program.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurDialog.java:111
↓ 8 callers
Method
get
Return the first variable in this declaration.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Decl.java:96
↓ 8 callers
Method
getAtoms
Returns an unmodifiable list of the AlloyAtoms in this AlloyTuple.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloyTuple.java:83
↓ 8 callers
Method
getCompModuleForFileUri
(String uri)
org.alloytools.alloy.lsp/src/main/java/org/alloytools/alloy/lsp/provider/AlloyTextDocumentService.java:187
↓ 8 callers
Method
getEnd
Returns the last AlloyAtom in this AlloyTuple.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloyTuple.java:93
↓ 8 callers
Method
getExecutable
(String genericName)
org.alloytools.pardinus.core/src/main/java/kodkod/solvers/api/NativeCode.java:127
↓ 8 callers
Method
getTop
Assuming layout() has been called, this returns the top edge.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Graph.java:152
↓ 8 callers
Method
getTotalHeight
Assuming layout() has been called, this returns the total height.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Graph.java:166
↓ 8 callers
Method
getTotalWidth
Assuming layout() has been called, this returns the total width.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Graph.java:159
↓ 8 callers
Method
getVizFont
Returns the recommended font to use in the visualizer, based on the OS.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:180
↓ 8 callers
Method
incremental
Returns true if the solvers returned by this.instance() are incremental; i.e. if clauses/variables can be added to the solver between multiple calls t
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/SATFactory.java:161
↓ 8 callers
Method
init
Initializes the given sig to be associated with the given unary value; should only be called at the beginning. <p> The resulting instance may or may n
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimInstance.java:457
↓ 8 callers
Method
insertString
This method is called by Swing to insert a String into this document. We intentionally ignore "attr" and instead use our own coloring.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurSyntaxDocument.java:293
↓ 8 callers
Method
isPresent
()
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/KKTransformer.java:37
↓ 8 callers
Method
isTemporal
Checks whether an AST node has temporal constructs, i.e., occurrences of {@link kodkod.ast.operator.TemporalOperator temporal operations} or {@link ko
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/TemporalTranslator.java:203
↓ 8 callers
Method
layers
Return the number of layers; can be 0.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Graph.java:181
↓ 8 callers
Method
loadXML
Load the XML instance.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizGUI.java:1172
↓ 8 callers
Method
logDivider
Write a horizontal separator into the log window.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SwingLogPanel.java:228
↓ 8 callers
Method
lookup
(N node)
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/NNFReplacer.java:88
↓ 8 callers
Method
make
Generates a call to a builtin predicate
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprList.java:162
↓ 8 callers
Method
max
Returns the right endpoint of this range. @return this.max
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntRange.java:47
↓ 8 callers
Method
maxTraceLength
The maximum trace length that will be explored by the temporal model finder. {@link UnboundedSolver unbounded temporal solvers} will ignore this value
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/TemporalOptions.java:57
↓ 8 callers
Method
nextKeyIndex
Circularly traverse table of size length.
org.alloytools.pardinus.core/src/main/java/kodkod/util/collections/IdentityHashSet.java:235
↓ 8 callers
Method
normRel
Converts identifiers into a version that is compatible with Electrod by removing '/', '.' and '$' symbols. TODO: what if id already has # symbols? @
org.alloytools.pardinus.native/src/main/java/org/alloytools/solvers/natv/electrod/ElectrodPrinter.java:892
↓ 8 callers
Method
ordered_pair
Returns ordered_pair[A][B] @return ordered_pair[A][B]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET967.java:75
↓ 8 callers
Method
out
Helper method that writes the given String to the output file, then return the number of bytes written.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurPDFWriter.java:262
↓ 8 callers
Method
path
Return the simplest path pointing to this Module ("" if this is the main module)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Module.java:44
↓ 8 callers
Method
pickCommonArity
Returns a new type { A | (A is in this && A.arity in that) } <p> ReturnValue.is_int == false <br> ReturnValue.is_bool == false <p> If this.size()==0 o
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Type.java:907
↓ 8 callers
Method
range
Returns an integer range from min, inclusive, to max, inclusive. @return { r: IntRange | r.min = min && r.max = max } @throws IllegalArgumentException
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/Ints.java:85
↓ 8 callers
Method
removeAll
Removes all tuples in c from this, if present, and returns true. Otherwise does nothing and returns false. @ensures this.tuples' = this.tuples - c.el
org.alloytools.pardinus.core/src/main/java/kodkod/instance/TupleSet.java:376
↓ 8 callers
Method
replace
()
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/FindReplace.java:394
↓ 8 callers
Method
resolve_as_formula
Converts this into a "formula" if possible, then resolves it if ambiguous. <p> On success: the return value will be a well-typed unambiguous formula e
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:272
↓ 8 callers
Method
right
Returns the right child of this. @return this.right
org.alloytools.pardinus.core/src/main/java/kodkod/ast/BinaryExpression.java:101
↓ 8 callers
Method
set_union2
Returns set_union2[A][B] @return set_union2[A][B]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/SET948.java:56
↓ 8 callers
Method
shade
Highlights the text editor, based on the location information in the set of Pos objects.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurTabbedSyntaxWidget.java:488
↓ 8 callers
Method
sharedNodes
Returns the set of all non-leaf descendants of this.node that have more than one parent. @return {n: Node | some n.children && #(n.~components & this.
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/AnnotatedNode.java:163
↓ 8 callers
Method
shufps
Simulates the shufps SIMD instruction. @requires xmm1.length = 4 and xmm2.length = 4 and imm8.length = 4 @requires all i: [0..3] | 0 <= imm8[i] < 4 @r
org.alloytools.pardinus.core/src/test/java/kodkod/examples/xpose/Transpose4x4.java:90
↓ 8 callers
Method
shufps
Encodes the shufps SIMD instruction. @requires xmm1.arity = 2 and xmm2.arity = 2 and imm8.length = 4 @requires all i: [0..3] | imm8[i].arity = 1 @retu
org.alloytools.pardinus.core/src/test/java/kodkod/examples/xpose/Transpose4x4UnaryL.java:123
↓ 8 callers
Method
shufps
Encodes the shufps SIMD instruction. @requires xmm1.arity = 2 and xmm2.arity = 2 and imm8.length = 4 @requires all i: [0..3] | imm8[i].arity = 1 @retu
org.alloytools.pardinus.core/src/test/java/kodkod/examples/xpose/Transpose4x4UnaryLR.java:132
↓ 8 callers
Method
span
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprITE.java:53
↓ 8 callers
Method
span
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprUnary.java:61
↓ 8 callers
Method
tail
Returns the last atom of this tuple.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTuple.java:304
↓ 8 callers
Method
targetoriented
Whether the solver should run in target-oriented mode. Will require an appropriate {@link TargetOrientedSolver solver} that is able to handle such exe
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/PardinusOptions.java:91
↓ 8 callers
Method
toArray
Converts the given tupleset to an array of ints.
org.alloytools.pardinus.core/src/test/java/kodkod/examples/xpose/Transpose4x4UnaryLR.java:267
↓ 8 callers
Method
toString
Returns a string representation of this Solution. @return a string representation of this Solution.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:176
↓ 8 callers
Method
typecheck_as_int
Converts this into an "integer expression" if possible; otherwise, returns an Expr with a nonempty error list
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:208
← previous
next →
601–700 of 7,566, ranked by callers