public class MicroCluster extends Object implements DistanceFunctions.EuclideanCoordinate, Comparable<MicroCluster>
| Modifier and Type | Field and Description |
|---|---|
ISBIndex.ISBNode |
mcc |
ArrayList<ISBIndex.ISBNode> |
nodes |
| Constructor and Description |
|---|
MicroCluster(ISBIndex.ISBNode mcc) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddNode(ISBIndex.ISBNode node) |
int |
compareTo(MicroCluster that) |
int |
dimensions()
The number of dimensions.
|
boolean |
equals(Object obj) |
double |
get(int index)
A method to access the
index-th component of the coordinate. |
int |
GetNodesCount() |
void |
RemoveNode(ISBIndex.ISBNode node) |
public ISBIndex.ISBNode mcc
public ArrayList<ISBIndex.ISBNode> nodes
public MicroCluster(ISBIndex.ISBNode mcc)
public void AddNode(ISBIndex.ISBNode node)
public void RemoveNode(ISBIndex.ISBNode node)
public int GetNodesCount()
public int dimensions()
DistanceFunctions.EuclideanCoordinatedimensions in interface DistanceFunctions.EuclideanCoordinatepublic double get(int index)
DistanceFunctions.EuclideanCoordinateindex-th component of the coordinate.get in interface DistanceFunctions.EuclideanCoordinateindex - The index of the component. Must be less than DistanceFunctions.EuclideanCoordinate.dimensions().public int compareTo(MicroCluster that)
compareTo in interface Comparable<MicroCluster>Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.