Package net.sf.tweety.beliefdynamics
Class DefaultMultipleBaseExpansionOperator<T extends net.sf.tweety.commons.Formula>
- java.lang.Object
-
- net.sf.tweety.beliefdynamics.MultipleBaseExpansionOperator<T>
-
- net.sf.tweety.beliefdynamics.DefaultMultipleBaseExpansionOperator<T>
-
- Type Parameters:
T- The type of formulas that this operator works on.
- All Implemented Interfaces:
BaseExpansionOperator<T>
public class DefaultMultipleBaseExpansionOperator<T extends net.sf.tweety.commons.Formula> extends MultipleBaseExpansionOperator<T>
This class implements the default multiple base expansion operator, ie. an operator that returns the union of the sets of formulas- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description DefaultMultipleBaseExpansionOperator()
-
Method Summary
Modifier and Type Method Description Collection<T>expand(Collection<T> base, Collection<T> formulas)Expands the first collection of formulas by the second collection of formulas.-
Methods inherited from class net.sf.tweety.beliefdynamics.MultipleBaseExpansionOperator
expand
-
-
-
-
Method Detail
-
expand
public Collection<T> expand(Collection<T> base, Collection<T> formulas)
Description copied from class:MultipleBaseExpansionOperatorExpands the first collection of formulas by the second collection of formulas.- Specified by:
expandin classMultipleBaseExpansionOperator<T extends net.sf.tweety.commons.Formula>- Parameters:
base- some collection of formulas.formulas- some formulas.- Returns:
- the expanded collection.
-
-