de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class Cluster<O extends DatabaseObject>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.algorithm.result.clustering.Cluster<O>
- Type Parameters:
O
- the type of DatabaseObjects handled by this Result
- All Implemented Interfaces:
- DatabaseObject, Loggable
public class Cluster<O extends DatabaseObject>
- extends AbstractLoggable
- implements DatabaseObject
todo arthur comment
- Author:
- Arthur Zimek
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private int id
clusterIDs
private int[] clusterIDs
model
private Result<O extends DatabaseObject> model
Cluster
public Cluster(int[] clusterIDs)
Cluster
public Cluster(Integer[] clusterIDs)
getID
public Integer getID()
- Description copied from interface:
DatabaseObject
- Returns the unique id of this database object.
- Specified by:
getID
in interface DatabaseObject
- Returns:
- the unique id of this database object
- See Also:
DatabaseObject.getID()
setID
public void setID(Integer id)
- Description copied from interface:
DatabaseObject
- Sets the id of this database object. The id must be unique within one
database.
- Specified by:
setID
in interface DatabaseObject
- Parameters:
id
- the id to be set- See Also:
DatabaseObject.setID(java.lang.Integer)
getClusterIDs
public int[] getClusterIDs()
getModel
public Result<O> getModel()
setModel
public void setModel(Result<O> model)