Sounds like a typical OptaPlanner problem.
Domain model:
- CareTaker
- OldPerson
- Day
- Visit(OldPerson, Day)
- @PlanningEntity VisitAssignment (Visit, @PlanningVariable CareTaker)
Using the OptaPlanner employee rostering example:
- CareTaker == Employee
- OldPerson == ShiftType
- Day == ShiftDate
- Visit(OldPerson, Day) == Shift (ShiftType, ShiftDate)
- @PlanningEntity VisitAssignment (Visit, @PlanningVariable CareTaker) ==
ShiftAssignment (Shift, @PlanningVariable Employee)
--
View this message in context:
http://drools.46999.n3.nabble.com/A-employee-roster-like-case-tp4029352p4...
Sent from the Drools: User forum mailing list archive at
Nabble.com.