|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectaim4.im.v2i.reservation.ReservationArray.TimeTile
public static class ReservationArray.TimeTile
The smallest unit of space-time in the FCFS policy. This keeps track of both a ReservationTile and a discrete time, which we use to keep track of the space-time reserved by vehicles.
| Constructor Summary | |
|---|---|
ReservationArray.TimeTile(int dt,
int tid)
Create a time-tile. |
|
| Method Summary | |
|---|---|
boolean |
equals(ReservationArray.TimeTile tt)
Check whether this time-tile is equal to the given time-tile. |
int |
getDiscreteTime()
Get the discrete time. |
int |
getTileId()
Get the tile ID. |
String |
toString()
Convert this time-tile to a string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReservationArray.TimeTile(int dt,
int tid)
dt - the discrete timetid - the tile ID| Method Detail |
|---|
public int getTileId()
public int getDiscreteTime()
public boolean equals(ReservationArray.TimeTile tt)
tt - the given time-tile
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||