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, 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
Modifier and Type Method Description protected ActionSignatureinstantiateSignature()Instantiates the signature which is attached to the belief base.- 
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 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.
 
 - 
 
- 
Method Detail
- 
instantiateSignature
protected ActionSignature instantiateSignature()
Description copied from class:BeliefSetInstantiates the signature which is attached to the belief base.- Specified by:
 instantiateSignaturein classBeliefSet<T extends CausalLaw,ActionSignature>- Returns:
 - the signature of this belief base
 
 
 - 
 
 -