|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITrip
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
IAgent |
agent()
|
void |
agent(IAgent agent)
|
UTime |
arrival()
|
IBehaviour |
behaviour()
|
UTime |
departure()
|
IPlace |
destination()
The destination, which might be null |
void |
destination(IPlace place)
Change the destination for this trip |
double |
dna(Strand strand)
Return either a uniform-distribution or gaussian-distribution random variable. |
void |
generateDNA()
|
int |
immediateTargetIndex()
[0, nT-1] index of next "target", where a target may be a gateway or a destination place and nT = nZ + nG |
int |
matrix()
The index (1 .. |
TripMode |
mode()
|
IPlace |
origin()
The origin area or zone |
int |
originPlaceIndex()
[0, nP-1] index of origin place |
void |
replaceBehaviour(IBehaviour b)
|
void |
replaceDNA(ITrip trip)
|
void |
resetTypeGroupIndex()
|
void |
restoreTypeBehaviour()
|
void |
rewind()
|
int |
tableIndex()
|
int |
travellers()
The number of travellers represented by this (person) trip. |
IType |
type()
|
int |
ultimateDestinationIndex()
[0, nP-1] index of ultimate destination, or -1 if no destination set |
| Methods inherited from interface com.azalient.api.sim.agents.IRouteFinder |
|---|
arrivesHere, routeExitIndex |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
UTime departure()
UTime arrival()
IType type()
TripMode mode()
IPlace origin()
int originPlaceIndex()
IPlace destination()
void destination(IPlace place)
int ultimateDestinationIndex()
int immediateTargetIndex()
int matrix()
double dna(Strand strand)
int tableIndex()
void resetTypeGroupIndex()
void rewind()
void agent(IAgent agent)
IAgent agent()
void generateDNA()
IBehaviour behaviour()
void replaceDNA(ITrip trip)
void replaceBehaviour(IBehaviour b)
void restoreTypeBehaviour()
int travellers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||