Package | Description |
---|---|
org.deeplearning4j.models.sequencevectors.graph.primitives |
Modifier and Type | Method and Description |
---|---|
List<Edge<E>> |
Graph.getEdgesOut(int vertex) |
List<Edge<E>> |
IGraph.getEdgesOut(int vertex)
Returns a list of edges for a vertex with a given index
For undirected graphs, returns all edges incident on the vertex
For directed graphs, only returns outward directed edges
|
Modifier and Type | Method and Description |
---|---|
void |
Graph.addEdge(Edge<E> edge) |
void |
IGraph.addEdge(Edge<E> edge)
Add an edge to the graph.
|
void |
Graph.addVertex(Vertex<V> vertex,
Edge<E> edge) |
Modifier and Type | Method and Description |
---|---|
void |
Graph.addVertex(Vertex<V> vertex,
Collection<Edge<E>> edges) |
Copyright © 2020. All rights reserved.