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, stepBegins
public SyncEpidemicCommunityAlgorithm()
public SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph)
public SyncEpidemicCommunityAlgorithm(org.graphstream.graph.Graph graph, String marker)
public void terminate()
DynamicAlgorithm
terminate
in interface DynamicAlgorithm
terminate
in class DecentralizedCommunityAlgorithm
Algorithm.init(org.graphstream.graph.Graph)
public void compute()
DecentralizedCommunityAlgorithm
compute
in interface Algorithm
compute
in class DecentralizedCommunityAlgorithm
Algorithm.init(Graph)
public void computeNode(org.graphstream.graph.Node node)
EpidemicCommunityAlgorithm
computeNode
in class EpidemicCommunityAlgorithm
Copyright © 2015. All rights reserved.