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:
java.lang.Iterable<T>
,java.util.Collection<T>
,BeliefBase
- Direct Known Subclasses:
CActionDescription
public abstract class ActionDescription<T extends CausalLaw> extends BeliefSet<T,ActionSignature>
This class represents an action description as a set of causal laws.- Author:
- Sebastian Homann
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.commons.BeliefSet
EQUALS_USES_SIGNATURE
-
-
Constructor Summary
Constructors Constructor Description ActionDescription()
Creates a new empty action description.ActionDescription(java.util.Collection<? extends T> c)
Creates a new action description containing all elements in the collection given.
-
Method Summary
-
Methods inherited from class net.sf.tweety.commons.BeliefSet
add, add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString
-
Methods inherited from interface net.sf.tweety.commons.BeliefBase
getMinimalSignature
-
-
-
-
Constructor Detail
-
ActionDescription
public ActionDescription()
Creates a new empty action description.
-
ActionDescription
public ActionDescription(java.util.Collection<? extends T> c)
Creates a new action description containing all elements in the collection given.- Parameters:
c
- a collection of causal laws.
-
-