Skip to content

@grabm/abm/datasets / Interface: AgentDetail ​

Properties ​

agent ​

ts
agent: object;

agenda ​

ts
agenda: object[];

availableModes ​

ts
availableModes: string[];

cohortId ​

ts
cohortId: string = idSchema;

conditionedJourneys? ​

ts
optional conditionedJourneys?: object[];

conditionedPresence? ​

ts
optional conditionedPresence?: object[];

decisions ​

ts
decisions: object[];

demographics ​

ts
demographics: Record<string, string | number | boolean | null> = demographicsSchema;

entryMinute? ​

ts
optional entryMinute?: number;

exitMinute? ​

ts
optional exitMinute?: number;

extensions ​

ts
extensions: Record<string, JSONType>;

gatewayFacilityId ​

ts
gatewayFacilityId: string | null;

gatewayReturn? ​

ts
optional gatewayReturn?: object;
gatewayReturn.actualExitMinute? ​
ts
optional actualExitMinute?: number;
gatewayReturn.plannedExitMinute ​
ts
plannedExitMinute: number = finiteNonnegativeSchema;
gatewayReturn.status ​
ts
status: "completed" | "unresolved" | "not-started";

homeFacilityId ​

ts
homeFacilityId: string | null;

householdId? ​

ts
optional householdId?: string;

householdPassenger? ​

ts
optional householdPassenger?: boolean;

id ​

ts
id: string = idSchema;

modePreferences ​

ts
modePreferences: Record<string, number>;

needs? ​

ts
optional needs?: object[];

neighborhood? ​

ts
optional neighborhood?: object;
neighborhood.journeys ​
ts
journeys: object[] = conditionedJourneysSchema;
neighborhood.snapshotId ​
ts
snapshotId: string = idSchema;
neighborhood.version ​
ts
version: 1;
neighborhood.windows ​
ts
windows: object[];

preferences ​

ts
preferences: Record<string, number> = weightVectorSchema;

profileId ​

ts
profileId: string = idSchema;

requiresEscort? ​

ts
optional requiresEscort?: boolean;

schoolEscortPlans? ​

ts
optional schoolEscortPlans?: object[];

decisions ​

ts
decisions: object[];

activityId ​

ts
activityId: string = idSchema;

agentId ​

ts
agentId: string = idSchema;

candidateCounts ​

ts
candidateCounts: Record<string, number>;

cause ​

ts
cause: 
  | "anchor"
  | "discretionary"
  | "break-outbound"
  | "break-return"
  | "home-return"
  | "gateway-entry"
  | "gateway-exit" = tripCauseSchema;

destinationFacilityId ​

ts
destinationFacilityId: string | null;

minute ​

ts
minute: number = finiteNonnegativeSchema;

mode ​

ts
mode: string | null;

outcome ​

ts
outcome: 
  | "completed"
  | "unavailable"
  | "started"
  | "stayed"
  | "protected-skip"
  | "insufficient-time"
  | "unreachable"
  | "capacity-rejected"
  | "cancelled" = diagnosticOutcomeSchema;

pickupWaitMinutes? ​

ts
optional pickupWaitMinutes?: number;

reason ​

ts
reason: string = idSchema;

scheduleItemId ​

ts
scheduleItemId: string | null;

trips ​

ts
trips: object[];

activityId ​

ts
activityId: string = idSchema;

actualMinutes ​

ts
actualMinutes: number | null;

agentId ​

ts
agentId: string = idSchema;

arrivalMinute ​

ts
arrivalMinute: number | null;

caregiverAgentId? ​

ts
optional caregiverAgentId?: string;

cause ​

ts
cause: 
  | "anchor"
  | "discretionary"
  | "break-outbound"
  | "break-return"
  | "home-return"
  | "gateway-entry"
  | "gateway-exit" = tripCauseSchema;

conditionedJourney? ​

ts
optional conditionedJourney?: object;
conditionedJourney.id ​
ts
id: string = identity;
conditionedJourney.initialObservation? ​
ts
optional initialObservation?: true;
conditionedJourney.scope ​
ts
scope: "entry" | "internal" | "exit" | "through";
conditionedJourney.sourcePrimaryMode? ​
ts
optional sourcePrimaryMode?: string;
conditionedJourney.sourcePurpose? ​
ts
optional sourcePurpose?: string;
conditionedJourney.sourceRevisionId ​
ts
sourceRevisionId: string = identity;
conditionedJourney.vehicleContribution ​
ts
vehicleContribution: "not-applicable" | "source-driver" | "source-passenger-unknown";

departureMinute ​

ts
departureMinute: number = finiteNonnegativeSchema;

destinationFacilityId ​

ts
destinationFacilityId: string = idSchema;

driverAgentId? ​

ts
optional driverAgentId?: string;

dwellEndMinute ​

ts
dwellEndMinute: number | null;

freeFlowMinutes ​

ts
freeFlowMinutes: number = finiteNonnegativeSchema;

interruptedAtMinute? ​

ts
optional interruptedAtMinute?: number;

interruptionReason? ​

ts
optional interruptionReason?: "presence-exit" | "run-horizon";

journeyId? ​

ts
optional journeyId?: string;

mode ​

ts
mode: string = mobilityModeSchema;

originFacilityId ​

ts
originFacilityId: string = idSchema;

outcome ​

ts
outcome: "completed" | "unreachable" | "capacity-rejected" | "cancelled";

scheduleItemId ​

ts
scheduleItemId: string | null;

transitLegs? ​

ts
optional transitLegs?: object[];

traversals ​

ts
traversals: object[];

vehicleId? ​

ts
optional vehicleId?: string;

vehicleMovement? ​

ts
optional vehicleMovement?: boolean;

Documentation for the grABM library.