public class Cluster extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.Builder
Builder for
Cluster instances. |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.Builder |
builder()
Creates a builder that builds
Cluster
instances based on defaults: no numArray, no
name, no id, size set to -1. |
String |
getId()
Get the id of this
Cluster. |
String |
getName()
Get the name of this
Cluster. |
double[] |
getNumArray()
Gets the numArray of this
Cluster. |
long |
getSize()
Get the size of this
Cluster. |
double |
getSumSquaresNumArray()
Gets the sum of squared values of the numArray of this
Cluster. |
public double[] getNumArray()
Cluster.Clusterpublic double getSumSquaresNumArray()
Cluster.Clusterpublic static Cluster.Builder builder()
Cluster
instances based on defaults: no numArray, no
name, no id, size set to -1.Cluster.BuilderCopyright © 2016 Actian Corporation. All rights reserved.