LabelType - @PublicationReference(author="Tu-Thach Quach and Jeremy D. Wendt", title="A diffusion model for maximizing influence spread in large networks", type=Conference, publication="Proceedings of the International Conference on Social Informatics", year=2016) public class SumProductDirectedPropagation<LabelType> extends SumProductInferencingAlgorithm<LabelType>
DEFAULT_EPS, DEFAULT_MAX_ITERATIONS, DEFAULT_NUM_THREADS, fn, nodes| Constructor and Description |
|---|
SumProductDirectedPropagation()
Creates a new pairwise Bayes Net solver with the default settings.
|
SumProductDirectedPropagation(int maxNumIterations)
Creates a new pairwise Bayes Net solver with the default settings
excepting max number of iterations.
|
SumProductDirectedPropagation(int maxNumIterations,
double eps,
int numThreads)
Creates a new pairwise Bayes Net solver with the specified settings.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeTemporaryMessage(int edge)
Private helper that computes the temporary message for the specified edge
for the current iteration going in the specified direction
|
getBelief, init, solvepublic SumProductDirectedPropagation(int maxNumIterations,
double eps,
int numThreads)
maxNumIterations - The maximum number of iterations that will be runeps - The stopping epsilon that will be usednumThreads - The number of threads that will be usedpublic SumProductDirectedPropagation(int maxNumIterations)
maxNumIterations - The maximum number of iterations that will be runpublic SumProductDirectedPropagation()
protected void computeTemporaryMessage(int edge)
computeTemporaryMessage in class SumProductInferencingAlgorithm<LabelType>edge - The edge to compute the temporary message for (you can't
replace the current message yet as the current message may be needed for
other edges).