Class ActionQuerySet<T extends ActionQuery>
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<T,ActionSignature>
-
- net.sf.tweety.action.query.syntax.ActionQuerySet<T>
-
- Type Parameters:
T
- the tyoe of ActionQuery
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
,BeliefBase
- Direct Known Subclasses:
SActionQuerySet
public abstract class ActionQuerySet<T extends ActionQuery> extends BeliefSet<T,ActionSignature>
An Action Query Set consists of action queries in a specific query language and provides some common functionalities for such queries.- Author:
- Sebastian Homann
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.commons.BeliefSet
EQUALS_USES_SIGNATURE, signature
-
-
Constructor Summary
Constructors Constructor Description ActionQuerySet()
Creates an empty ActionQuerySetActionQuerySet(java.util.Collection<? extends T> c)
Creates a new ActionQuerySet initialized with the given collection of action queries.
-
Method Summary
Modifier and Type Method Description protected ActionSignature
instantiateSignature()
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
-
ActionQuerySet
public ActionQuerySet(java.util.Collection<? extends T> c)
Creates a new ActionQuerySet initialized with the given collection of action queries.- Parameters:
c
- a collection of action queries
-
ActionQuerySet
public ActionQuerySet()
Creates an empty ActionQuerySet
-
-
Method Detail
-
instantiateSignature
protected ActionSignature instantiateSignature()
Description copied from class:BeliefSet
Instantiates the signature which is attached to the belief base.- Specified by:
instantiateSignature
in classBeliefSet<T extends ActionQuery,ActionSignature>
- Returns:
- the signature of this belief base
-
-