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().intnumDecided()Returns the number of decided arguments, i.e.java.util.Set<Argument>satisfied()booleansatisfied(Argument arg)java.util.Set<Argument>undecided()booleanundecided(Argument arg)java.util.Set<Argument>unsatisfied()booleanunsatisfied(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:
satisfiedin interfaceInterpretation
-
unsatisfied
public boolean unsatisfied(Argument arg)
- Specified by:
unsatisfiedin interfaceInterpretation
-
undecided
public boolean undecided(Argument arg)
- Specified by:
undecidedin interfaceInterpretation
-
satisfied
public java.util.Set<Argument> satisfied()
- Specified by:
satisfiedin interfaceInterpretation
-
unsatisfied
public java.util.Set<Argument> unsatisfied()
- Specified by:
unsatisfiedin interfaceInterpretation
-
undecided
public java.util.Set<Argument> undecided()
- Specified by:
undecidedin interfaceInterpretation
-
numDecided
public int numDecided()
Description copied from interface:InterpretationReturns the number of decided arguments, i.e. satisfied or unsatisfied, in this interpretation.- Specified by:
numDecidedin interfaceInterpretation- Returns:
- the number of decided arguments
-
arguments
public java.util.Set<Argument> arguments()
Description copied from interface:InterpretationReturns the union ofInterpretation.satisfied(),Interpretation.unsatisfied()andInterpretation.undecided(). Must not return additional arguments.- Specified by:
argumentsin interfaceInterpretation- Returns:
- all the assigned arguments
-
-