Skip to content

@grabm/abm/playback/headless / Interface: PlaybackActivityProfileOptions ​

Properties ​

endMinute ​

ts
readonly endMinute: number;

purpose? ​

ts
readonly optional purpose?: (trip) => string;

Parameters ​

trip ​
activityId ​

string = idSchema

actualMinutes ​

number | null = ...

agentId ​

string = idSchema

arrivalMinute ​

number | null = ...

caregiverAgentId? ​

string = ...

cause ​

| "anchor" | "discretionary" | "break-outbound" | "break-return" | "home-return" | "gateway-entry" | "gateway-exit" = tripCauseSchema

conditionedJourney? ​

{ id: string; initialObservation?: true; scope: "entry" | "internal" | "exit" | "through"; sourcePrimaryMode?: string; sourcePurpose?: string; sourceRevisionId: string; vehicleContribution: "not-applicable" | "source-driver" | "source-passenger-unknown"; } = ...

conditionedJourney.id ​

string = identity

conditionedJourney.initialObservation? ​

true = ...

conditionedJourney.scope ​

"entry" | "internal" | "exit" | "through" = ...

conditionedJourney.sourcePrimaryMode? ​

string = ...

conditionedJourney.sourcePurpose? ​

string = ...

conditionedJourney.sourceRevisionId ​

string = identity

conditionedJourney.vehicleContribution ​

"not-applicable" | "source-driver" | "source-passenger-unknown" = ...

departureMinute ​

number = finiteNonnegativeSchema

destinationFacilityId ​

string = idSchema

driverAgentId? ​

string = ...

dwellEndMinute ​

number | null = ...

freeFlowMinutes ​

number = finiteNonnegativeSchema

interruptedAtMinute? ​

number = ...

interruptionReason? ​

"presence-exit" | "run-horizon" = ...

journeyId? ​

string = ...

mode ​

string = mobilityModeSchema

originFacilityId ​

string = idSchema

outcome ​

"completed" | "unreachable" | "capacity-rejected" | "cancelled" = ...

scheduleItemId ​

string | null = ...

transitLegs? ​

object[] = ...

traversals ​

object[] = ...

vehicleId? ​

string = ...

vehicleMovement? ​

boolean = ...

Returns ​

string


startMinute ​

ts
readonly startMinute: number;

Documentation for the grABM library.