Class MultipleSelectiveRevisionOperator<T extends net.sf.tweety.commons.Formula>
- java.lang.Object
-
- net.sf.tweety.beliefdynamics.MultipleBaseRevisionOperator<T>
-
- net.sf.tweety.beliefdynamics.selectiverevision.MultipleSelectiveRevisionOperator<T>
-
- Type Parameters:
T- The type of formulas this operator works on.
- All Implemented Interfaces:
BaseRevisionOperator<T>
public class MultipleSelectiveRevisionOperator<T extends net.sf.tweety.commons.Formula> extends MultipleBaseRevisionOperator<T>
This class implements a multiple selective revision operator following [Kruempelmann:2011,Ferme:1999].- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description MultipleSelectiveRevisionOperator(MultipleTransformationFunction<T> transformationFunction, MultipleBaseRevisionOperator<T> revisionOperator)Creates a new multiple selective revision operator for the given transformation function and inner revision.
-
Method Summary
Modifier and Type Method Description Collection<T>revise(Collection<T> base, Collection<T> formulas)Revises the first collection of formulas by the second collection of formulas.-
Methods inherited from class net.sf.tweety.beliefdynamics.MultipleBaseRevisionOperator
revise
-
-
-
-
Constructor Detail
-
MultipleSelectiveRevisionOperator
public MultipleSelectiveRevisionOperator(MultipleTransformationFunction<T> transformationFunction, MultipleBaseRevisionOperator<T> revisionOperator)
Creates a new multiple selective revision operator for the given transformation function and inner revision.- Parameters:
transformationFunction- a transformation function.revisionOperator- the inner revision.
-
-
Method Detail
-
revise
public Collection<T> revise(Collection<T> base, Collection<T> formulas)
Description copied from class:MultipleBaseRevisionOperatorRevises the first collection of formulas by the second collection of formulas.- Specified by:
revisein classMultipleBaseRevisionOperator<T extends net.sf.tweety.commons.Formula>- Parameters:
base- some collection of formulas.formulas- some formulas.- Returns:
- the revised collection.
-
-