public final class Impact extends Object
| Modifier and Type | Method and Description |
|---|---|
static ImpactOutput |
calculate(Network network,
Distribution hypothesisQuery,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactOptions options)
Analyzes the impact of sets of evidence on the resulting probability distribution of a hypothesis variable.
|
static ImpactOutput |
calculate(Network network,
Distribution hypothesisQuery,
StateContext[] hypothesisCombination,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactOptions options)
Analyzes the impact of sets of evidence on a hypothesis query and discrete combination of that hypothesis query.
|
static ImpactOutput |
calculate(Network network,
Variable hypothesisVariable,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactOptions options)
Analyzes the impact of sets of evidence on a hypothesis state and its variable.
|
static ImpactOutput |
calculate(Network network,
Variable hypothesisVariable,
State hypothesisState,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactOptions options)
Analyzes the impact of sets of evidence on a hypothesis state and its variable.
|
static ImpactHypothesisOutput |
calculateStreamed(Network network,
Distribution hypothesisQuery,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactAction outputItem,
ImpactOptions options)
Analyzes the impact of sets of evidence on the resulting probability distribution of a hypothesis variable.
|
static ImpactHypothesisOutput |
calculateStreamed(Network network,
Distribution hypothesisQuery,
StateContext[] hypothesisState,
Evidence evidence,
List<Variable> evidenceToAnalyse,
ImpactAction outputItem,
ImpactOptions options)
Analyzes the impact of sets of evidence on a hypothesis query and discrete combination of that hypothesis query.
|
public static ImpactOutput calculate(Network network, Variable hypothesisVariable, State hypothesisState, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisVariable - The hypothesis variable to be analyzedhypothesisState - The state of the hypothesis variable to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static ImpactOutput calculate(Network network, Variable hypothesisVariable, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisVariable - The hypothesis variable to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static ImpactOutput calculate(Network network, Distribution hypothesisQuery, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisQuery - The hypothesis query to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static ImpactOutput calculate(Network network, Distribution hypothesisQuery, StateContext[] hypothesisCombination, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisQuery - The hypothesis query to be analyzedhypothesisCombination - Optional hypothesis state of the hypothesis variable to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static ImpactHypothesisOutput calculateStreamed(Network network, Distribution hypothesisQuery, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactAction outputItem, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisQuery - The hypothesis query to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.outputItem - A function which can accept the results of each evidence subset.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static ImpactHypothesisOutput calculateStreamed(Network network, Distribution hypothesisQuery, StateContext[] hypothesisState, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactAction outputItem, ImpactOptions options) throws InconsistentEvidenceException
network - The networkhypothesisQuery - The hypothesis query to be analyzedhypothesisState - Optional hypothesis state/cell of the hypothesis query to be analyzedevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.outputItem - A function which can accept the results of each evidence subset.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionCopyright © 2021. All rights reserved.