Uses of Class
org.oristool.math.OmegaBigDecimal
Package
Description
Provides classes for the encoding and manipulation of PDFs.
PDF supports.
Expolynomial densities.
PDF densities.
Calculus of stochastic state classes.
Analysis of TPNs.
-
Uses of OmegaBigDecimal in org.oristool.math
Modifier and TypeFieldDescriptionstatic final OmegaBigDecimal
OmegaBigDecimal.NEGATIVE_INFINITY
static final OmegaBigDecimal
OmegaBigDecimal.ONE
static final OmegaBigDecimal
OmegaBigDecimal.POSITIVE_INFINITY
static final OmegaBigDecimal
OmegaBigDecimal.TEN
static final OmegaBigDecimal
OmegaBigDecimal.ZERO
Modifier and TypeMethodDescriptionOmegaBigDecimal.abs()
Returns the absolute value of this number.OmegaBigDecimal.add
(OmegaBigDecimal augend) Returns anOmegaBigDecimal
whose value is(this + augend)
.OmegaBigDecimal.divide
(BigDecimal divisor, MathContext mc) Returns aOmegaBigDecimal
whose value is(this / divisor)
, with rounding according to the context settings.OmegaBigDecimal.max
(OmegaBigDecimal val) Returns the maximum of thisOmegaBigDecimal
andval
.OmegaBigDecimal.min
(OmegaBigDecimal val) Returns the minimum of thisOmegaBigDecimal
andval
.OmegaBigDecimal.multiply
(OmegaBigDecimal multiplicand) Returns anOmegaBigDecimal
whose value isthis * multiplicand
.OmegaBigDecimal.negate()
Returns the opposite of this number.OmegaBigDecimal.pow
(int n) Returns anOmegaBigDecimal
whose value isthis^n
.OmegaBigDecimal.subtract
(OmegaBigDecimal subtrahend) Returns anOmegaBigDecimal
whose value is(this - subtrahend)
.OmegaBigDecimal.toLeftNeighborhood()
Returns the left neighborhood of this value.OmegaBigDecimal.toRightNeighborhood()
Returns the right neighborhood of this value.Modifier and TypeMethodDescriptionOmegaBigDecimal.add
(OmegaBigDecimal augend) Returns anOmegaBigDecimal
whose value is(this + augend)
.int
OmegaBigDecimal.compareTo
(OmegaBigDecimal o) OmegaBigDecimal.max
(OmegaBigDecimal val) Returns the maximum of thisOmegaBigDecimal
andval
.OmegaBigDecimal.min
(OmegaBigDecimal val) Returns the minimum of thisOmegaBigDecimal
andval
.OmegaBigDecimal.multiply
(OmegaBigDecimal multiplicand) Returns anOmegaBigDecimal
whose value isthis * multiplicand
.OmegaBigDecimal.subtract
(OmegaBigDecimal subtrahend) Returns anOmegaBigDecimal
whose value is(this - subtrahend)
. -
Uses of OmegaBigDecimal in org.oristool.math.domain
Modifier and TypeMethodDescriptionReturns the upper bound for the differenceleft-right
between two variables, which is the constantc
of a constraintleft-right <= c
.DBMZone.getCoefficient
(Variable left, Variable right) Returns the constantc
for the constraintleft-right <= c
.DBMZone.Subzone.getMaxVarAdvance()
Returns the minimum value that any of the input variables can take inside this zone.DBMZone.Subzone.getMinVarDelay()
Modifier and TypeMethodDescriptionvoid
DBMZone.imposeBound
(Variable left, Variable right, OmegaBigDecimal coefficient) Imposes an upper bound for the differenceleft-right
.void
DBMZone.setCoefficient
(Variable left, Variable right, OmegaBigDecimal coefficient) Sets the constantc
for the constraintsleft-right
.Modifier and TypeMethodDescriptionboolean
DBMZone.contains
(Map<Variable, OmegaBigDecimal> point) Checks if this zone contains the input point.ModifierConstructorDescriptionSubzone
(DBMZone domain, Variable projectedVar, Variable minVar, OmegaBigDecimal minVarDelay, Variable maxVar, OmegaBigDecimal maxVarAdvance) Creates a representation of a subzone resulting from a projection. -
Uses of OmegaBigDecimal in org.oristool.math.expression
Modifier and TypeMethodDescriptionAtomicTerm.evaluate
(OmegaBigDecimal value) Evaluates the atomic term substituting value to its variable.Exmonomial.evaluate
(Map<Variable, OmegaBigDecimal> m) Evaluates the exmonomial.Expolynomial.evaluate
(Map<Variable, OmegaBigDecimal> m) Evaluates the expolynomial.ExponentialTerm.evaluate
(OmegaBigDecimal value) MonomialTerm.evaluate
(OmegaBigDecimal value) Expolynomial.getConstant()
Returns the constant value of this expolynomial of throws anIllegalStateException
exception if the expolynomial is not constant.Exmonomial.getConstantTerm()
Gets the constant multiplier of the term.Modifier and TypeMethodDescriptionAtomicTerm.evaluate
(OmegaBigDecimal value) Evaluates the atomic term substituting value to its variable.Exmonomial.evaluate
(Variable var, OmegaBigDecimal value) Replaces a variable with its value.Expolynomial.evaluate
(Variable var, OmegaBigDecimal value) Replaces a variable with its value.ExponentialTerm.evaluate
(OmegaBigDecimal value) MonomialTerm.evaluate
(OmegaBigDecimal value) Exmonomial.integrate
(Variable var, OmegaBigDecimal lower, OmegaBigDecimal upper) Integrates this exmonomial over an interval.Expolynomial.integrate
(Variable var, OmegaBigDecimal lower, OmegaBigDecimal upper) Integrates this expolynomial over an interval.void
Exmonomial.multiply
(OmegaBigDecimal c) Multiplies this exmonomial by a constant.static Expolynomial
Expolynomial.newConstantInstance
(OmegaBigDecimal value) Builds a new instance equal to a given constant.void
Exmonomial.setConstantTerm
(OmegaBigDecimal constantTerm) Sets the constant multiplier of the term.Modifier and TypeMethodDescriptionExmonomial.evaluate
(Map<Variable, OmegaBigDecimal> m) Evaluates the exmonomial.Expolynomial.evaluate
(Map<Variable, OmegaBigDecimal> m) Evaluates the expolynomial.ModifierConstructorDescriptionExmonomial
(OmegaBigDecimal constantTerm) Builds a constant instance. -
Uses of OmegaBigDecimal in org.oristool.math.function
Modifier and TypeMethodDescriptiondefault OmegaBigDecimal
PartitionedFunction.getDomainsEFT()
Returns the minimum value across all subdomains.default OmegaBigDecimal
PartitionedFunction.getDomainsLFT()
Returns the maximum value across all subdomains.StateDensityFunction.getMaxBound
(Set<Variable> leftVars, Set<Variable> rightVars) Returns the maximum upper bound on the differenceleft - right
between variables in two sets.StateDensityFunction.getMaxBound
(Variable left, Variable right) Returns the maximum upper bound on the differenceleft - right
between two variables.StateDensityFunction.getMinBound
(Set<Variable> leftVars, Set<Variable> rightVars) Returns the minimum upper bound on the differenceleft - right
between variables in two sets.StateDensityFunction.getMinBound
(Variable left, Variable right) Returns the minimum upper bound on the differenceleft - right
between two variables.GEN.integrateOverDomain()
Integrates the PDF over its support.PartitionedGEN.integrateOverDomain()
Integrates this PDF over the support.Modifier and TypeMethodDescriptionStateDensityFunction.conditionAllToBound
(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= bound
on 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 <= max
and normalizes the density.PartitionedGEN.conditionToBound
(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Imposes the boundmin <= v <= max
and normalizes the density.StateDensityFunction.conditionToInterval
(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Imposes the boundx <= v <= y
on the support, keeping only subzones with nonzero measure.GEN.conditionToMax
(Variable v, OmegaBigDecimal max) Imposes the boundv <= max
and normalizes the density.PartitionedGEN.conditionToMax
(Variable v, OmegaBigDecimal max) Imposes the boundv <= max
and normalizes the density.GEN.conditionToMin
(Variable v, OmegaBigDecimal min) Imposes the boundv >= min
and normalizes the density.PartitionedGEN.conditionToMin
(Variable v, OmegaBigDecimal min) Imposes the boundv >= min
and normalizes the density.void
StateDensityFunction.imposeBound
(Variable leftVar, Set<Variable> rightVars, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= bound
on the support for all pairs of left/right variables, keeping only subzones with nonzero measure.void
StateDensityFunction.imposeBound
(Variable leftVar, Variable rightVar, OmegaBigDecimal bound) Imposes the boundleftVar - rightVar <= bound
on the support, keeping only subzones with nonzero measure.void
StateDensityFunction.imposeInterval
(Variable v, OmegaBigDecimal min, OmegaBigDecimal max) Intersects the support with the input boundmin <= v <= max
on the support, keeping only subzones with nonzero measure.static GEN
GEN.newExpolynomial
(String density, OmegaBigDecimal eft, OmegaBigDecimal lft) Builds a PDF from an input string.static GEN
GEN.newTruncatedExp
(Variable v, BigDecimal rate, OmegaBigDecimal eft, OmegaBigDecimal lft) Builds the PDF of a truncated EXP.static GEN
GEN.newUniform
(OmegaBigDecimal eft, OmegaBigDecimal lft) Builds the PDF of a uniform variable. -
Uses of OmegaBigDecimal in org.oristool.models.stpn.trees
Modifier and TypeMethodDescriptionTransientStochasticStateFeature.getEnteringTimeLowerBound
(StochasticStateFeature s) Returns the lower bound on the entering time for this transient state class.TransientStochasticStateFeature.getEnteringTimeUpperBound
(StochasticStateFeature s) Returns the upper bound on the entering time for this transient state class.TruncationPolicy.getTauAgeLimit()
TransientStochasticStateFeature.getTimeUpperBound
(StochasticStateFeature s) After timeUpperBound the probability of being in this class is zero.Modifier and TypeMethodDescriptionvoid
StochasticStateFeature.addTruncatedExp
(Variable v, BigDecimal rate, OmegaBigDecimal lft) Adds a truncated EXP [0, lft] to the state density.TransientStochasticStateFeature.computeTransientClassProbability
(OmegaBigDecimal time, StochasticStateFeature s) Computes the probability of being in this class at the specified time.TransientStochasticStateFeature.computeVisitedProbability
(OmegaBigDecimal alpha, OmegaBigDecimal beta, StochasticStateFeature s) Computes the probability of reaching this class at a time within the given interval [alpha,beta].static StochasticTransitionFeature
StochasticTransitionFeature.newExpolynomial
(String density, OmegaBigDecimal eft, OmegaBigDecimal lft) Builds the stochastic feature of a transition where the timer distribution is an expolynomial.ModifierConstructorDescriptionRegenerativeComponentsFactory
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, SuccessionProcessor postProcessor, EnumerationPolicy policy, OmegaBigDecimal tauAgeLimit, StopCriterion stopCriterion, BigDecimal epsilon, int numSamples, AnalysisMonitor monitor) Builds a factory for STPN analysis.RegenerativeComponentsFactory
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, SuccessionProcessor postProcessor, EnumerationPolicy policy, OmegaBigDecimal tauAgeLimit, MarkingCondition stopCondition, BigDecimal epsilon, int numSamples, AnalysisMonitor monitor) Builds a factory for STPN analysis.StochasticComponentsFactory
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, EnumerationPolicy policy, OmegaBigDecimal tauAgeLimit, StopCriterion stopCriterion, BigDecimal epsilon, int numSamples, AnalysisMonitor monitor) Builds a factory for STPN analysis.StochasticComponentsFactory
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, EnumerationPolicy policy, OmegaBigDecimal tauAgeLimit, MarkingCondition stopCondition, BigDecimal epsilon, int numSamples, AnalysisMonitor monitor) Builds a factory for STPN analysis.StochasticSuccessionEvaluator
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, OmegaBigDecimal tauAgeLimit) Builds a succession evaluator with a given token remover and adder.TruncationPolicy
(BigDecimal epsilon, OmegaBigDecimal tauAgeLimit) Builds a truncation policy for a given time limit and allowed error (total probability mass of discarded nodes). -
Uses of OmegaBigDecimal in org.oristool.models.tpn
Modifier and TypeMethodDescriptionTimedTransitionFeature.getEFT()
TimedTransitionFeature.getLFT()
ModifierConstructorDescriptionTimeBoundStopCriterion
(OmegaBigDecimal timeBound) Builds a timed feature from minimum/maximum firing times.