public abstract class Discretes.Bounded.M extends Discretes.M
Model.Defaults, Model.Transform
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Method and Description |
---|---|
Discretes.Bounded |
asUPModel()
Return a
Bounded that always produces 'this'
Bounded.M. |
Value.Tuple |
bounds() |
int |
lwb_n()
lwb() .n() |
Value |
lwb()
Return Bounded.this.
lwb() . |
int |
random_n()
Return a random int in the range of 'this' Model; this
default is rather inefficient; is called by
random() . |
Value |
random()
Return a random Value in the range of 'this' Model.
|
Vector |
random(int n)
Calls
random_n() n times. |
Series.Discrete |
randomSeries()
|
Type |
type()
This Model's Type is Model of the
bounds' Type. |
int |
upb_n()
upb() .n() |
Value |
upb()
Return Bounded.this.
upb() . |
asEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, nlLH, statParams, stats, stats, sumNlPr, transform, zeroTriv
public M(double msg1, double msg2, Value sp)
public Value.Tuple bounds()
public int lwb_n()
lwb()
.n() public int upb_n()
upb()
.n() public Value random()
random_n()
.public int random_n()
random()
.random_n
in class Discretes.M
public Vector random(int n)
random_n()
n times.public Series.Discrete randomSeries()
randomSeries
in class Model
public Discretes.Bounded asUPModel()
Bounded
that always produces 'this'
Bounded.M. Note, the result has lwb()
and
upb()
. Also see Model.asUPModel()
.