Package com.bayesserver.causal
Class DisjunctiveCauseQueryOptions
- java.lang.Object
-
- com.bayesserver.causal.CausalQueryOptionsBase
-
- com.bayesserver.causal.DisjunctiveCauseQueryOptions
-
- All Implemented Interfaces:
QueryOptions
public final class DisjunctiveCauseQueryOptions extends CausalQueryOptionsBase
Options forDisjunctiveCauseInference.
-
-
Constructor Summary
Constructors Constructor Description DisjunctiveCauseQueryOptions()Initializes a new instance of theDisjunctiveCauseQueryOptionsclass.DisjunctiveCauseQueryOptions(DisjunctiveCauseSet causesOfTreatmentsOrOutcomes, AdjustmentSet adjustmentSet)Initializes a new instance of theDisjunctiveCauseQueryOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentSetgetAdjustmentSet()Gets the adjustment set, which must include all nodes that are causes of either treatments (X) or outcomes (Y) or both, except those with evidence set.DisjunctiveCauseSetgetCausesOfTreatmentsOrOutcomes()Gets the list of all nodes that are either causes of treatments (X) or outcomes (Y) or both.voidsetAdjustmentSet(AdjustmentSet value)Sets the adjustment set, which must include all nodes that are causes of either treatments (X) or outcomes (Y) or both, except those with evidence set.voidsetCausesOfTreatmentsOrOutcomes(DisjunctiveCauseSet value)Sets the list of all nodes that are either causes of treatments (X) or outcomes (Y) or both.-
Methods inherited from class com.bayesserver.causal.CausalQueryOptionsBase
getCancellation, getCausalEffectKind, getCausalInferenceFactory, getConflict, getDecisionAlgorithm, getInconsistentEvidenceMode, getLogLikelihood, getPropagation, getQueryEvidenceMode, getTerminalTime, raisePropertyChanged, setCancellation, setCausalEffectKind, setCausalInferenceFactory, setConflict, setDecisionAlgorithm, setInconsistentEvidenceMode, setLogLikelihood, setPropagation, setQueryEvidenceMode, setTerminalTime
-
-
-
-
Constructor Detail
-
DisjunctiveCauseQueryOptions
public DisjunctiveCauseQueryOptions()
Initializes a new instance of theDisjunctiveCauseQueryOptionsclass.
-
DisjunctiveCauseQueryOptions
public DisjunctiveCauseQueryOptions(DisjunctiveCauseSet causesOfTreatmentsOrOutcomes, AdjustmentSet adjustmentSet)
Initializes a new instance of theDisjunctiveCauseQueryOptionsclass.- Parameters:
causesOfTreatmentsOrOutcomes- A list of all nodes that are either causes of treatments (X) or outcomes (Y) or both.adjustmentSet- The adjustment set to use during estimation, which must include all causes of treatments (X) or outcomes (Y) or both.
-
-
Method Detail
-
getCausesOfTreatmentsOrOutcomes
public DisjunctiveCauseSet getCausesOfTreatmentsOrOutcomes()
Gets the list of all nodes that are either causes of treatments (X) or outcomes (Y) or both. This property is in addition toAdjustmentSetasAdjustmentSetexcludes any nodes that have evidence.
-
setCausesOfTreatmentsOrOutcomes
public void setCausesOfTreatmentsOrOutcomes(DisjunctiveCauseSet value)
Sets the list of all nodes that are either causes of treatments (X) or outcomes (Y) or both. This property is in addition toAdjustmentSetasAdjustmentSetexcludes any nodes that have evidence.
-
getAdjustmentSet
public AdjustmentSet getAdjustmentSet()
Gets the adjustment set, which must include all nodes that are causes of either treatments (X) or outcomes (Y) or both, except those with evidence set. This is the same asCausesOfTreatmentsOrOutcomesexcept that it must exclude any nodes with evidence.
-
setAdjustmentSet
public void setAdjustmentSet(AdjustmentSet value)
Sets the adjustment set, which must include all nodes that are causes of either treatments (X) or outcomes (Y) or both, except those with evidence set. This is the same asCausesOfTreatmentsOrOutcomesexcept that it must exclude any nodes with evidence.
-
-