The Bicycle-Sharing Simulation Library provides classes for modeling a bicycle-sharing system. This simulation is built on top of the org.bzdev.drama package.
The adjacent frame contains a menu of factory names for
factories in this library (named
libbikeshr
and
provide by a JAR file libbikeshr.jar
).
These factories are located in the package
org.bzdev.bikeshare
.
Other factories that are needed are found in the BZDev class library documentation.
Please click on a factory name to find the parameter documentation for the corresponding factory.
Factories should be used in the following order (or a similar one) so that objects will be created before they are referenced:
ExtDomainFactory
. This factory creates external domains.
UsrDomainFactory
. This factory creates user domains.
SysDomainFactory
. This factory creates system domains.
BasicHubBalancerFactory
. This factory creates a simple hub balancer.
HubFactory.html
. This factory creates normal hubs.
StorageHubFactory.html
. This factory creates storage hubs
HubWorkerFactory
. This factory creates hub workers.
StdDelayTableFactory
. This factory creates a delay table for unscheduled
trips.
SchedDelayTableFactory
This factory creates a delay table for scheduled
trips (e.g.,trips with fixed departure times).
BasicTripGenFactory
. This factory schedules trips with random departure
times and a specified number of bicycles traveling together.
BurstTripGenFactory
. This factory schedules bursts of trips with a
specified arrival or departure time, depending on whether the trips
leave from a central point or end at a central point.
BurstTripGenFactory
. This factory schedules round trips.