Skip to content

@grabm/abm / Variable: choiceConfigSchema ​

ts
const choiceConfigSchema: ZodObject<{
  attractivenessWeight: ZodDefault<ZodNumber>;
  cosineWeight: ZodDefault<ZodNumber>;
  crowdingWeight: ZodDefault<ZodNumber>;
  feasibility: ZodOptional<ZodLiteral<"routed-window-v1">>;
  stayProbability: ZodDefault<ZodNumber>;
  temperature: ZodDefault<ZodNumber>;
  travelMinutesWeight: ZodDefault<ZodNumber>;
}, $strict>;

Documentation for the grABM library.