Class CausalStatement
java.lang.Object
org.tweetyproject.arg.dung.causal.syntax.CausalStatement
- Direct Known Subclasses:
InterventionalStatement
This class describes a causal statement, such as an interventional or counterfactual statement.
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
-
Constructor Summary
ConstructorDescriptionCausalStatement
(HashSet<PlFormula> conclusions, HashSet<PlFormula> premises) Creates a new causal statement. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the conclusions of this causal statement.Retrieves the premises of this causal statement.boolean
holds
(CausalKnowledgeBase cKbase) Checks if this instance holds in the specified knowledge base.void
VisualizeHolds
(CausalKnowledgeBase cKbase) Visualizes this causal statement within a given causal knowledge base.
-
Constructor Details
-
CausalStatement
Creates a new causal statement.- Parameters:
conclusions
- Conclusions, which would be true, iff this statement is true and the interventions were realized and the premises are met.premises
- PlFormulas which have to be true, so that the conclusions can be drawn.
-
-
Method Details
-
getConclusions
-
getPremises
-
holds
Checks if this instance holds in the specified knowledge base.- Parameters:
cKbase
- Causal knowledge base- Returns:
- TRUE iff this instance holds in the specified knowledge base.
-
VisualizeHolds
Visualizes this causal statement within a given causal knowledge base. This method generates a visual representation of the argument framework induced by adding the premises of this statement to the causal knowledge base, highlighting the conclusions.- Parameters:
cKbase
- The causal knowledge base used for visualization.
-