public class GeostObject.TimeBoundConstraint extends Object
It contains facility to keep the domain of time variables consistent.
Constructor and Description |
---|
TimeBoundConstraint()
TODO, is it really needed this constructor?
|
Modifier and Type | Method and Description |
---|---|
boolean |
consistencyDurationGtZero(Store store)
It applies constraint enforcing that duration > 0
|
boolean |
consistencyStartPlusDurationEqEnd(Store store)
It evaluates part of the constraint that ensures that start + duration = end
|
GeostObject |
getCorrespondingObject()
It returns the corresponding object for which this time constraint corresponds to.
|
String |
toString() |
public TimeBoundConstraint()
public boolean consistencyStartPlusDurationEqEnd(Store store)
store
- current storepublic boolean consistencyDurationGtZero(Store store)
store
- constraint store in which the geost constraint is imposed at.public final GeostObject getCorrespondingObject()
Copyright © 2022. All rights reserved.