Lines Matching defs:cluster
70 // update cluster center
94 // centers. Note that if the cluster is consolidated for the first time,
95 // the weight for the existing cluster would be zero.
112 * if the new created cluster whose covered area overlaps with any existing
113 * cluster move the center away from that cluster till there is no overlap.
115 public void moveAwayCluster(LocationCluster cluster, float distance) {
120 dot += mCenter[i] * cluster.mCenter[i];
124 vector[i] = mCenter[i] - dot * cluster.mCenter[i];
131 mCenter[i] = cluster.mCenter[i] * Math.cos(radian) +