public class MotifA extends Graphs.Motifs
Modifier and Type | Class and Description |
---|---|
class |
MotifA.M
The fully parameterised MotifA 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
Modifier and Type | Field and Description |
---|---|
int |
sgMaxV
Bounds [sgMinV, sgMaxV] on |V| for the motifs (patterns)
that the
estimator will search for
(but not necessarily find). |
int |
sgMinV
Bounds [sgMinV, sgMaxV] on |V| for the motifs (patterns)
that the
estimator will search for
(but not necessarily find). |
Discretes.Bounded |
upmE
|
mdlMotif, mdlNmotifs, verbosity
Modifier and Type | Method and Description |
---|---|
UPModel.Est |
estimator(Value ps)
Return an Estimator for a Motif
Model . |
MotifA.M |
sp2Model(double msg1,
double msg2,
Value sp)
Return a fully parameterised MotifA
Model . |
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)
Sufficient statistics are elements [lo, hi)
of the data-set ds itself.
|
greedy, greedy, msgMotifs, msgMotifs
public final Discretes.Bounded upmE
public final int sgMinV
public final int sgMaxV
public MotifA(Value dp)
public Vector stats(Vector ds, int lo, int hi)
public Vector stats(boolean add, Value ss0, Value ss1)
UPModel
stats(ds,lo,hi)
.public MotifA.M sp2Model(double msg1, double msg2, Value sp)
Model
.sp2Model
in class Graphs.Motifs
public UPModel.Est estimator(Value ps)