public class HelperFunctions
extends java.lang.Object
Constructor and Description |
---|
HelperFunctions() |
Modifier and Type | Method and Description |
---|---|
static <K> boolean |
disjoint(java.util.Collection<K> elements,
java.util.Collection<K> elementsp) |
static org.processmining.framework.util.Pair<java.lang.Double,java.lang.Double> |
minMax(Distribution distr,
java.lang.Double probMin,
java.lang.Double probMax) |
static <K> boolean |
overlap(java.util.Collection<K> elements,
java.util.Collection<K> elementsp) |
public static <K> boolean overlap(java.util.Collection<K> elements, java.util.Collection<K> elementsp)
public static <K> boolean disjoint(java.util.Collection<K> elements, java.util.Collection<K> elementsp)
public static org.processmining.framework.util.Pair<java.lang.Double,java.lang.Double> minMax(Distribution distr, java.lang.Double probMin, java.lang.Double probMax)
distr
- the distribution we want to have the minimum and maximum ofprobMin
- cut-off point for the minimal value, i.e., if the probability of values come below this probability they are no longer taken into accountprobMax
- cut-off point for the maximal value, i.e., if the probability of values come below this probability they are no longer taken into accountMathException