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()
.boolean
equals(java.lang.Object obj)
int
hashCode()
boolean
isStrictSupersetOf(Interpretation subset)
boolean
isSubsetOf(Interpretation superset)
int
numDecided()
Returns the number of decided arguments, i.e.java.util.Set<Argument>
satisfied()
boolean
satisfied(Argument arg)
java.lang.String
toString()
java.util.Set<Argument>
undecided()
boolean
undecided(Argument arg)
java.util.Set<Argument>
unsatisfied()
boolean
unsatisfied(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:
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
-
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
-
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
-
isSubsetOf
public boolean isSubsetOf(Interpretation superset)
- Specified by:
isSubsetOf
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
-
isStrictSupersetOf
public boolean isStrictSupersetOf(Interpretation subset)
- Specified by:
isStrictSupersetOf
in interfaceInterpretation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-