com.azalient.api.a.model
Interface ITrips

All Superinterfaces:
IModule, IPage

public interface ITrips
extends IModule, IPage

A handle to the data associated with a Trips Page.
Each trips page contains trips generated by a particular random seed, for a given set of demand sources (matrices, volumes, services)


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IModule
NONE
 
Fields inherited from interface com.azalient.api.a.tables.IPage
ZERO
 
Method Summary
 void close()
           
 boolean compact()
           
 void compact(boolean b)
           
 IStore<ITrip> directedPersonTrips()
          A store of the directed person trips
 IStore<ITrip> directedVehicleTrips()
          A store of the directed vehicle trips
 boolean external()
           
 void external(boolean x)
           
 UTime first()
           
 void first(UTime t)
           
 String generatedAt()
           
 void generatedAt(String when)
           
 String generatedBy()
           
 void generatedBy(String demandName)
           
 long generationSeed()
           
 void generationSeed(long s)
           
 TripStochasticity generationStochastic()
           
 void generationStochastic(TripStochasticity stochastic)
           
 double generationWeight()
           
 void generationWeight(double d)
           
 UTime last()
           
 void last(UTime t)
           
 int size(TripMode mode, boolean directed)
          Return the number of trips in the given mode/directed part of the Trips page, for example, to retrieve the number of undirected person trips, set mode to people and directed to false.
 IStore<ITransportTrip> transportTrips()
          A store of the transport trips.
 IStore<? extends ITrip> transportTripsAsITrip()
          A store of the transport trips, in a cast that allows ITrip to be used
 ITrip trip(TripMode mode, boolean directed, int index)
          Get trip number [ index ] in the mode/directed store
 IStore<ITrip> undirectedPersonTrips()
          A store of the undirected person trips
 IStore<ITrip> undirectedVehicleTrips()
          A store of the undirected vehiclce trips
 
Methods inherited from interface com.azalient.api.a.tables.IModule
addTable, baseName, childModules, destroy, open, open, pageName, pageType, parentModule, rename, save, save, table, verify
 
Methods inherited from interface com.azalient.api.a.tables.IPage
baseName, pageName, pageType
 

Method Detail

size

int size(TripMode mode,
         boolean directed)
Return the number of trips in the given mode/directed part of the Trips page, for example, to retrieve the number of undirected person trips, set mode to people and directed to false.


trip

ITrip trip(TripMode mode,
           boolean directed,
           int index)
Get trip number [ index ] in the mode/directed store


directedPersonTrips

IStore<ITrip> directedPersonTrips()
A store of the directed person trips


directedVehicleTrips

IStore<ITrip> directedVehicleTrips()
A store of the directed vehicle trips


undirectedPersonTrips

IStore<ITrip> undirectedPersonTrips()
A store of the undirected person trips


undirectedVehicleTrips

IStore<ITrip> undirectedVehicleTrips()
A store of the undirected vehiclce trips


transportTrips

IStore<ITransportTrip> transportTrips()
A store of the transport trips.


transportTripsAsITrip

IStore<? extends ITrip> transportTripsAsITrip()
A store of the transport trips, in a cast that allows ITrip to be used


compact

void compact(boolean b)

external

void external(boolean x)

generatedBy

void generatedBy(String demandName)

generatedAt

void generatedAt(String when)

generationSeed

void generationSeed(long s)

generationStochastic

void generationStochastic(TripStochasticity stochastic)

generationWeight

void generationWeight(double d)

first

void first(UTime t)

last

void last(UTime t)

compact

boolean compact()

external

boolean external()

generatedBy

String generatedBy()

generatedAt

String generatedAt()

generationSeed

long generationSeed()

generationStochastic

TripStochasticity generationStochastic()

generationWeight

double generationWeight()

first

UTime first()

last

UTime last()

close

void close()