.getStartRange().getStartTime()));
return side2;
}
public Object visit(Begins begins, Object data) {
TemporalConstraints leftResult = (TemporalConstraints) begins
.getExpression1().accept(this, data);
TemporalConstraints rightResult = (TemporalConstraints) begins
.getExpression2().accept(this, data);
if (leftResult.isEmpty())
return toSet(new TemporalRange(
rightResult.getMinOr(TemporalRange.START_TIME),
TemporalRange.END_TIME));
if (rightResult.isEmpty())
return toSet(new TemporalRange(
leftResult.getMinOr(TemporalRange.START_TIME),
TemporalRange.END_TIME));
// Looks like infinity. This case occurs if both sides are parameters or