Class SetAfSignature
java.lang.Object
org.tweetyproject.commons.SingleSetSignature<Argument>
org.tweetyproject.arg.setaf.syntax.SetAfSignature
This class captures the signature of a SetAf theory,
i.e. a set of arguments.
- Author:
- Sebastian Franke
-
Constructor Summary
ConstructorDescriptionCreates a new (empty) SetAf signature.SetAfSignature
(Collection<? extends Argument> arguments) Creates a new signature with the given set of arguments.SetAfSignature
(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
-
SetAfSignature
public SetAfSignature()Creates a new (empty) SetAf signature. -
SetAfSignature
Creates a new signature with the single given argument.- Parameters:
argument
- an argument.
-
SetAfSignature
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
-