Factory:org.bzdev.bikeshare.RoundTripGenFactory
Parameter Types
(optional keytype)
(value type)
Range RV Mode Add/Set
dest
Destination Data
org.bzdev.bikeshare.Hub N/A false add
Destination data
dest.overflowProb
Overflow-Area Probability
org.bzdev.bikeshare.Hub
double
[0.0, ∞] false set
The probability of using a hub's overflow area
dest.prob
Destination Probability
org.bzdev.bikeshare.Hub
double
(0.0, ∞] false set
The probability of chosing a hub as a destination
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.
domainMember
Domain Member
org.bzdev.drama.generic.GenericDomainMember N/A false set
The domain member for an actor
The value of this parameter is the shared domain member used to handle domain membership.
domains
Clear Domains
(none) N/A false set
Clear all Domains associated with an actor
initialDelay
Initial Delay
double [0.0, ∞] false set
The delay in seconds before the trip generator starts running
meanIATime
Mean Interarrival Time
double (0.0, ∞] false set
The mean interarrival time for trips in seconds
nBicycles
Number of Bicycles
int [1, ∞] false set
The number of bicycles used in a trip
probabilityFunction
Probability Function
org.bzdev.devqsim.SimFunctionTwo N/A false set
The probability function for choosing between transportation modes
returnOverflowProb
Return Overflow Probability
double [0.0, 1.0] false set
The probability of using the overflow area after returning to the starting hub for a trip
startingHub
Starting Hub
org.bzdev.bikeshare.Hub N/A false set
The starting hub for a trip
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.meanIATime
Mean Interarrival Time
int
java.lang.Double
[-∞, ∞] false set
The mean interarrival time for trips in seconds
timeline.returnOverflowProb
Return Overflow Probability
int
java.lang.Double
[0.0, 1.0] false set
The probability of using the overflow area after returning to the starting hub for a trip
timeline.running
Running
int
java.lang.Boolean
N/A false set
True if a traffic generator should restart, false if it should stop
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.
timeline.wait
Waiting Time at Destination
int
org.bzdev.math.rv.DoubleRandomVariable
[-∞, ∞] false set
The time in seconds to stay at a destination before returning to the starting hub
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.
wait
Waiting Time at Destination
org.bzdev.math.rv.DoubleRandomVariable [-∞, ∞] false set
<html>The time in seconds to stay at a destination before <br> returning to the starting hub