public abstract class Graphs.IndependentEdges.M extends Graphs.M
mdlV
and mdlE
.
Graphs.GERfixed.M
and Graphs.GERadaptive.M
are useful
special cases of 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 | Field and Description |
---|---|
protected Discretes.Bounded.M |
mdlE
The Model of Edge existence.
|
Modifier | Constructor and Description |
---|---|
protected |
M(double msg1,
double msg2,
Value sp)
Constructor only for use by
Graphs.GERfixed.M and the like. |
Modifier and Type | Method and Description |
---|---|
Discretes.Bounded.M |
mdlE()
The fully parameterised Model of the existence of Edges.
|
double |
nlPr(Value g)
The negative log probability of a Graph datum 'g';
it costs (i) |V| and (ii) the adjacency matrix.
|
Graph |
random()
Generate a random (unlabelled) Graph, Directed or
Undirected according to
gType . |
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
protected Discretes.Bounded.M mdlE
mdlE()
.
Some constructor must set mdlE.protected M(double msg1, double msg2, Value sp)
Graphs.GERfixed.M
and the like.public Discretes.Bounded.M mdlE()
Graphs.IndependentEdges.upmE()
.public double nlPr(Value g)
nlLH(ss)
.