Package | Description |
---|---|
edu.ucla.sspace.graph | |
edu.ucla.sspace.graph.io |
Modifier and Type | Class and Description |
---|---|
class |
DirectedMultigraph<T>
A directed multigraph implementation.
|
class |
SparseDirectedGraph
An implementation of
DirectedGraph that uses a sparse backing
representation. |
class |
WeightedDirectedMultigraph<T>
|
Modifier and Type | Method and Description |
---|---|
static <E extends DirectedEdge> |
Graphs.asDirectedGraph(Graph<E> g) |
DirectedGraph<DirectedEdge> |
SparseDirectedGraph.copy(Set<Integer> vertices)
Creates a copy of this graph containing only the specified number of
vertices and all edges between those vertices.
|
DirectedGraph<E> |
DirectedGraph.copy(Set<Integer> vertices)
Creates a copy of this graph containing only the specified number of
vertices and all edges between those vertices.
|
static DirectedGraph<DirectedEdge> |
GraphIO.readDirected(File f) |
static DirectedGraph<DirectedEdge> |
GraphIO.readDirected(File f,
Indexer<String> vertexIndexer) |
DirectedGraph |
SparseDirectedGraph.subgraph(Set<Integer> vertices)
Returns a view of this graph containing only the specified vertices where
the returned graph's vertinces are renamed (0, ..., n).
|
DirectedGraph<E> |
DirectedGraph.subgraph(Set<Integer> vertices)
Returns a view of this graph containing only the specified vertices where
the returned graph's vertinces are renamed (0, ..., n).
|
Modifier and Type | Method and Description |
---|---|
DirectedGraph<DirectedEdge> |
GraphReaderAdapter.readDirected(File f)
Reads in the directed graph from the provided file
|
DirectedGraph<DirectedEdge> |
GraphReader.readDirected(File f)
Reads in the directed graph from the provided file
|
DirectedGraph<DirectedEdge> |
EdgeListReader.readDirected(File f) |
DirectedGraph<DirectedEdge> |
GraphReaderAdapter.readDirected(File f,
Indexer<String> vertexLabels)
Reads in the directed graph from the provided file, using the specified
Indexer to decide how vertex labels in the file are mapped to
numeric vertices. |
DirectedGraph<DirectedEdge> |
GraphReader.readDirected(File f,
Indexer<String> vertexLabels)
Reads in the directed graph from the provided file, using the specified
Indexer to decide how vertex labels in the file are mapped to
numeric vertices. |
DirectedGraph<DirectedEdge> |
EdgeListReader.readDirected(File f,
Indexer<String> vertexIndexer) |
DirectedGraph<DirectedEdge> |
DotIO.readDirectedGraph(File dotFile) |
Modifier and Type | Method and Description |
---|---|
void |
DotWriter.write(DirectedGraph<? extends DirectedEdge> g,
File f) |
void |
DotWriter.write(DirectedGraph<? extends DirectedEdge> g,
File f,
Collection<Set<Integer>> groups) |
<E extends DirectedEdge> |
DotIO.writeDirectedGraph(DirectedGraph<E> g,
File f) |
Copyright © 2012. All Rights Reserved.