MCPcopy Create free account

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

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

↓ 31 callersMethodlastIndexOf
Returns the index in this vector of the last occurrence of the specified element, or -1 if this vector does not contain this element. @return element
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntVector.java:121
↓ 31 callersMethodlookup
If the given node has already been visited and its replacement cached, the cached value is returned. Otherwise, null is returned. @return this.cache[
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractReplacer.java:109
↓ 31 callersMethodparenthesize
@return true if the given expression should be parenthesized when a child of a compound parent
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/PrettyPrinter.java:283
↓ 31 callersMethodparenthesize
@return true if the given expression should be parenthesized when a child of a compound parent
org.alloytools.pardinus.native/src/main/java/org/alloytools/solvers/natv/electrod/ElectrodPrinter.java:503
↓ 31 callersMethodremoveAll
Removes from this set all of its elements that are contained in the specified set. @ensures this.ints' = this.ints - { i: int | c.contains(i) } @retur
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:149
↓ 31 callersMethodtoExpression
Returns an expression whose meaning is the singleton set containing the atom that represents the integer given by this integer expression. The effect
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IntExpression.java:431
↓ 31 callersMethodtoString
Returns a String representation of this position value.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Pos.java:173
↓ 31 callersMethody
Returns the Y coordinate of the center of the node.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:335
↓ 30 callersMethoddefCond
Returns this.defCond @return this.defCond
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/Int.java:95
↓ 30 callersMethodmake
Return an unmodifiable empty list.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstList.java:191
↓ 30 callersMethodprint
Prints the given solution using the given options to the console
org.alloytools.pardinus.core/src/test/java/kodkod/examples/csp/NQueens.java:72
↓ 30 callersMethodrelation
Returns the relation to which this predicate applies. @return this.relation
org.alloytools.pardinus.core/src/main/java/kodkod/ast/RelationPredicate.java:58
↓ 30 callersMethodvisitChild
@ensures this.tokenize' = (parenthesize => concat [ this.tokens, "(", tokenize[child], ")" ] else concat [ this.tokens, tokenize[
org.alloytools.pardinus.core/src/main/java/kodkod/util/nodes/PrettyPrinter.java:275
↓ 30 callersMethodvisitChild
@ensures this.tokenize' = (parenthesize => concat [ this.tokens, "(", tokenize[child], ")" ] else concat [ this.tokens, tokenize[
org.alloytools.pardinus.native/src/main/java/org/alloytools/solvers/natv/electrod/ElectrodPrinter.java:495
↓ 29 callersMethodcontainsKey
Returns true if exists at least one (k, v) mapping where (k==null ? key==null : k.equals(key))
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstMap.java:106
↓ 29 callersMethodelseExpr
Returns the else-expression. @return this.elseExpr
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IfExpression.java:82
↓ 29 callersMethodmakename
Given a node, return its name (if no name has been chosen, then make a new name)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/TranslateKodkodToJava.java:322
↓ 29 callersMethodspan
{@inheritDoc}
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/parser/CompModule.java:856
↓ 29 callersMethodthenExpr
Returns the then-expression. @return this.thenExpr
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IfExpression.java:74
↓ 28 callersMethodalert
Popup the given error message.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurDialog.java:104
↓ 28 callersMethodcondition
Returns the if-condition. @return this.condition
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IfExpression.java:66
↓ 28 callersMethodcontainsKey
Tests whether the specified object reference is a key in this fixed map. @return key in this.keys
org.alloytools.pardinus.core/src/main/java/kodkod/util/collections/FixedMap.java:135
↓ 28 callersMethodflush
Commits all outstanding writes (if the messages are buffered).
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SwingLogPanel.java:482
↓ 28 callersMethodlookup
Retrieves the cached translation for the given node, if any. Otherwise returns null. @return the cached translation for the given node, if any. Otherw
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/FOL2BoolTranslator.java:249
↓ 28 callersMethodmake
Constructs an ExprVar variable with the EMPTY type @param pos - the original position in the source file (can be null if unknown) @param l
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprVar.java:62
↓ 28 callersMethodsolver
Returns a primitive solver factory used to generate {@link kodkod.engine.PrimitiveSolver primitive solvers}. @return a primitive solver factory
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/BoundedOptions.java:44
↓ 28 callersMethodupperBound
Returns the least sound upper bound on the value of expr @return the least sound upper bound on the value of expr
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/Skolemizer.java:325
↓ 27 callersMethodaccumulate
Converts the given accumulator into an immutable boolean value and adds it to this.components. This method requires that all of g's inputs are in this
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanFactory.java:342
↓ 27 callersMethodencodeXMLs
Write a list of Strings into a PrintWriter, where strs[2n] are written as-is, and strs[2n+1] are XML-encoded. <p> For example, if you call encodeXML(o
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:741
↓ 27 callersMethodsetColor
(N n, boolean color)
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntTree.java:235
↓ 27 callersMethodsize
Returns the size of the list.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/ConstList.java:102
↓ 27 callersMethodtreeGate
Returns a tree based implementation of BooleanAccumulator. The addInput operation executes in O(lg n) time where n is the number of gate inputs. @retu
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanAccumulator.java:65
↓ 26 callersMethodcache
Caches the given value for the specified node, if this is a caching visitor, and returns it. @ensures n in this.cached => this.cache' = this.cache ++
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractCollector.java:120
↓ 26 callersMethodcontainsAll
Returns true if the elements of c are a subset of this set. @return { i: int | c.contains(i) } in this.ints @throws NullPointerException c = null
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:127
↓ 26 callersMethodgetPath
(File outdir, String cname, String extension, int index)
org.alloytools.alloy.cli/src/main/java/org/alloytools/alloy/cli/CLI.java:506
↓ 26 callersMethodjoin
Returns the expression (this.x) <p> 1. this must be a set or relation <p> 2. x must be a set or relation <p> 3. at most one of them can be a unary set
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:496
↓ 26 callersMethodlogBold
Write "msg" in bold style.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SwingLogPanel.java:300
↓ 26 callersMethodlookup
If n has been visited and a value for it cached, the cached value is returned. Otherwise null is returned. @return this.cache[n]
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractDetector.java:109
↓ 26 callersMethodlookup
If n has been visited and a value for it cached, the cached value is returned. Otherwise null is returned. @return this.cache[n]
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractCollector.java:110
↓ 26 callersMethodnewSet
Returns a new, empty, modifiable set. @return a new, empty, modifiable set.
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractCollector.java:146
↓ 26 callersMethodsetOf
Returns the declaration that constrains this variable to be bound to a subset of the elements in the given expression: 'this: set expr'. @return {d:
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Variable.java:118
↓ 26 callersMethodsetSymmetryBreaking
Sets the symmetryBreaking option to the given value.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/BoundedOptions.java:83
↓ 26 callersMethodtoArray
Returns an array containing all of the elements in this set in the ascending order. @return an array containing all of the elements in this set in th
org.alloytools.pardinus.core/src/main/java/kodkod/util/ints/IntSet.java:184
↓ 26 callersMethodtoString
()
org.alloytools.pardinus.core/src/test/java/kodkod/examples/bmc/List.java:129
↓ 26 callersMethodvisited
Returns true if this node has already been visited. Otherwise returns false. @return true if this node has already been visited.
org.alloytools.pardinus.core/src/main/java/kodkod/ast/visitor/AbstractVoidVisitor.java:76
↓ 25 callersMethodand
Returns an Int that represents the bitwise conjunction 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:269
↓ 25 callersMethodbutton
Make a graphical button @param label - the text to show beneath the button @param tip - the tooltip to show when the mouse hovers over the button @pa
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:204
↓ 25 callersMethodconvertToUniv
Converts an existing tuple set into an identical tuple set with a different universe. @param tset the existing tuple set from the old univ
org.alloytools.pardinus.core/src/main/java/kodkod/engine/ltl2fol/TemporalBoundsExpander.java:430
↓ 25 callersMethoddeNOP
Remove the "NOP" in front of an expression (if any).
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:329
↓ 25 callersMethoderror
Convenience method that generates a type error with "msg" as the message, and includes the left and right bounding types in the message.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprBinary.java:105
↓ 25 callersMethodgetType
Returns the parent type of the AlloySet.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloySet.java:61
↓ 24 callersMethodcount
Return the number of parameters.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Func.java:85
↓ 24 callersMethodexponent
Returns exponent[X][Y]. @return exponent[X][Y]
org.alloytools.pardinus.core/src/test/java/kodkod/examples/tptp/NUM374.java:68
↓ 24 callersMethodhas
Returns true if the XML element has the given attribute.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/StaticThemeReaderWriter.java:604
↓ 24 callersMethodmake
Construct the n-ary tuple; throws an exception if the given list is empty.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTuple.java:54
↓ 24 callersMethodmalform
Throws an IOException with the given msg, and associate with it the current line and column location.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/XMLNode.java:136
↓ 24 callersMethodoutcome
Returns the outcome of the attempt to find a model for this.formula. If the outcome is SATISFIABLE or TRIVIALLY_SATISFIABLE, a satisfying instance can
org.alloytools.pardinus.core/src/main/java/kodkod/engine/Solution.java:114
↓ 24 callersMethodtoString
This value is used to display this type in the Visualizer's customization screen.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloySet.java:110
↓ 23 callersMethodcomprehension
Returns the comprehension expression constructed from this formula and the given declarations. @requires all d: decls.decls[int] | decl.variable.arity
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:297
↓ 23 callersMethodgetAllReachableSigs
Return the list containing UNIV, SIGINT, SEQIDX, STRING, NONE, and all sigs defined in this module or a reachable submodule.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Module.java:61
↓ 23 callersMethodgetCurrentModel
Returns the current (possibly projected) model.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizState.java:323
↓ 23 callersMethodgetY
Returns the y position at the given point 0 <= t <= 1
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Curve.java:237
↓ 23 callersMethodlabel
Make a JLabel, then call Util.make() to apply a set of attributes to it. @param attributes - see {@link edu.mit.csail.sdg.alloy4.OurUtil#make
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:132
↓ 23 callersMethodlayer
Returns an unmodifiable view of the list of nodes in the given layer (0..#layer-1); return an empty list if no such layer.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Graph.java:174
↓ 23 callersMethodmake
Construct the set containing integers between min and max (inclusively).
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTupleset.java:83
↓ 23 callersMethodmake
Create a new type consisting of the given set of entries, set of arities, and the given is_int/is_bool values; <p> Precondition: entries and arities m
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Type.java:475
↓ 23 callersMethodname
()
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/SATFactory.java:344
↓ 23 callersMethodnext_token
Return the next token, or <code>null</code> on end-of-file.
org.alloytools.alloy.core/src/main/java/java_cup/runtime/Scanner.java:24
↓ 23 callersMethodsetReporter
Sets the reporter. @param reporter a reporter.
org.alloytools.pardinus.core/src/main/java/kodkod/engine/config/PardinusOptions.java:52
↓ 23 callersMethodvariable
Returns the variable in this declaration. @return this.variable
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Decl.java:73
↓ 22 callersMethodadd
Adds the given value to this.components and returns the result. Specifically, if the addition of the value causes the gate to evaluate to op.shortCir
org.alloytools.pardinus.core/src/main/java/kodkod/engine/bool/BooleanAccumulator.java:106
↓ 22 callersMethodaddClause
Ensures that this solver logically contains the given clause, and returns true if this.clauses changed as a result of the call. No reference to the sp
org.alloytools.pardinus.core/src/main/java/kodkod/engine/satlab/SATSolver.java:75
↓ 22 callersMethodamalgamated
()
org.alloytools.pardinus.core/src/main/java/kodkod/instance/PardinusBounds.java:397
↓ 22 callersMethodarity
Returns the arity of this tuple.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimTuple.java:138
↓ 22 callersMethodcb
(Serializable... objs)
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SimpleReporter.java:348
↓ 22 callersMethoddebug
()
org.alloytools.alloy.core/src/main/java/org/alloytools/alloy/core/infra/AlloyDispatcher.java:95
↓ 22 callersMethodinterpret
If {@code this.solver.solve()} is true, returns an interpretation of the CNF solution as a mapping from Relations to sets of Tuples. The returned ins
org.alloytools.pardinus.core/src/main/java/kodkod/engine/fol2sat/Translation.java:160
↓ 22 callersMethodisVariable
()
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Relation.java:146
↓ 22 callersMethodlog
(String s)
org.alloytools.alloy.lsp/src/main/java/org/alloytools/alloy/lsp/provider/AlloyTextDocumentService.java:1475
↓ 22 callersMethodpick
If the list if nonempty, arbitrarily return one of the item, otherwise throw ArrayIndexOutOfBoundsException.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/JoinableList.java:107
↓ 22 callersMethodpick
(String label, String tooltip)
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizState.java:657
↓ 22 callersMethodresolve
(AlloyElement obj)
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizState.java:637
↓ 22 callersMethodsetBackground
Set the background color.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SwingLogPanel.java:410
↓ 22 callersMethodsetColor
Changes the current color.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Artist.java:107
↓ 22 callersMethodstyle
(String fontName, int fontSize, boolean boldness, boolean italic, boolean strike, Color color, int leftIndent)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurConsole.java:138
↓ 22 callersMethodwarn
Convenience method that generates a type warning with "msg" as the message, and includes the left and right bounding types in the message.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/ExprBinary.java:115
↓ 21 callersMethodapply
(TemporalOperator op)
org.alloytools.pardinus.core/src/main/java/kodkod/ast/Formula.java:258
↓ 21 callersMethodcform
Convenience method that evaluates x and casts the result to be a boolean. @return the boolean - if x evaluates to a boolean @throws ErrorFatal - if x
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/sim/SimInstance.java:530
↓ 21 callersMethodcompose
Returns an expression that combines this and the given integer expression using the specified operator. @requires op.binary() @return {e: IntExpressio
org.alloytools.pardinus.core/src/main/java/kodkod/ast/IntExpression.java:269
↓ 21 callersMethodflush
()
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/WorkerEngine.java:151
↓ 21 callersMethodgetReserved
Returns the amount of space we need to reserve on the right hand side for the self edges (0 if this has no self edges now)
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/GraphNode.java:449
↓ 21 callersMethodin
Returns the formula (this in x) <p> this must be a set or relation <p> x must be a set or relation or multiplicity constraint <p> this and x must have
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:680
↓ 21 callersMethodintBounds
Returns a sparse sequence view of this.intBound. The returned sequence is not modifiable. @return a sparse sequence view of this.intBound
org.alloytools.pardinus.core/src/main/java/kodkod/instance/Bounds.java:250
↓ 21 callersMethodmake
Assign the given attributes to the given JComponent, then return the JComponent again. <p> If <b>Font</b> x is given in the list, we call obj.setFont(
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/OurUtil.java:94
↓ 21 callersMethodnot
Returns the formula (not this) <p> this must be a formula
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/ast/Expr.java:1065
↓ 21 callersMethodquery
Query the Bounds object to find the lower/upper bound; throws ErrorFatal if expr is not Relation, nor a {union, product} of Relations.
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Solution.java:844
↓ 21 callersMethodtoList
(TupleSet tupleSet)
org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/alloy4/Util.java:875
↓ 21 callersMethodtoString
()
org.alloytools.alloy.lsp/src/main/java/org/alloytools/alloy/lsp/provider/CLIFacade.java:29
↓ 20 callersMethodgetTypes
Returns an unmodifiable sorted set of all AlloyType(s) in this model.
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/AlloyModel.java:325
↓ 20 callersMethodgetX
Returns the x position at the given point 0 <= t <= 1
org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4graph/Curve.java:223
← previousnext →201–300 of 7,566, ranked by callers