|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbcds.phison.clustering.ClustererBase<V,E>
bcds.phison.clustering.Dummy<V,E>
public class Dummy<V,E>
Dummy creates one "cluster" per node. In fact, no clustering is created (hence, Dummy).
| Constructor Summary | |
|---|---|
Dummy()
Default constructor. |
|
Dummy(SimGraph<V,E> g)
Creates a new instance with edge cost set to 1 and an empty environment. |
|
| Method Summary | |
|---|---|
java.util.Map<V,java.lang.Integer> |
run()
Returns each node assigned to its own cluster. |
| Methods inherited from class bcds.phison.clustering.ClustererBase |
|---|
dump, getEnviron, getEnvParams, getName, getNodeMapping, groupByClusterId, setNodeMapping, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bcds.phison.clustering.Clusterer |
|---|
getNodeMapping, groupByClusterId, setNodeMapping, setup |
| Methods inherited from interface bcds.phison.WithEnvParams |
|---|
getEnviron, getEnvParams, getName |
| Constructor Detail |
|---|
public Dummy()
public Dummy(SimGraph<V,E> g)
| Method Detail |
|---|
public java.util.Map<V,java.lang.Integer> run()
run in interface Clusterer<V,E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||