ShipmentPlannerInterface
in
Builds shipment plans from per-line demand schedules.
Table of Contents
Methods
- context() : DemandReleaseContext
- Build one release-policy context for the given planning moment.
- plan() : array<int, DemandShipment>
- Build planned shipments from the provided per-line schedules.
Methods
context()
Build one release-policy context for the given planning moment.
public
context(DemandScheduleRequest $request, array<int, DemandLineSchedule> $lineSchedules, int $time, bool $finalEvaluation, array<string, int|float> $availableBySubject, array<string, int|float> $shippedBySubject, array<int, DemandShipment> $shipments) : DemandReleaseContext
Parameters
- $request : DemandScheduleRequest
- $lineSchedules : array<int, DemandLineSchedule>
- $time : int
- $finalEvaluation : bool
- $availableBySubject : array<string, int|float>
- $shippedBySubject : array<string, int|float>
- $shipments : array<int, DemandShipment>
Return values
DemandReleaseContextplan()
Build planned shipments from the provided per-line schedules.
public
plan(DemandScheduleRequest $request, array<int, DemandLineSchedule> $lineSchedules) : array<int, DemandShipment>
Parameters
- $request : DemandScheduleRequest
- $lineSchedules : array<int, DemandLineSchedule>