REST Resource: scheduling
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób
Z tym zasobem nie są powiązane żadne dane trwałe.
Metody |
|
Rozwiąż problem z generowaniem zmian na podstawie danych SolveShiftGenerationRequest , generując zmiany z określonych szablonów zmian, aby zaspokoić potrzeby pracowników. |
|
Rozwiązanie problemu ze stałą zmianą harmonogramu z danego SolveShiftSchedulingRequest , przypisując pracowników do zmian, aby zmaksymalizować ich preferencje dotyczące planowania i zminimalizować ryzyko naruszenia ograniczeń harmonogramu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-09 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-09 UTC."],[[["The Optimization API's scheduling resource facilitates shift generation and scheduling solutions without storing persistent data."],["It offers the `solveShiftGeneration` method to create shifts from templates, ensuring employee demand is met."],["The `solveShiftScheduling` method optimizes employee assignments to fixed shifts, balancing preferences and constraints."]]],["The resource has no persistent data. It offers two methods: `solveShiftGeneration` and `solveShiftScheduling`. `solveShiftGeneration` creates shifts from templates to meet employee demand using a `SolveShiftGenerationRequest`. `solveShiftScheduling` assigns employees to predefined shifts, optimizing for employee preferences and minimizing constraint violations, based on a `SolveShiftSchedulingRequest`. These methods address shift creation and employee allocation.\n"]]