Package org.tweetyproject.beliefdynamics
Class DefaultBaseExpansionOperator<T extends Formula>
java.lang.Object
org.tweetyproject.beliefdynamics.DefaultBaseExpansionOperator<T>
- Type Parameters:
T
- The type of formulas that this operator works on.
- All Implemented Interfaces:
BaseExpansionOperator<T>
public class DefaultBaseExpansionOperator<T extends Formula>
extends Object
implements BaseExpansionOperator<T>
This class implements the default base expansion operator, ie. an operator
that returns the union of a set of formulas and a formula.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpand
(Collection<T> base, T formula) Expands the given collection of formulas by the given formula.
-
Constructor Details
-
DefaultBaseExpansionOperator
public DefaultBaseExpansionOperator()Default
-
-
Method Details
-
expand
Description copied from interface:BaseExpansionOperator
Expands the given collection of formulas by the given formula.- Specified by:
expand
in interfaceBaseExpansionOperator<T extends Formula>
- Parameters:
base
- some collection of formulas.formula
- a formula- Returns:
- the expanded collection.
-