public interface SeedOrderInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int seed)
Adds seeds that should be used.
|
boolean |
addAll(Set<Integer> seeds)
Adds seeds that should be used.
|
void |
clear()
Clears all data.
|
Integer |
getBestSeed()
Gets the next best seed that should be used for clustering.
|
Set<Integer> |
getUnusedSeeds(Set<Integer> nodes)
Gets true if nodes contains seeds that we use next times.
|
boolean |
hasUnusedSeeds(Set<Integer> nodes)
Gets true if nodes contains seeds that we use next times.
|
boolean |
update(Set<Integer> cluster)
Updates the seed order.
|
boolean addAll(Set<Integer> seeds)
clear() call.seeds - boolean add(int seed)
clear() call.seed - boolean update(Set<Integer> cluster)
a - cluster, the size of the cluster is used by some policiesSet<Integer> getUnusedSeeds(Set<Integer> nodes)
nodes - boolean hasUnusedSeeds(Set<Integer> nodes)
nodes - Integer getBestSeed()
void clear()
Copyright © 2014. All rights reserved.