public class WallaceInt0UPM extends Discretes
WallaceInt0
should be enough for most
purposes but here are the classes, UnParameterised (WallaceInt0UPM) and
fully (trivially) parameterised
(M).Modifier and Type | Class and Description |
---|---|
class |
WallaceInt0UPM.M
Model
WallaceInt0 should be enough for
most purposes but here are the classes,
fully (trivially) parameterised (M) and
UnParameterised (WallaceInt0UPM ). |
Discretes.Bounded, Discretes.Shifted, Discretes.Uniform
UPModel.Est, UPModel.Transform
Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
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 | Field and Description |
---|---|
WallaceInt0UPM.M |
Mdl
Note,
WallaceInt0 is Mdl. |
Constructor and Description |
---|
WallaceInt0UPM(Value dp)
dp=triv -- the problem defining parameter is trivial.
|
Modifier and Type | Method and Description |
---|---|
Estimator |
estimator(Value t)
Return the trivial Estimator of
WallaceInt0 . |
WallaceInt0UPM.M |
sp2Model(double msg1,
double msg2,
Value sp)
Return
WallaceInt0 essentially,
with msg2 set. |
Vector |
stats(boolean add,
Value ss0,
Value ss1)
Combine sufficient statisticses 'ss0' and 'ss1' additively
(add=true), or remove ss1 from ss0 (add=false).
|
Vector |
stats(Vector ds,
int lo,
int hi)
Return
|
java.lang.String |
toString()
Return a String representation of 'this' UnParameterised Model,
including its problem-
defining parameters. |
public final WallaceInt0UPM.M Mdl
WallaceInt0
is Mdl.public WallaceInt0UPM(Value dp)
public Vector stats(Vector ds, int lo, int hi)
here
.public Vector stats(boolean add, Value ss0, Value ss1)
UPModel
stats(ds,lo,hi)
.public WallaceInt0UPM.M sp2Model(double msg1, double msg2, Value sp)
WallaceInt0
essentially,
with msg2 set. Note that msg1=0 and sp=triv.public Estimator estimator(Value t)
WallaceInt0
.