org.optaplanner.examples.dinnerparty.solver.dinnerPartyExtraConstraints.xls Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optaplanner-examples Show documentation
Show all versions of optaplanner-examples Show documentation
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the examples which demonstrate how to use it in a normal Java application.
??ࡱ? ; ?? ???? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????? ???? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????R o o t E n t r y ???????????? ???? ???????????? ???? ???????????? ???? ???????????? ???? ?
? ? ?? ? \ p Calc B ?a ? = ? ? ? = @ 8 ?@ ? " ? ? 1 ? ?? A r i a l 1 ? ?? A r i a l 1 ? ?? A r i a l 1 ? ?? A r i a l 1 ? ?? T a h o m a 1 ? ? T a h o m a 1 . ? ? T i m e s N e w R o m a n 1 . ? ? T i m e s N e w R o m a n 1 ? ? A r i a l 1 ? ?? T a h o m a 1 ? ?? T a h o m a ? GENERAL ? @? ? ?? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ?? ? ? ? ? ? ? + ?? ? ? ? ) ?? ? ? ? , ?? ? ? ? * ?? ? ? ? ?? ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? L ? ? ? 0 ? ? ? l ?? ? l ? ? | ? ? Q ? ? ? ? l ?? ? | ? ? p ? ? p ? ? ? p ? ?
? l ?? ? l /? ? l /? ? | /? ? ( \ ? ?
? ( | ?? ? ) | /? ? ( | /? ? |q ?
? ? |q ? ? |q ?? ? < ? ? ? | ? ? ? | ? ? ? |p ? ? ? |w ? ? ? | ?? ? | ?? ? | ?? ? |p ?? ? |w ?? ? < ? ? ? | ? ? ? | ? ? ? |p ? ? ? |w ? ? ? |p ?? ? |p ?? ? | p ?? ? |pp ?? ? |wp ??
? " | ? ?
? " < ? ? ? ?? ??? ??? ??? ??? ??? ??? ? 8 ??? ? ? ? ?? ? ? ?? ? ? ? ?? ? ? ?? ??? ??? ??? ?3f ??? ??? f f ??? f? ??? ? ? ? ?? ?? ? ? ? ?? ? ?? ??? ??? ??? ??? ??? ̙? ?̙ 3f? 3?? ?? ?? ?? ?f ff? ??? 3f 3?f 3 33 ?3 ?3f 33? 333 ` ? Tables?
( Lists? ? $
ClaimTypes; 9 Excel_BuiltIn__FilterDatabase_1; 9 Excel_BuiltIn__FilterDatabase_2; ? ? T? ? b ?Z ? 3 ? ? ? ?@ @ ?
? ? tJ 7 RuleSet+ org.optaplanner.examples.dinnerparty.solver Import2 org.optaplanner.examples.dinnerparty.domain.Gender1 org.optaplanner.examples.dinnerparty.domain.Guest1 org.optaplanner.examples.dinnerparty.domain.Hobby; org.optaplanner.examples.dinnerparty.domain.HobbyPractician/ org.optaplanner.examples.dinnerparty.domain.Job3 org.optaplanner.examples.dinnerparty.domain.JobType7 org.optaplanner.examples.dinnerparty.domain.DinnerParty0 org.optaplanner.examples.dinnerparty.domain.Seat; org.optaplanner.examples.dinnerparty.domain.SeatDesignation1 org.optaplanner.examples.dinnerparty.domain.Table RuleTable NeighborTable CONDITION ACTION $guest : SeatDesignation() $neighbor : SeatDesignation() guestName guestJobType.code
guestJob.name isNeighborOf($guest), guestName' isNeighborOf($guest), guestJobType.code# isNeighborOf($guest), guestJob.name1 scoreHolder.addConstraintMatch(kcontext, $param); Neighbor rules
Guest name Guest job type Guest job
Neighbor name Neighbor job type Neighbor job Score impact" Matthew and Sophia
Don't get along Matthew Sophia Ellie dislikes Politicians Ellie
Politician Cats and dogs
Don't get along Democrat
Republican Eva likes
French teachers Eva Teacher French Insurance Types Pricing Brackets
Location risk
COMPREHENSIVE LOW
FIRE_THEFT MED THIRD_PARTY HIGH?
7 y c c
?
? d ????MbP?_ ? % ? ?* + ? ? ? &