public class Location extends Value<Operation,Location>
Constructor and Description |
---|
Location(Operation op,
int startTime)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
after(Location anotherLocation)
Returnts true if after the given location
|
boolean |
before(Location anotherLocation)
Returnts true if before the given location
|
int |
getFinishingTime()
Get finishing time of the location (start time + operation processing
time)
|
String |
getName()
Name -- start time
|
int |
getStartTime()
Get start time of the location
|
boolean |
overlap(Location anotherLocation)
Returns true if overlap with the given location
|
double |
toDouble()
Start time of the location
|
String |
toString()
String representation (operation name = start time)
|
assigned, compareTo, conflicts, countAssignments, equals, getDescription, getExtra, getId, hashCode, isConsistent, lastAssignmentIteration, lastUnassignmentIteration, setExtra, setVariable, unassigned, valueEquals, variable
public int getStartTime()
public int getFinishingTime()
public double toDouble()
public boolean overlap(Location anotherLocation)