public static class Directed.Dense extends Directed implements Graph.Dense
Directed.Sparse
and Undirected.Dense
.Directed.AsUndirected, Directed.C, Directed.Dense, Directed.Edge, Directed.Sparse, Directed.Vertex
Graph.Canonical, Graph.Contraction, Graph.Derived, Graph.Induced, Graph.Renumbered, Graph.SubGraph, Graph.SubGraphs, Graph.ToDirected, Graph.ToUndirected
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
unlabelled, unlabelled_O
Modifier and Type | Method and Description |
---|---|
boolean |
isEdge(int v0,
int v1)
Is 〈v0, v1〉 an Edge in 'this' Graph?
Also see
adjacent(v0,v1) . |
java.lang.String |
toString()
|
Type |
type()
Note, type(),
Graph.adjacent(int, int) ,
Graph.vLabelled() , Graph.vLabel(int) ,
Graph.eLabelled() , and Graph.eLabel(int, int) must be consistent. |
int |
vSize()
The number of Vertices, |V|≥1,
|
asUndirected, degree, dense, dense, dense, dense, dense, dense, main, sparse, toDirected
A, adjacent, arrayA, byDegree, byDegree, canonical, canonical1, canonical1R, canonical2, canonical2R, checkProperties, contraction, directPredecessors, directSuccessors, edges, edgesCorrespond, eLabel, eLabelled, eLabels, eSize, eStats, flatten, hashCode, inDegree, induced, isDirected, isomorphic, isUndirected, joinedTo, localHash, maxEdges, nAutomorphisms, outDegree, randomised, renumbered, selfLoops, structurallyIdentical, subGraphs, subGraphs, toUndirected, vLabel, vLabelled, vLabels, vPair2n
public Type type()
Graph
Graph.adjacent(int, int)
,
Graph.vLabelled()
, Graph.vLabel(int)
,
Graph.eLabelled()
, and Graph.eLabel(int, int)
must be consistent.public int vSize()
Graph
eSize()
.public boolean isEdge(int v0, int v1)
Graph
adjacent(v0,v1)
.public java.lang.String toString()
Value
printing
of
constants
, and in calls to Value.error(java.lang.String)
.
The result does not necessarily fully specify a large, or
infinite(!), Value. (This default returns the Class Name of 'this'.)
Also see print(ps)
.