Class ActionDescription<T extends CausalLaw>
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<T,ActionSignature>
-
- net.sf.tweety.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>,net.sf.tweety.commons.BeliefBase
- Direct Known Subclasses:
CActionDescription
public abstract class ActionDescription<T extends CausalLaw> extends net.sf.tweety.commons.BeliefSet<T,ActionSignature>
This class represents an action description as a set of causal laws.- Author:
- Sebastian Homann
-
-
Constructor Summary
Constructors Constructor Description ActionDescription()Creates a new empty action description.ActionDescription(Collection<? extends T> c)Creates a new action description containing all elements in the collection given.
-
Method Summary
Modifier and Type Method Description protected ActionSignatureinstantiateSignature()-
Methods inherited from class net.sf.tweety.commons.BeliefSet
add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, instantiateSet, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
ActionDescription
public ActionDescription()
Creates a new empty action description.
-
ActionDescription
public ActionDescription(Collection<? extends T> c)
Creates a new action description containing all elements in the collection given.- Parameters:
c- a collection of causal laws.
-
-
Method Detail
-
instantiateSignature
protected ActionSignature instantiateSignature()
- Specified by:
instantiateSignaturein classnet.sf.tweety.commons.BeliefSet<T extends CausalLaw,ActionSignature>
-
-