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)
Author:
Matthias Thimm
  • Constructor Details

    • RandomIncisionFunction

      public RandomIncisionFunction()
  • Method Details

    • incise

      public Collection<T> incise(Collection<Collection<T>> kernelSets)
      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 interface IncisionFunction<T extends Formula>
      Parameters:
      kernelSets - a collection of kernel sets.
      Returns:
      the selected elements.