Class EmptyInterpretation
- java.lang.Object
-
- net.sf.tweety.arg.adf.semantics.interpretation.EmptyInterpretation
-
- All Implemented Interfaces:
Interpretation
public final class EmptyInterpretation 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 EmptyInterpretation(AbstractDialecticalFramework adf)An empty interpretation relative to the given ADF
-
Method Summary
Modifier and Type Method Description java.util.Set<Argument>arguments()Returns the union ofInterpretation.satisfied(),Interpretation.unsatisfied()andInterpretation.undecided().booleanequals(java.lang.Object obj)inthashCode()booleanisStrictSupersetOf(Interpretation subset)booleanisSubsetOf(Interpretation superset)intnumDecided()Returns the number of decided arguments, i.e.java.util.Set<Argument>satisfied()booleansatisfied(Argument arg)java.lang.StringtoString()java.util.Set<Argument>undecided()booleanundecided(Argument arg)java.util.Set<Argument>unsatisfied()booleanunsatisfied(Argument arg)-
Methods inherited from interface net.sf.tweety.arg.adf.semantics.interpretation.Interpretation
containsAll, isStrictSubsetOf, isSupersetOf, size
-
-
-
-
Constructor Detail
-
EmptyInterpretation
public EmptyInterpretation(AbstractDialecticalFramework adf)
An empty interpretation relative to the given ADF- Parameters:
adf- 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
-
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
-
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
-
isSubsetOf
public boolean isSubsetOf(Interpretation superset)
- Specified by:
isSubsetOfin 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
-
isStrictSupersetOf
public boolean isStrictSupersetOf(Interpretation subset)
- Specified by:
isStrictSupersetOfin interfaceInterpretation
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-