@Override
public boolean isSatisfiedBy(ResourceAllocation<?> resourceAllocation) {
if (resourceAllocation instanceof SpecificResourceAllocation) {
SpecificResourceAllocation s = (SpecificResourceAllocation) resourceAllocation;
return s.interferesWith(criterion, startInclusive, endExclusive);
}
return false;
}
}