Class MostKArcsPredicate

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean testPlace​(Place place)
      Checks if the number of arcs is less or equal than k
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.processmining.placebasedlpmdiscovery.placechooser.placepredicates.PlacePredicate

        test
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • MostKArcsPredicate

        public MostKArcsPredicate​(int k)
    • Method Detail

      • testPlace

        public boolean testPlace​(Place place)
        Checks if the number of arcs is less or equal than k
        Specified by:
        testPlace in interface PlacePredicate
        Parameters:
        place - that we want to check for filtering
        Returns:
        true if all the number of arcs is less or equal to k, false otherwise