public class PriestWorld
extends net.sf.tweety.commons.AbstractInterpretation
| Modifier and Type | Class and Description |
|---|---|
static class |
PriestWorld.TruthValue
The three truth values.
|
| Constructor and Description |
|---|
PriestWorld()
Creates a new world where all propositions get the truth value FALSE.
|
| Modifier and Type | Method and Description |
|---|---|
PriestWorld.TruthValue |
get(Proposition p)
Returns the truth value of the given proposition.
|
Collection<Proposition> |
getBinarybase()
Returns the binary base of this world, i.e.
|
Collection<Proposition> |
getConflictbase()
Returns the conflict base of this world, i.e.
|
boolean |
satisfies(net.sf.tweety.commons.BeliefBase beliefBase) |
boolean |
satisfies(net.sf.tweety.commons.Formula formula) |
PriestWorld.TruthValue |
satisfies3VL(net.sf.tweety.commons.Formula formula)
Determines the 3-valued truth value of the given formula.
|
void |
set(Proposition p,
PriestWorld.TruthValue val)
Sets the value of the given proposition.
|
String |
toString() |
public PriestWorld()
public void set(Proposition p, PriestWorld.TruthValue val)
p - some proposition.val - some truth value.public PriestWorld.TruthValue get(Proposition p)
p - a propositionpublic boolean satisfies(net.sf.tweety.commons.Formula formula)
throws IllegalArgumentException
IllegalArgumentExceptionpublic PriestWorld.TruthValue satisfies3VL(net.sf.tweety.commons.Formula formula) throws IllegalArgumentException
formula - some formulaIllegalArgumentExceptionpublic Collection<Proposition> getBinarybase()
public Collection<Proposition> getConflictbase()
public boolean satisfies(net.sf.tweety.commons.BeliefBase beliefBase)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2018. All rights reserved.