Class ActionDescription<T extends CausalLaw>
java.lang.Object
org.tweetyproject.commons.BeliefSet<T,ActionSignature>
org.tweetyproject.action.description.syntax.ActionDescription<T>
- Type Parameters:
T
- Type of causal law to be kept in this action description.
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,BeliefBase
- Direct Known Subclasses:
CActionDescription
This class represents an action description as a set of causal laws.
- Author:
- Sebastian Homann
-
Field Summary
Fields inherited from class org.tweetyproject.commons.BeliefSet
EQUALS_USES_SIGNATURE
-
Constructor Summary
ConstructorDescriptionCreates a new empty action description.ActionDescription
(Collection<? extends T> c) Creates a new action description containing all elements in the collection given. -
Method Summary
Methods inherited from class org.tweetyproject.commons.BeliefSet
add, add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString, toString
Methods inherited from interface org.tweetyproject.commons.BeliefBase
getMinimalSignature
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ActionDescription
public ActionDescription()Creates a new empty action description. -
ActionDescription
Creates a new action description containing all elements in the collection given.- Parameters:
c
- a collection of causal laws.
-