Class AccessibilityRelation
java.lang.Object
org.tweetyproject.logics.ml.semantics.AccessibilityRelation
This class models an accessibility relation for Kripke
models.
- Author:
- Matthias Thimm, Anna Gessler
-
Constructor Summary
ConstructorDescriptionAccessibilityRelation
(Set<Pair<Interpretation<FolBeliefSet, FolFormula>, Interpretation<FolBeliefSet, FolFormula>>> tuples) Constructs a new accessibility relation. -
Method Summary
-
Constructor Details
-
AccessibilityRelation
public AccessibilityRelation(Set<Pair<Interpretation<FolBeliefSet, FolFormula>, Interpretation<FolBeliefSet, FolFormula>>> tuples) Constructs a new accessibility relation.- Parameters:
tuples
- the accessibility relation
-
-
Method Details
-
getNodes
Returns all interpretations of the accessibility relation.- Returns:
- interpretations set of all interpretations
-
getSuccessors
public Set<Interpretation<FolBeliefSet,FolFormula>> getSuccessors(Interpretation<FolBeliefSet, FolFormula> i) Returns all interpretations that are accessible to a given interpretation i.- Parameters:
i
- an interpretation (possible world)- Returns:
- successors set of successors of i
-
toString
-