Package com.bayesserver.causal
Class IndirectGraph
- java.lang.Object
-
- com.bayesserver.causal.IndirectGraph
-
public final class IndirectGraph extends Object
Methods for constructing the 'Indirect graph' from a Bayesian network.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
convert(Network network, Evidence evidence, Distribution query, IndirectGraphOptions options)
Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).static void
convert(Network network, List<CausalNode> treatments, List<CausalNode> outcomes, IndirectGraphOptions options)
Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
-
-
-
Method Detail
-
convert
public static void convert(Network network, Evidence evidence, Distribution query, IndirectGraphOptions options)
Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).- Parameters:
network
- The Bayesian network.evidence
- Evidence which contains one or more interventions (treatments X), and optionally other standard (non-intervention) evidence.query
- One or more outcomes (Y).options
- Options for the conversion.
-
convert
public static void convert(Network network, List<CausalNode> treatments, List<CausalNode> outcomes, IndirectGraphOptions options)
Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).- Parameters:
network
- The Bayesian network.treatments
- One or more interventions (treatments X).outcomes
- One or more outcomes (Y).options
- Options for the conversion.
-
-