Class MostKArcsPredicate
- java.lang.Object
-
- org.processmining.placebasedlpmdiscovery.placechooser.placepredicates.MostKArcsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<Place>,PlacePredicate
public class MostKArcsPredicate extends java.lang.Object implements PlacePredicate
-
-
Constructor Summary
Constructors Constructor Description MostKArcsPredicate(int k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantestPlace(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
-
-
-
-
Method Detail
-
testPlace
public boolean testPlace(Place place)
Checks if the number of arcs is less or equal than k- Specified by:
testPlacein interfacePlacePredicate- 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
-
-