Class IntervalTree<Interval_,Point_ extends Comparable<Point_>,Difference_ extends Comparable<Difference_>>
java.lang.Object
ai.timefold.solver.examples.common.experimental.impl.IntervalTree<Interval_,Point_,Difference_>
public final class IntervalTree<Interval_,Point_ extends Comparable<Point_>,Difference_ extends Comparable<Difference_>>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionIntervalTree(Function<Interval_, Point_> startMapping, Function<Interval_, Point_> endMapping, BiFunction<Point_, Point_, Difference_> differenceFunction) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetInterval(Interval_ intervalValue) booleanisEmpty()iterator()boolean
-
Constructor Details
-
IntervalTree
public IntervalTree(Function<Interval_, Point_> startMapping, Function<Interval_, Point_> endMapping, BiFunction<Point_, Point_, Difference_> differenceFunction)
-
-
Method Details
-
getInterval
-
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
add
-
remove
-
getConsecutiveIntervalData
-