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 theDisjunctiveCauseQueryOptions
class.DisjunctiveCauseQueryOptions(DisjunctiveCauseSet causesOfTreatmentsOrOutcomes, AdjustmentSet adjustmentSet)
Initializes a new instance of theDisjunctiveCauseQueryOptions
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.DisjunctiveCauseSet
getCausesOfTreatmentsOrOutcomes()
Gets the list of all nodes that are either causes of treatments (X) or outcomes (Y) or both.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.void
setCausesOfTreatmentsOrOutcomes(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 theDisjunctiveCauseQueryOptions
class.
-
DisjunctiveCauseQueryOptions
public DisjunctiveCauseQueryOptions(DisjunctiveCauseSet causesOfTreatmentsOrOutcomes, AdjustmentSet adjustmentSet)
Initializes a new instance of theDisjunctiveCauseQueryOptions
class.- 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 toAdjustmentSet
asAdjustmentSet
excludes 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 toAdjustmentSet
asAdjustmentSet
excludes 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 asCausesOfTreatmentsOrOutcomes
except 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 asCausesOfTreatmentsOrOutcomes
except that it must exclude any nodes with evidence.
-
-