Class PowerIterationClustering.Assignment

Object
org.apache.spark.mllib.clustering.PowerIterationClustering.Assignment
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing class:
PowerIterationClustering

public static class PowerIterationClustering.Assignment extends Object implements scala.Product, Serializable
Cluster assignment. param: id node id param: cluster assigned cluster id
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Assignment(long id, int cluster)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    long
    id()
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • Assignment

      public Assignment(long id, int cluster)
  • Method Details

    • id

      public long id()
    • cluster

      public int cluster()