Class SingleValuedInterpretation
- java.lang.Object
-
- net.sf.tweety.arg.adf.semantics.interpretation.SingleValuedInterpretation
-
- All Implemented Interfaces:
Interpretation
public final class SingleValuedInterpretation extends java.lang.Object implements Interpretation
- Author:
- Mathias Hofer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.tweety.arg.adf.semantics.interpretation.Interpretation
Interpretation.Builder
-
-
Constructor Summary
Constructors Constructor Description SingleValuedInterpretation(Argument argument, boolean value, AbstractDialecticalFramework adf)
-
Method Summary
Modifier and Type Method Description java.util.Set<Argument>
arguments()
Returns the union ofInterpretation.satisfied()
,Interpretation.unsatisfied()
andInterpretation.undecided()
.int
numDecided()
Returns the number of decided arguments, i.e.java.util.Set<Argument>
satisfied()
boolean
satisfied(Argument arg)
java.util.Set<Argument>
undecided()
boolean
undecided(Argument arg)
java.util.Set<Argument>
unsatisfied()
boolean
unsatisfied(Argument arg)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.tweety.arg.adf.semantics.interpretation.Interpretation
containsAll, isStrictSubsetOf, isStrictSupersetOf, isSubsetOf, isSupersetOf, size
-
-
-
-
Constructor Detail
-
SingleValuedInterpretation
public SingleValuedInterpretation(Argument argument, boolean value, AbstractDialecticalFramework adf)
- Parameters:
argument
- the argument with the valuevalue
- the value of the argumentadf
- the contextual ADF
-
-
Method Detail
-
satisfied
public boolean satisfied(Argument arg)
- Specified by:
satisfied
in interfaceInterpretation
-
unsatisfied
public boolean unsatisfied(Argument arg)
- Specified by:
unsatisfied
in interfaceInterpretation
-
undecided
public boolean undecided(Argument arg)
- Specified by:
undecided
in interfaceInterpretation
-
satisfied
public java.util.Set<Argument> satisfied()
- Specified by:
satisfied
in interfaceInterpretation
-
unsatisfied
public java.util.Set<Argument> unsatisfied()
- Specified by:
unsatisfied
in interfaceInterpretation
-
undecided
public java.util.Set<Argument> undecided()
- Specified by:
undecided
in interfaceInterpretation
-
numDecided
public int numDecided()
Description copied from interface:Interpretation
Returns the number of decided arguments, i.e. satisfied or unsatisfied, in this interpretation.- Specified by:
numDecided
in interfaceInterpretation
- Returns:
- the number of decided arguments
-
arguments
public java.util.Set<Argument> arguments()
Description copied from interface:Interpretation
Returns the union ofInterpretation.satisfied()
,Interpretation.unsatisfied()
andInterpretation.undecided()
. Must not return additional arguments.- Specified by:
arguments
in interfaceInterpretation
- Returns:
- all the assigned arguments
-
-