Uses of Class
org.deeplearning4j.graph.api.Vertex
-
-
Uses of Vertex in org.deeplearning4j.graph
Methods in org.deeplearning4j.graph that return Vertex Modifier and Type Method Description Vertex<V>
Graph. getRandomConnectedVertex(int vertex, Random rng)
Vertex<V>
Graph. getVertex(int idx)
Vertex<V>
VertexSequence. next()
Methods in org.deeplearning4j.graph that return types with arguments of type Vertex Modifier and Type Method Description List<Vertex<V>>
Graph. getConnectedVertices(int vertex)
List<Vertex<V>>
Graph. getVertices(int[] indexes)
List<Vertex<V>>
Graph. getVertices(int from, int to)
Constructor parameters in org.deeplearning4j.graph with type arguments of type Vertex Constructor Description Graph(List<Vertex<V>> vertices)
Graph(List<Vertex<V>> vertices, boolean allowMultipleEdges)
-
Uses of Vertex in org.deeplearning4j.graph.api
Methods in org.deeplearning4j.graph.api that return Vertex Modifier and Type Method Description Vertex<V>
IGraph. getRandomConnectedVertex(int vertex, Random rng)
Randomly sample a vertex connected to a given vertex.Vertex<V>
IGraph. getVertex(int idx)
Get a vertex in the graph for a given indexMethods in org.deeplearning4j.graph.api that return types with arguments of type Vertex Modifier and Type Method Description List<Vertex<V>>
IGraph. getConnectedVertices(int vertex)
Get a list of all of the vertices that the specified vertex is connected to
Specifically, for undirected graphs return list of all X such that (vertex -- X) exists
For directed graphs, return list of all X such that (vertex -> X) existsList<Vertex<V>>
IGraph. getVertices(int[] indexes)
Get multiple vertices in the graphList<Vertex<V>>
IGraph. getVertices(int from, int to)
Get multiple vertices in the graph, with secified indices -
Uses of Vertex in org.deeplearning4j.graph.data
Methods in org.deeplearning4j.graph.data that return types with arguments of type Vertex Modifier and Type Method Description List<Vertex<V>>
VertexLoader. loadVertices(String path)
-
Uses of Vertex in org.deeplearning4j.graph.data.impl
Methods in org.deeplearning4j.graph.data.impl that return types with arguments of type Vertex Modifier and Type Method Description List<Vertex<String>>
DelimitedVertexLoader. loadVertices(String path)
-
Uses of Vertex in org.deeplearning4j.graph.models
Methods in org.deeplearning4j.graph.models with parameters of type Vertex Modifier and Type Method Description org.nd4j.linalg.api.ndarray.INDArray
GraphVectors. getVertexVector(Vertex<V> vertex)
double
GraphVectors. similarity(Vertex<V> vertex1, Vertex<V> vertex2)
-
Uses of Vertex in org.deeplearning4j.graph.models.embeddings
Methods in org.deeplearning4j.graph.models.embeddings with parameters of type Vertex Modifier and Type Method Description org.nd4j.linalg.api.ndarray.INDArray
GraphVectorsImpl. getVertexVector(Vertex<V> vertex)
double
GraphVectorsImpl. similarity(Vertex<V> vertex1, Vertex<V> vertex2)
Returns the cosine similarity of the vector representations of two vertices in the graph -
Uses of Vertex in org.deeplearning4j.graph.vertexfactory
Methods in org.deeplearning4j.graph.vertexfactory that return Vertex Modifier and Type Method Description Vertex<Integer>
IntegerVertexFactory. create(int vertexIdx)
Vertex<String>
StringVertexFactory. create(int vertexIdx)
Vertex<T>
VertexFactory. create(int vertexIdx)
Vertex<Void>
VoidVertexFactory. create(int vertexIdx)
-