Factory:org.bzdev.bikeshare.StorageHubFactory
Parameter Types
(optional keytype)
(value type)
Range RV Mode Add/Set
count
Initial Bicycle Count (Preferred)
int [0, ∞] false set
The initial bicycle count in the preferred area
domain
Domain Name
org.bzdev.drama.generic.GenericDomain
java.lang.Boolean
N/A false set
A domain table giving an actor's domains
This parameter represents a table whose key is a domain to be added to an actor and whose value is a boolean that indicates if conditions are to be observed. Conditions are observed if the value is true and are not observed if the value is false.
domains
Clear Domains
(none) N/A false set
Clear all Domains associated with an actor
hubTable
Hub Table
int N/A false add
A table listing the hubs that are traversed for each worker mode
hubTable.hub
Hub
int
org.bzdev.bikeshare.Hub
N/A false set
The hub for an entry
hubTable.mode
Worker Mode
int
org.bzdev.bikeshare.HubWorker.Mode
N/A false set
The worker mode for an entry
intervalFixOnly
Interval For Workers To Fix Overflow
double [0.0, ∞] false set
The desired interval in seconds for a loop where at each hub workers only move bicycles from the overflow area to the preferred area
intervalNoPickup
Interval For Workers Without Pickup
double [0.0, ∞] false set
The desired interval in seconds for a loop without pickups from the overflow area
intervalWithPickup
Interval For Workers With Pickup
double [0.0, ∞] false set
The desired interval in seconds for a loop with pickups from the overflow area
lowerTrigger
Lower Trigger
int [0, ∞] false set
The lower trigger for a hub's preferred area
nominal
Nominal Bicycle Count
int [0, ∞] false set
The nominal/ideal number of bicycles the preferred area of a hub
nworkersFixOnly
Number Of Workers To Fix Overflow
int [0, ∞] false set
The number of workers request to loop only to move bicycles from the overflow area to the preferred area at each hub
nworkersNoPickup
Number Of Workers Without Pickup
int [0, ∞] false set
The number of workers requested to loop without pickups from the overflow area
nworkersWithPickup
Number Of Workers With Pickup
int [0, ∞] false set
The number of workers requested to loop with pickups from the overflow area
sysDomain
System Domain
org.bzdev.bikeshare.SysDomain N/A false set
The system domain for a hub
timeline
Timeline
int N/A false add
Timeline entries (use only to clear)
This is an integer-keyed set of values that define changes in an object's configuration. Subclasses may provide additional timeline parameters.
timeline.time
Time
int
java.lang.Double
[-∞, ∞] false set
The time for a timeline entry
This parameter must be provided if a timeline entry exists. The units are those used by the double-precession time unit for the simulation (for animations, this is generally seconds).
timeline.traceSetMode
TraceSet Mode
int
org.bzdev.devqsim.TraceSetMode
N/A false set
The trace-set mode for a timeline entry
This parameter indicates how the trace sets associated with a timeline entry should be interpreted. The values are an enumeration whose type is org.bzdev.devqsim.TraceSetMode and are used as follows:
  • KEEP - keep the existing trace sets, adding additional ones specified by the parameter timeline.traceSets.
  • REMOVE - remove the trace sets specified by the parameter timeline.traceSets.
  • REPLACE - remove all existing trace sets and replace those with the ones specified by the timeline.traceSets parameter.
timeline.traceSets
Trace Sets
int
org.bzdev.devqsim.TraceSet
N/A false add
The trace sets for a timeline entry
This parameter represents a set of TraceSet objects (the three-argument add method is used to add entries). How the entries are interpreted depends on the trace set mode for this timeline entry.
traceSets
Trace Sets
org.bzdev.devqsim.TraceSet N/A false add
A set of TraceSet objects, used for tracing
This parameter provides a set of TraceSets a SimObject will use for tracing. One should use the add and remove factory methods as this parameter refers to a set of values.
upperTrigger
Upper Trigger
int [0, ∞] false set
The upper trigger for a hub's preferred area
x
X Coordinate
double [-∞, ∞] false set
The X coordinate of the hub in units of meters
y
Y Coordinate
double [-∞, ∞] false set
The Y coordinate of the hub in units of meters