public class Graphing
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Graph |
C3
Some possible motifs (subgraphs).
|
static Graph |
C4
Some possible motifs (subgraphs).
|
static Graph |
CD4
Some possible motifs (subgraphs).
|
static Graph |
CD5
Some possible motifs (subgraphs).
|
static Graph |
CD6
Some possible motifs (subgraphs).
|
static Type.Tuple |
Chars2
'CHARS × CHARS' Type, i.e.,
a pair of
CHARS (Strings). |
static Graph |
FFL
Some possible motifs (subgraphs).
|
static Graph |
FFL4
Some possible motifs (subgraphs).
|
static Type |
Gtype
The Type is
Directed.unlabelled in this case. |
static Graph |
K22
Some possible motifs (subgraphs).
|
static Graph |
K23
Some possible motifs (subgraphs).
|
static Graph |
K33
Some possible motifs (subgraphs).
|
static Graph |
K5
Some possible motifs (subgraphs).
|
static Graph |
KD23
Some possible motifs (subgraphs).
|
static Graph |
KD33
Some possible motifs (subgraphs).
|
static Graph |
M5
Some possible motifs (subgraphs).
|
static Discretes |
Poisson1
Poisson1 =
Poisson0 .shifted(1) . |
static Graph |
STAR3
Some possible motifs (subgraphs).
|
static Graph |
STAR4
Some possible motifs (subgraphs).
|
static Graph |
STAR5
Some possible motifs (subgraphs).
|
static Graph |
STAR6
Some possible motifs (subgraphs).
|
static Graph |
W5
Some possible motifs (subgraphs).
|
Constructor and Description |
---|
Graphing() |
Modifier and Type | Method and Description |
---|---|
static Vector |
getData(java.lang.String filename)
Get the raw String data (two columns: v0 v1)
defining a Graph from the named file using
Vector.csv(boolean, boolean, char, la.la.Type.Tuple, int, java.io.InputStream) . |
static Graph |
getGraph(java.lang.String filename)
Get the graph from 'filename'.
|
static void |
greedy(Graphs.Motifs[] UMMs,
Graph[] motifs,
Value.Cts V_cts,
Graph G)
For each of several UnParameterised Motifs Models of Graphs
UMMs[0], UMMs[1], ..., and one Graph 'G' do
greedy(,,,[G]) . |
static void |
greedy(Graphs.Motifs[] UMMs,
Graph[] motifs,
Value.Cts V_cts,
Graph[] Gs)
For each of several UnParameterised Motifs Models of Graphs
UMMs[0], UMMs[1], ..., and data-set of Graphs 'Gs' do
greedy(,,,Gs) . |
static void |
greedy(Graphs.Motifs UMM,
Graph[] motifs,
Value.Cts V_cts,
Graph G)
For UnParameterised
Motifs Model of
Graphs 'UMM' and one Graph 'G' do
greedy(,,,[G]) . |
static void |
greedy(Graphs.Motifs UMM,
Graph[] motifs,
Value.Cts V_cts,
Graph[] Gs)
For UnParameterised
Motifs Model of
Graphs 'UMM', perform a
greedy(,,)
search to select zero or more of several given candidate
'motifs' (subGraphs) to form a fully-parameterised Model. |
static void |
main(java.lang.String[] argv)
Analyse the Graph defined in the nominated file.
|
static void |
tests(int V)
Perform some elementary tests of Graph Models on
random Graphs of 'V' vertices.
|
public static Type.Tuple Chars2
CHARS
(Strings).public static Type Gtype
Directed.unlabelled
in this case.public static Discretes Poisson1
Poisson0
.shifted(1)
.public static final Graph K5
public static final Graph K22
public static final Graph K23
public static final Graph K33
public static final Graph KD23
public static final Graph KD33
public static final Graph C3
public static final Graph C4
public static final Graph CD4
public static final Graph CD5
public static final Graph CD6
public static final Graph STAR3
public static final Graph STAR4
public static final Graph STAR5
public static final Graph STAR6
public static final Graph W5
public static final Graph M5
public static final Graph FFL
public static final Graph FFL4
public static void tests(int V)
public static Vector getData(java.lang.String filename)
Vector.csv(boolean, boolean, char, la.la.Type.Tuple, int, java.io.InputStream)
.
Used in getGraph(fn)
.public static Graph getGraph(java.lang.String filename)
getData(...)
.public static void greedy(Graphs.Motifs UMM, Graph[] motifs, Value.Cts V_cts, Graph[] Gs)
Motifs
Model of
Graphs 'UMM', perform a
greedy(,,)
search to select zero or more of several given candidate
'motifs' (subGraphs) to form a fully-parameterised Model.
'Gs' is the data-set of Graphs being modelled.public static void greedy(Graphs.Motifs[] UMMs, Graph[] motifs, Value.Cts V_cts, Graph[] Gs)
greedy(,,,Gs)
.public static void greedy(Graphs.Motifs[] UMMs, Graph[] motifs, Value.Cts V_cts, Graph G)
greedy(,,,[G])
.public static void greedy(Graphs.Motifs UMM, Graph[] motifs, Value.Cts V_cts, Graph G)
Motifs
Model of
Graphs 'UMM' and one Graph 'G' do
greedy(,,,[G])
.public static void main(java.lang.String[] argv)