|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISector
A sector is a collection of Places (Zones or Areas). A sector is used to group origins or destinations, to make it easier to create rules that test if an agent is connected with one of the origins or destinations.
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
void |
add(IPlace place)
Add the given place to the collection |
NamedColour |
colour()
The colour associated with this sector |
boolean |
contains(ISector that)
Returns true if this sector contains all the places in that sector |
boolean |
isZones()
Returns true if this sector contains only zones. |
boolean |
parkingEquivalence()
Returns true if all (parking) zones in this sector are equivalent in terms of parking. |
IList<IPlace> |
places()
A list of places in this sector |
void |
remove(IPlace place)
Remove the given place from the collection |
void |
sort()
Sort the place in the sector into numeric-index order. |
| Methods inherited from interface com.azalient.api.b.assignment.IPlaces |
|---|
contains, name |
| 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 |
| Method Detail |
|---|
NamedColour colour()
IList<IPlace> places()
boolean contains(ISector that)
void add(IPlace place)
void remove(IPlace place)
boolean parkingEquivalence()
void sort()
boolean isZones()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||