public class SyncEpidemicCommunityAlgorithm extends EpidemicCommunityAlgorithm
| Constructor and Description |
|---|
SyncEpidemicCommunityAlgorithm() |
SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph) |
SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph,
String marker) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Compute an iteration of the algorithm for all the nodes of the network.
|
void |
computeNode(org.graphstream.graph.Node node)
Perform computation of one iteration of the algorithm on a given node
using the epidemic label propagation algorithm.
|
void |
terminate()
Terminate the dynamic algorithm.
|
attributeChanged, edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, getMarker, getRandom, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, init, init, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved, setMarker, setRandom, staticMode, stepBeginspublic SyncEpidemicCommunityAlgorithm()
public SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph)
public SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph,
String marker)
public void terminate()
DynamicAlgorithmterminate in interface DynamicAlgorithmterminate in class DecentralizedCommunityAlgorithmAlgorithm.init(org.graphstream.graph.Graph)public void compute()
DecentralizedCommunityAlgorithmcompute in interface Algorithmcompute in class DecentralizedCommunityAlgorithmAlgorithm.init(Graph)public void computeNode(org.graphstream.graph.Node node)
EpidemicCommunityAlgorithmcomputeNode in class EpidemicCommunityAlgorithmCopyright © 2015. All rights reserved.