public interface SamplingAlgorithm
Modifier and Type | Method and Description |
---|---|
NetworkState |
sample() |
void |
sample(java.util.Map<java.lang.Long,java.util.List<?>> samples)
Takes a sample with the algorithm and saves it in the supplied map
|
void |
step()
Same effect as a sample but the result isn't saved or returned.
|
void step()
void sample(java.util.Map<java.lang.Long,java.util.List<?>> samples)
samples
- map to store sampled vertex valuesNetworkState sample()