Class NodeEmbedding<V>

  • Type Parameters:
    V - the type of nodes in the graph
    All Implemented Interfaces:
    Serializable, Supplier<V>, org.apache.commons.math3.ml.clustering.Clusterable

    public class NodeEmbedding<V>
    extends org.apache.commons.math3.ml.clustering.DoublePoint
    implements Supplier<V>
    Coordinates of the graph node.
    See Also:
    Serialized Form
    • Constructor Detail

      • NodeEmbedding

        public NodeEmbedding​(V node,
                             double[] point)
        Create an instance of node coordinates.
        Parameters:
        node - the node
        point - the coordinates
    • Method Detail

      • get

        public V get()
        Specified by:
        get in interface Supplier<V>