Class RandomIncisionFunction<T extends Formula>
java.lang.Object
org.tweetyproject.beliefdynamics.kernels.RandomIncisionFunction<T>
- Type Parameters:
T
- The formula this incision function works on
- All Implemented Interfaces:
IncisionFunction<T>
public class RandomIncisionFunction<T extends Formula>
extends Object
implements IncisionFunction<T>
This class implements an incision function that just randomly
selects a minimal incision.
NOTE: results of this function are not deterministic and may not be reproduced (however each result is a valid incision)
NOTE: results of this function are not deterministic and may not be reproduced (however each result is a valid incision)
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionincise
(Collection<Collection<T>> kernelSets) Selects from each collection in the given collection one element and returns the collection of all those elements.
-
Constructor Details
-
RandomIncisionFunction
public RandomIncisionFunction()
-
-
Method Details
-
incise
Description copied from interface:IncisionFunction
Selects from each collection in the given collection one element and returns the collection of all those elements.- Specified by:
incise
in interfaceIncisionFunction<T extends Formula>
- Parameters:
kernelSets
- a collection of kernel sets.- Returns:
- the selected elements.
-