Class CausalReasonerService.SequenceExplanations
java.lang.Object
org.tweetyproject.web.services.causal.CausalReasonerService.SequenceExplanations
- Enclosing class:
- CausalReasonerService
Class bundling sequence explanations and additional information
-
Constructor Summary
ConstructorsConstructorDescriptionSequenceExplanations(Set<Attack> attacks, Map<Proposition, List<DialectialSequenceExplanation>> perAtomSequenceExplanations) Initialize new instance -
Method Summary
Modifier and TypeMethodDescriptionReturns the attacks that were used to build the sequence explanations.Returns the sequence explanations grouped by conclusion atom.
-
Constructor Details
-
SequenceExplanations
public SequenceExplanations(Set<Attack> attacks, Map<Proposition, List<DialectialSequenceExplanation>> perAtomSequenceExplanations) Initialize new instance- Parameters:
attacks- a set of attacksperAtomSequenceExplanations- Map of atoms to sequence explanations
-
-
Method Details
-
getAttacks
Returns the attacks that were used to build the sequence explanations.- Returns:
- set of attacks
-
getPerAtomSequenceExplanations
Returns the sequence explanations grouped by conclusion atom.- Returns:
- map from proposition to sequence explanations
-