Enum ProcessType
- All Implemented Interfaces:
Serializable,Comparable<ProcessType>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessTypestatic ProcessTypestatic booleanTrue when sn.proc carries an exact matrix representation of a process of this type: a genuine (D0,D1) pair, or its matrix-exponential analogue for ME/RAP.static StringtoText(ProcessType type) static ProcessTypeReturns the enum constant of this type with the specified name.static ProcessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXP
-
ERLANG
-
DISABLED
-
IMMEDIATE
-
HYPEREXP
-
APH
-
COXIAN
-
PH
-
MAP
-
DMAP
-
UNIFORM
-
DET
-
GAMMA
-
PARETO
-
WEIBULL
-
LOGNORMAL
-
MMPP2
-
BMAP
-
MMAP
-
ME
-
RAP
-
REPLAYER
-
TRACE
-
COX2
-
BINOMIAL
-
POISSON
-
GEOMETRIC
-
DUNIFORM
-
BERNOULLI
-
PRIOR
-
DISCRETESAMPLER
-
ZIPF
-
NHPP
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromDistribution
-
isMarkovian
True when sn.proc carries an exact matrix representation of a process of this type: a genuine (D0,D1) pair, or its matrix-exponential analogue for ME/RAP.The distinction is about sn.proc, NOT about what
returns. getProcess hands back raw distribution PARAMETERS for several non-Markovian families -- Gamma, Weibull, Lognormal, Pareto and Uniform return two scalars (Pareto {alpha,k}, Uniform {min,max}) -- and the network refresh replaces those with map_erlang(mean, n) before storing them in sn.proc, where n = ceil(1/SCV) capped at 100 (n = 20 when SCV < CoarseTol). That fit matches the mean, and matches the SCV only when SCV <= 1: Pareto with SCV 64 gives n = 1, a single exponential of SCV 1. So for these types sn.proc is an approximation, not the law that was requested, and nothing on the cell says so -- the only signal is sn.procid.invalid reference
jline.lang.processes.Distribution#getProcess()Solvers that read sn.proc as if it were the exact law must gate on this predicate. It is the procid-level counterpart of Distribution.isMarkovian(), i.e. of the Markovian class hierarchy, so the two must stay in step.
- Parameters:
t- process type- Returns:
- true if sn.proc holds the exact law for this type
-
fromText
-
toText
-