Uses of Class
org.oristool.math.expression.Variable
Packages that use Variable
Package
Description
Provides classes for the encoding and manipulation of PDFs.
PDF supports.
Expolynomial densities.
PDF densities.
Calculus of stochastic state classes.
Petri net representation.
-
Uses of Variable in org.oristool.math
Methods in org.oristool.math with parameters of type Variable -
Uses of Variable in org.oristool.math.domain
Methods in org.oristool.math.domain that return VariableModifier and TypeMethodDescriptionDBMZone.Subzone.getMaxVar()DBMZone.Subzone.getMinVar()DBMZone.Subzone.getProjectedVar()Methods in org.oristool.math.domain that return types with arguments of type VariableModifier and TypeMethodDescriptionDBMZone.getNullDelayVariables(Variable v) Finds the variables synchronized with the input one.DBMZone.getVariables()Methods in org.oristool.math.domain with parameters of type VariableModifier and TypeMethodDescriptionvoidDBMZone.addVariables(Variable... vars) booleanDBMZone.canVariableBeLowerOrEqual(Variable var, Collection<Variable> others) Checks if a variable can be the minimum among a set of variables.booleanDBMZone.canVariableBeLowestOrEqual(Variable var) Checks if a variable can be the minimum in the zone.Returns the upper bound for the differenceleft-rightbetween two variables, which is the constantcof a constraintleft-right <= c.DBMZone.getCoefficient(Variable left, Variable right) Returns the constantcfor the constraintleft-right <= c.DBMZone.getNullDelayVariables(Variable v) Finds the variables synchronized with the input one.voidDBMZone.imposeBound(Variable left, Variable right, OmegaBigDecimal coefficient) Imposes an upper bound for the differenceleft-right.voidDBMZone.imposeVarLower(Variable var, Collection<Variable> others) Imposes the boundvar-x <= 0for each x inothers.voidDBMZone.imposeVarLowerAndNormalize(Variable var, Collection<Variable> others) Imposes the boundvar-x <= 0for each x inothers.booleanDBMZone.isSyncronized(Variable x, Variable y) voidDBMZone.projectVariable(Variable v) Discards the constraints of the input variable.voidDBMZone.projectVariables(Variable... vars) voidDBMZone.setCoefficient(Variable left, Variable right, OmegaBigDecimal coefficient) Sets the constantcfor the constraintsleft-right.voidDBMZone.setNewGround(Variable v) Discards the constraints of the input variable and uses it as the new ground.voidDBMZone.substitute(Variable oldVar, Variable newVar) Replaces the name of a variable in all of its constraints.voidDBMZone.substitute(Variable oldVar, Variable newVar, BigDecimal coefficient) Replaces the name of a variable and applies a constant shift.Method parameters in org.oristool.math.domain with type arguments of type VariableModifier and TypeMethodDescriptionvoidDBMZone.addVariables(Collection<Variable> vars) Introduces new variables in this zone.booleanDBMZone.canVariableBeLowerOrEqual(Variable var, Collection<Variable> others) Checks if a variable can be the minimum among a set of variables.voidDBMZone.constantShift(BigDecimal constant, Collection<Variable> variables) Applies a constant shift to a set of variables.booleanDBMZone.contains(Map<Variable, OmegaBigDecimal> point) Checks if this zone contains the input point.Returns the minimum value that any of the input variables can take inside this zone.voidDBMZone.imposeVarLower(Variable var, Collection<Variable> others) Imposes the boundvar-x <= 0for each x inothers.voidDBMZone.imposeVarLowerAndNormalize(Variable var, Collection<Variable> others) Imposes the boundvar-x <= 0for each x inothers.voidDBMZone.projectVariables(Collection<Variable> vars) Discards the constraints of a set of variables.Constructors in org.oristool.math.domain with parameters of type VariableModifierConstructorDescriptionSubzone(DBMZone domain, Variable projectedVar, Variable minVar, OmegaBigDecimal minVarDelay, Variable maxVar, OmegaBigDecimal maxVarAdvance) Creates a representation of a subzone resulting from a projection.Constructor parameters in org.oristool.math.domain with type arguments of type VariableModifierConstructorDescriptionDBMZone(Collection<Variable> vars) Creates a zone for the given variables, without constraints. -
Uses of Variable in org.oristool.math.expression
Fields in org.oristool.math.expression declared as VariableModifier and TypeFieldDescriptionstatic final VariableVariable.AGEstatic final VariableVariable.TSTARstatic final VariableVariable.XMethods in org.oristool.math.expression that return VariableModifier and TypeMethodDescriptionAtomicTerm.getVariable()Returns the variable associated with the atomic term.ExponentialTerm.getVariable()MonomialTerm.getVariable()Methods in org.oristool.math.expression that return types with arguments of type VariableModifier and TypeMethodDescriptionExmonomial.getVariables()Collects the variable names of the exmonomial.Expolynomial.getVariables()Returns all the variables used in this expolynomial.Methods in org.oristool.math.expression with parameters of type VariableModifier and TypeMethodDescriptionintExmonomial.evaluate(Variable base, Boolean sign1, Variable offset1, Boolean sign2, Variable offset2, BigDecimal constant) Replacesbasewith +/-offset1+/-offset2+constant.Exmonomial.evaluate(Variable base, Boolean sign, Variable offset, BigDecimal constant) Replacesbasewith +/-offset+constant.Exmonomial.evaluate(Variable var, OmegaBigDecimal value) Replaces a variable with its value.Expolynomial.evaluate(Variable base, boolean sign1, Variable offset1, boolean sign2, Variable offset2, BigDecimal constant) Replacesbasewith +/-offset1+/-offset2+constant.Expolynomial.evaluate(Variable base, boolean sign, Variable offset, BigDecimal constant) Replacesbasewith +/-offset+constant.Expolynomial.evaluate(Variable var, OmegaBigDecimal value) Replaces a variable with its value.Computes the primitive function of this exmonomial.Exmonomial.integrate(Variable var, OmegaBigDecimal lower, OmegaBigDecimal upper) Integrates this exmonomial over an interval.Computes the primitive function of this expolynomial.Expolynomial.integrate(Variable var, OmegaBigDecimal lower, OmegaBigDecimal upper) Integrates this expolynomial over an interval.voidExponentialTerm.setVariable(Variable variable) voidMonomialTerm.setVariable(Variable variable) Replacesbasewithbase+offset.voidReplacesbasewithbase+offset.voidAtomicTerm.substitute(Variable oldVar, Variable newVar) Substitutes oldVar with newVar in the atomic term.voidExmonomial.substitute(Variable oldVar, Variable newVar) ReplacesoldVarwithnewVar.voidExpolynomial.substitute(Variable oldVar, Variable newVar) ReplacesoldVarwithnewVar.voidExponentialTerm.substitute(Variable oldVar, Variable newVar) voidMonomialTerm.substitute(Variable oldVar, Variable newVar) Method parameters in org.oristool.math.expression with type arguments of type VariableModifier and TypeMethodDescriptionExmonomial.evaluate(Map<Variable, OmegaBigDecimal> m) Evaluates the exmonomial.Expolynomial.evaluate(Map<Variable, OmegaBigDecimal> m) Evaluates the expolynomial.Constructors in org.oristool.math.expression with parameters of type VariableModifierConstructorDescriptionExponentialTerm(Variable variable, BigDecimal lambda) Builds an instance for a given variable and rate.MonomialTerm(Variable variable, int alpha) Builds an instance for a given variable and exponent. -
Uses of Variable in org.oristool.math.function
Methods in org.oristool.math.function that return VariableModifier and TypeMethodDescriptionSynchronization.getDistributed()StateDensityFunction.getLowestSynchronizedWrt(Variable distributedVariable) Returns the synchronized variable with minimum delay with respect to a given distributed one.Erlang.getVariable()Returns the variable name.EXP.getVariable()Returns the variable of this PDF.Methods in org.oristool.math.function that return types with arguments of type VariableModifier and TypeMethodDescriptionStateDensityFunction.getContinuousVariables()Returns the set of continuous variables.StateDensityFunction.getDeterministicValues()Returns the set of deterministic variables and their values.StateDensityFunction.getDeterministicVariables()Returns the set of deterministic variables.StateDensityFunction.getLowestDeterministicValue()Returns the minimum value of deterministic variables.StateDensityFunction.getLowestDeterministicValue(Set<Variable> detVariables) Returns the minimum value of deterministic variables among a given set.StateDensityFunction.getNullDelayVariables(Variable v) Returns the deterministic, synchronized or distributed variables with zero delay with respect to an input one.StateDensityFunction.getSynchDelaysWrt(Variable v) Returns all the variables synchronized with a given one (and their delays).StateDensityFunction.getSynchronizedVariables()Returns the set of synchronized variables.PartitionedGEN.getVariables()Returns the list of variables of this PDF.StateDensityFunction.getVariables()Returns the set of variables (deterministic, synchronized, continuous).Methods in org.oristool.math.function with parameters of type VariableModifier and TypeMethodDescriptionvoidStateDensityFunction.addContinuousVariable(Variable v, PartitionedFunction f) Adds a continuous variable with give PDF.voidStateDensityFunction.addDeterministicVariable(Variable v, BigDecimal value) Adds a deterministic variable to this PDF.voidStateDensityFunction.addSynchronizedVariable(Variable v, Variable distributed, BigDecimal delay) Adds a variable with deterministic delay with respect to an existing continuous variable.StateDensityFunction.computeMeanValue(Variable v) Computes the mean value of a variable.StateDensityFunction.conditionAllToBound(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= boundon the support for all pairs of left/right variables, keeping only subzones with nonzero measure.GEN.conditionToBound(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Imposes the boundmin <= v <= maxand normalizes the density.PartitionedGEN.conditionToBound(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Imposes the boundmin <= v <= maxand normalizes the density.StateDensityFunction.conditionToInterval(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Imposes the boundx <= v <= yon the support, keeping only subzones with nonzero measure.GEN.conditionToMax(Variable v, OmegaBigDecimal max) Imposes the boundv <= maxand normalizes the density.PartitionedGEN.conditionToMax(Variable v, OmegaBigDecimal max) Imposes the boundv <= maxand normalizes the density.GEN.conditionToMin(Variable v, OmegaBigDecimal min) Imposes the boundv >= minand normalizes the density.PartitionedGEN.conditionToMin(Variable v, OmegaBigDecimal min) Imposes the boundv >= minand normalizes the density.StateDensityFunction.getDeterministicValue(Variable v) Returns the deterministic value of a given variable.static GENGEN.getDETInstance(Variable v, BigDecimal value) Builds the PDF of a deterministic variable.StateDensityFunction.getLowestSynchronizedDelayWrt(Variable distributedVariable) Returns the minimum delay of variables synchronized with the input one.StateDensityFunction.getLowestSynchronizedWrt(Variable distributedVariable) Returns the synchronized variable with minimum delay with respect to a given distributed one.StateDensityFunction.getMarginalDensity(Variable v) Returns the marginal density of a variable.StateDensityFunction.getMaxBound(Variable left, Variable right) Returns the maximum upper bound on the differenceleft - rightbetween two variables.StateDensityFunction.getMinBound(Variable left, Variable right) Returns the minimum upper bound on the differenceleft - rightbetween two variables.StateDensityFunction.getNullDelayVariables(Variable v) Returns the deterministic, synchronized or distributed variables with zero delay with respect to an input one.StateDensityFunction.getSynchDelaysWrt(Variable v) Returns all the variables synchronized with a given one (and their delays).StateDensityFunction.getSynchronization(Variable v) Returns synchronization information of a variable.voidStateDensityFunction.imposeBound(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= boundon the support for all pairs of left/right variables, keeping only subzones with nonzero measure.voidStateDensityFunction.imposeBound(Variable leftVar, Variable rightVar, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= boundon the support, keeping only subzones with nonzero measure.voidStateDensityFunction.imposeInterval(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Intersects the support with the input boundmin <= v <= maxon the support, keeping only subzones with nonzero measure.voidStateDensityFunction.marginalizeVariable(Variable v) Removes a variable from this PDF.static GENGEN.newTruncatedExp(Variable v, BigDecimal rate, OmegaBigDecimal eft, OmegaBigDecimal lft) Builds the PDF of a truncated EXP.Removes a variable from the PDF.voidRemoves the input variable.GEN.shiftAndProject(Variable v) Subtracts a variable from all others and removes it from the PDF.voidPartitionedGEN.shiftAndProject(Variable var) Subtracts the input variable from all others and removes it.voidStateDensityFunction.shiftAndProject(Variable firedVar) Subtracts a variable from all others and removes it from this PDF.voidGEN.substitute(Variable oldVar, Variable newVar) Replaces a variable name with another.voidGEN.substitute(Variable oldVar, Variable newVar, BigDecimal constant) Replaces a variable name with another and adds a constant.voidPartitionedGEN.substitute(Variable oldVar, Variable newVar) Replaces one variable name with another one.voidPartitionedGEN.substitute(Variable oldVar, Variable newVar, BigDecimal constant) Replaces one variable name with another one plus a constant.voidGEN.substituteAndShift(Variable oldVar, Variable newVar, BigDecimal constant) Replaces the ground withnewVar - constantandoldVarwith the ground.voidPartitionedGEN.substituteAndShift(Variable oldVar, Variable newVar, BigDecimal constant) ReplacesoldVarwithVariable.TSTARand makesnewVar - constantthe new ground.voidMoves a synchronized variable into the distributed set, and the current distributed one into the synchronized set.Method parameters in org.oristool.math.function with type arguments of type VariableModifier and TypeMethodDescriptionStateDensityFunction.conditionAllToBound(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= boundon the support for all pairs of left/right variables, keeping only subzones with nonzero measure.voidGEN.constantShift(BigDecimal constant, Collection<Variable> variables) Adds a constant to a set of variables in the PDF.voidPartitionedGEN.constantShift(BigDecimal constant, Collection<Variable> variables) Subtracts a constant from a set of variables.voidStateDensityFunction.constantShift(BigDecimal constant, Set<Variable> progressing) Removes a constant from a set of input variables.StateDensityFunction.getLowestDeterministicValue(Set<Variable> detVariables) Returns the minimum value of deterministic variables among a given set.StateDensityFunction.getMaxBound(Set<Variable> leftVars, Set<Variable> rightVars) Returns the maximum upper bound on the differenceleft - rightbetween variables in two sets.StateDensityFunction.getMinBound(Set<Variable> leftVars, Set<Variable> rightVars) Returns the minimum upper bound on the differenceleft - rightbetween variables in two sets.voidStateDensityFunction.imposeBound(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= boundon the support for all pairs of left/right variables, keeping only subzones with nonzero measure.Constructors in org.oristool.math.function with parameters of type VariableModifierConstructorDescriptionErlang(Variable x, int k, BigDecimal lambda) Builds the functionlambda^k x^(k-1) e^(-lambda x) / (k-1)!over[0, +infty).EXP(Variable x, BigDecimal lambda) Builds the functione^(-lambda x)over[0, +infty).Synchronization(Variable distributed, BigDecimal coefficient) -
Uses of Variable in org.oristool.models.stpn.trees
Fields in org.oristool.models.stpn.trees with type parameters of type VariableModifier and TypeFieldDescriptionfinal Map<Variable,Map<Variable, BigDecimal>> EnablingSyncsFeature.enablingSyncsfinal Map<Variable,Map<Variable, BigDecimal>> EnablingSyncsFeature.enablingSyncsMethods in org.oristool.models.stpn.trees that return types with arguments of type VariableModifier and TypeMethodDescriptionEnablingSyncsFeature.dets()Returns the set of (initially) deterministic variables.StochasticStateFeature.getAgeVariables()Returns the set of age variables.DeterministicEnablingState.getEnablingTimes()StochasticStateFeature.getEXPRates()StochasticStateFeature.getEXPVariables()StochasticStateFeature.getFiringVariables()Returns the set of general, non-age variables.Methods in org.oristool.models.stpn.trees with parameters of type VariableModifier and TypeMethodDescriptionvoidStochasticStateFeature.addAgeVariable(Variable v) Adds an age variable.voidStochasticStateFeature.addAgeVariable(Variable v, BigDecimal value) Adds a deterministic age variable.voidStochasticStateFeature.addExpVariable(Variable v, BigDecimal rate) Adds an exponentially-distributed variable.voidStochasticStateFeature.addTruncatedExp(Variable v, BigDecimal rate, OmegaBigDecimal lft) Adds a truncated EXP [0, lft] to the state density.voidStochasticStateFeature.addVariable(Variable v, PartitionedFunction f) Adds a variable with the given PDF.voidStochasticStateFeature.addVariableReduced(Variable v, PartitionedFunction f, BigDecimal amount) Adds a variable with the input PDF, reduced of given amount.StochasticStateFeature.computeMeanValue(Variable v) Computes the mean value of a variable.StochasticStateFeature.conditionToMinimum(Variable v) Conditions this PDF to the event where the input variable is minimum.Returns the enabling delay of a deterministic variable with respect to a general one.StochasticStateFeature.getEXPRate(Variable v) voidDiscards all synchronization information about a variable.voidStochasticStateFeature.removeExpVariable(Variable v) voidEnablingSyncsFeature.set(Variable det, Variable gen, BigDecimal enablingTime) Returns the enabling delay of a determinstic variable with respect to a general one.voidStochasticStateFeature.setEXPRate(Variable v, BigDecimal rate) Method parameters in org.oristool.models.stpn.trees with type arguments of type VariableModifier and TypeMethodDescriptionStochasticStateFeature.getTotalExpRate(Set<Variable> expVariables) Returns the sum of rates of a subset of exponential variables.Constructor parameters in org.oristool.models.stpn.trees with type arguments of type VariableModifierConstructorDescriptionDeterministicEnablingState(Marking marking, Map<Variable, BigDecimal> enablingTimes) Builds an instance from the given marking and map of enabling times. -
Uses of Variable in org.oristool.petrinet
Methods in org.oristool.petrinet that return VariableModifier and TypeMethodDescriptionTransition.newVariableInstance()Returns the variable associated with this transition.Methods in org.oristool.petrinet that return types with arguments of type VariableModifier and TypeMethodDescriptionTransition.newVariableSetInstance(Set<Transition> transitions) Variables associated with a set of transitions.