cascading.pattern.model.clustering
Class Cluster

java.lang.Object
  extended by cascading.pattern.model.clustering.Cluster
All Implemented Interfaces:
Serializable

public class Cluster
extends Object
implements Serializable

Class Cluster represents a point in space denoted by the given collection of points which in turn represents a particular targetCategory.

See Also:
Serialized Form

Field Summary
protected  int ordinal
           
protected  double[] points
           
protected  String targetCategory
           
 
Constructor Summary
Cluster(String targetCategory, double... points)
           
Cluster(String targetCategory, List<Double> points)
           
 
Method Summary
 double[] getPoints()
           
 int getPointsSize()
           
 String getTargetCategory()
           
protected  void setOrdinal(int ordinal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ordinal

protected int ordinal

targetCategory

protected String targetCategory

points

protected double[] points
Constructor Detail

Cluster

public Cluster(String targetCategory,
               double... points)

Cluster

public Cluster(String targetCategory,
               List<Double> points)
Method Detail

setOrdinal

protected void setOrdinal(int ordinal)

getTargetCategory

public String getTargetCategory()

getPoints

public double[] getPoints()

getPointsSize

public int getPointsSize()


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.