public static class Graphs.GERfixed extends Graphs.IndependentEdges
Graphs.IndependentEdges
Model where
upmE()
is MultiState
over
[0, 1]. In particular, the statistical parameters of
Graphs.IndependentEdges.M.mdlE()
control the probability of a possible Edge existing.
The fully parameterised Model is Graphs.GERfixed.M
.
(GERadaptive
is closely related.)
Also seeModifier and Type | Class and Description |
---|---|
class |
Graphs.GERfixed.M
The fully parameterised Gilbert, Erdos-Renyi Model of Graphs.
|
Graphs.GERadaptive, Graphs.GERfixed, Graphs.IndependentEdges, Graphs.Motifs, Graphs.Skewed
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
upmE
Modifier and Type | Method and Description |
---|---|
Discretes.Bounded.M |
ds2mdlE(Value ps,
Vector ds)
Estimate a Discretes.Bounded.M, of Edge existence
(0/1, false/true) from 'ds', a data-set of Graphs.
|
UPModel.Est |
estimator(Value ps)
Graphs.IndependentEdges.estimator(la.la.Value) (pair(ps,triv)),
the triv for MultiState's estimator. |
Graphs.GERfixed.M |
sp2Model(double msg1,
double msg2,
Value sp)
Given two-part message lengths msg1 & msg2, and statistical
parameter sp, return a fully parameterised
M-Model . |
upmE
public GERfixed(Value dp)
gType
,
upmV()
〉. upmE()
is
MultiState
over [0,1].public Discretes.Bounded.M ds2mdlE(Value ps, Vector ds)
Graphs.IndependentEdges
upmE
's
estimator(ps)
. Also see Graphs.IndependentEdges.M.mdlE()
.ds2mdlE
in class Graphs.IndependentEdges
public UPModel.Est estimator(Value ps)
Graphs.IndependentEdges.estimator(la.la.Value)
(pair(ps,triv)),
the triv for MultiState's estimator.estimator
in class Graphs.IndependentEdges
public Graphs.GERfixed.M sp2Model(double msg1, double msg2, Value sp)
UPModel
M-Model
.
If 'this' UPModel produces a Model m, then
sp2Model(m.msg1(), m.msg2(), m.statParams())
must be equivalent to m. Also see apply(sp)
.sp2Model
in class Graphs.IndependentEdges