public interface GraphVectors<V,E>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
IGraph<V,E> |
getGraph() |
int |
getVectorSize() |
org.nd4j.linalg.api.ndarray.INDArray |
getVertexVector(int vertexIdx) |
org.nd4j.linalg.api.ndarray.INDArray |
getVertexVector(Vertex<V> vertex) |
int |
numVertices() |
double |
similarity(int vertexIdx1,
int vertexIdx2) |
double |
similarity(Vertex<V> vertex1,
Vertex<V> vertex2) |
int[] |
verticesNearest(int vertexIdx,
int top) |