public class MotifA.M extends Graphs.Motifs.M
Model.Defaults, Model.TransformValue.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 |
|---|---|
Discretes.Bounded.M |
mdlE
|
protected Graph[] |
motifs
The motifs (patterns, templates), sorted (down) on |V|,
that can be used to compress a given Graph.
|
int |
sgMaxV
|V| for the smallest and largest of the
motifs[.]. |
int |
sgMinV
|V| for the smallest and largest of the
motifs[.]. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(int depth,
Graph m,
int[] mvs,
Graph sent,
int[] tvs) |
Graph[] |
motifs()
Returns
motifs[];
see Graphs.Motifs.M.motifs(). |
double |
nlLH(Value ss)
ss =
stats(ds,lo,hi), requires
that ss is ds, the Vector (data-set) of Graphs itself. |
double |
nlPr(Value G)
The negative log probability of datum (Graph) G.
|
int |
rec(int depth,
Graph m,
int[] mvs,
int[] parent,
Graph sent,
int[] tvs,
java.util.BitSet tUsed)
Try to match vertex mvs[depth] of m to a Vertex of 'sent' that
is joined to tvs[parent[depth]] of 'sent'.
|
boolean |
subGiso(Graph m,
Graph sent,
int tv,
int mustUse,
boolean jnd)
mv:tv, and mw:mustUse (where mv--mw), and then the rest.
|
msgMotifs, msgMotifsasEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTrivpublic final Discretes.Bounded.M mdlE
Adaptive) Model of
that part of the Adjacency Matrix not covered by instances of
motifs[.]. Also see MotifA.upmE.protected final Graph[] motifs
estimated.public final int sgMinV
motifs[.].
Also see the different MotifA.sgMinV and sgMaxV.public final int sgMaxV
motifs[.].
Also see the different MotifA.sgMinV and sgMaxV.public M(double msg1,
double msg2,
Value sp)
public Graph[] motifs()
motifs[];
see Graphs.Motifs.M.motifs().motifs in class Graphs.Motifs.Mpublic double nlLH(Value ss)
stats(ds,lo,hi), requires
that ss is ds, the Vector (data-set) of Graphs itself.public double nlPr(Value G)
public boolean subGiso(Graph m, Graph sent, int tv, int mustUse, boolean jnd)
public int rec(int depth,
Graph m,
int[] mvs,
int[] parent,
Graph sent,
int[] tvs,
java.util.BitSet tUsed)