|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.clustering.Cluster
public class Cluster
Represents an individual cluster, storing all examples by remembering their ids
| Constructor Summary | |
|---|---|
Cluster(int clusterId)
|
|
| Method Summary | |
|---|---|
void |
assignExample(java.lang.Object exampleId)
|
boolean |
containsExampleId(java.lang.Object id)
|
int |
getClusterId()
Get the id of the cluster. |
java.util.Collection<java.lang.Object> |
getExampleIds()
Get all ids of the examples associated with this cluster. |
int |
getNumberOfExamples()
Returns the number of examples in this cluster |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cluster(int clusterId)
| Method Detail |
|---|
public java.util.Collection<java.lang.Object> getExampleIds()
public boolean containsExampleId(java.lang.Object id)
public int getClusterId()
public int getNumberOfExamples()
public void assignExample(java.lang.Object exampleId)
public java.lang.String toString()
toString in class java.lang.Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||