Class DungSignature
java.lang.Object
org.tweetyproject.commons.SingleSetSignature<Argument>
org.tweetyproject.arg.dung.syntax.DungSignature
This class captures the signature of a Dung theory,
i.e. a set of arguments.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new (empty) Dung signature.DungSignature
(Collection<? extends Argument> arguments) Creates a new signature with the given set of arguments.DungSignature
(Argument argument) Creates a new signature with the single given argument. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the given formula to this signature.clone()
clones signatureMethods inherited from class org.tweetyproject.commons.SingleSetSignature
add, addAll, addSignature, clear, contains, containsAll, equals, hashCode, isEmpty, isOverlappingSignature, isSubSignature, iterator, remove, removeAll, retainAll, size, toArray, toCollection, toString
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DungSignature
public DungSignature()Creates a new (empty) Dung signature. -
DungSignature
Creates a new signature with the single given argument.- Parameters:
argument
- an argument.
-
DungSignature
Creates a new signature with the given set of arguments.- Parameters:
arguments
- a set of arguments.
-
-
Method Details
-
add
Description copied from interface:Signature
Adds the given formula to this signature.- Parameters:
obj
- some object
-
clone
Description copied from interface:Signature
clones signature- Specified by:
clone
in interfaceSignature
- Specified by:
clone
in classSingleSetSignature<Argument>
- Returns:
- clone
-