Class KripkeModel
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation<MlBeliefSet,FolFormula>
org.tweetyproject.logics.ml.semantics.KripkeModel
- All Implemented Interfaces:
- Interpretation<MlBeliefSet,FolFormula>
This class models a Kripke model, i.e. a set of possible worlds (with evaluation functions) together with an
 accessibility relation.
- Author:
- Matthias Thimm, Anna Gessler
- 
Constructor SummaryConstructorsConstructorDescriptionKripkeModel(Set<? extends Interpretation<FolBeliefSet,FolFormula>> possibleWorlds, AccessibilityRelation accRelation)Creates a new Kripke model.
- 
Method SummaryModifier and TypeMethodDescriptionbooleansatisfies(FolFormula formula)Checks whether this interpretation satisfies the given formula.booleansatisfies(MlBeliefSet beliefBase)Checks whether this interpretation satisfies the given knowledge base.toString()Methods inherited from class org.tweetyproject.commons.AbstractInterpretationsatisfies
- 
Constructor Details- 
KripkeModelpublic KripkeModel(Set<? extends Interpretation<FolBeliefSet,FolFormula>> possibleWorlds, AccessibilityRelation accRelation)Creates a new Kripke model.- Parameters:
- possibleWorlds- a set of interpretations.
- accRelation- an accessibility relation under the given interpretations.
 
 
- 
- 
Method Details- 
satisfiesDescription copied from interface:InterpretationChecks whether this interpretation satisfies the given formula.- Parameters:
- formula- a formula .
- Returns:
- "true" if this interpretation satisfies the given formula.
- Throws:
- IllegalArgumentException- if the formula does not correspond to the expected language.
 
- 
satisfiesDescription copied from interface:InterpretationChecks whether this interpretation satisfies the given knowledge base.- Parameters:
- beliefBase- a knowledge base.
- Returns:
- "true" if this interpretation satisfies the given knowledge base.
- Throws:
- IllegalArgumentException- IllegalArgumentException if the knowledgebase does not correspond to the expected language.
 
- 
toString
 
-