Class AccessibilityRelation
- java.lang.Object
-
- net.sf.tweety.logics.ml.semantics.AccessibilityRelation
-
public class AccessibilityRelation extends Object
This class models an accessibility relation for Kripke models.- Author:
- Matthias Thimm, Anna Gessler
-
-
Constructor Summary
Constructors Constructor Description AccessibilityRelation(Set<net.sf.tweety.commons.util.Pair<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>,net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>>> tuples)Constructs a new accessibility relation.
-
Method Summary
Modifier and Type Method Description Set<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>>getNodes()Returns all interpretations of the accessibility relation.Set<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>>getSuccessors(net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula> i)Returns all interpretations that are accessible to a given interpretation i.StringtoString()
-
-
-
Constructor Detail
-
AccessibilityRelation
public AccessibilityRelation(Set<net.sf.tweety.commons.util.Pair<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>,net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>>> tuples)
Constructs a new accessibility relation.- Parameters:
tuples- the accessibility relation
-
-
Method Detail
-
getNodes
public Set<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>> getNodes()
Returns all interpretations of the accessibility relation.- Returns:
- interpretations set of all interpretations
-
getSuccessors
public Set<net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>> getSuccessors(net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.fol.syntax.FolBeliefSet,net.sf.tweety.logics.fol.syntax.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
-
-