All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.optaplanner.examples.dinnerparty.solver.dinnerPartyExtraConstraints.xls Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 9.44.0.Final
Show newest version
??ࡱ?;??	????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????	

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Root Entry????????????????????????????????????????????????????????????????	?
?????\pCalc                                                                                                         B?a?=???=@ 8?@?"??1???Arial1???Arial1???Arial1???Arial1???Tahoma1?	?Tahoma1.??Times New Roman1.??Times New Roman1??Arial1???Tahoma1???Tahoma?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??????ff???f??????????????????????????????????̙??̙3f?3?????????fff????3f3?f333?3?3f33?333`?Tables?
(Lists??$
ClaimTypes;9Excel_BuiltIn__FilterDatabase_1;9Excel_BuiltIn__FilterDatabase_2;??T??b?Z? 3???	?@@?
??tJ7RuleSet+org.optaplanner.examples.dinnerparty.solverImport2org.optaplanner.examples.dinnerparty.domain.Gender1org.optaplanner.examples.dinnerparty.domain.Guest1org.optaplanner.examples.dinnerparty.domain.Hobby;org.optaplanner.examples.dinnerparty.domain.HobbyPractician/org.optaplanner.examples.dinnerparty.domain.Job3org.optaplanner.examples.dinnerparty.domain.JobType7org.optaplanner.examples.dinnerparty.domain.DinnerParty0org.optaplanner.examples.dinnerparty.domain.Seat;org.optaplanner.examples.dinnerparty.domain.SeatDesignation1org.optaplanner.examples.dinnerparty.domain.TableRuleTable NeighborTable	CONDITIONACTION$guest : SeatDesignation()$neighbor : SeatDesignation()	guestNameguestJobType.code
guestJob.nameisNeighborOf($guest), guestName'isNeighborOf($guest), guestJobType.code#isNeighborOf($guest), guestJob.name1scoreHolder.addConstraintMatch(kcontext, $param);Neighbor rules
Guest nameGuest job type	Guest job
Neighbor nameNeighbor job typeNeighbor jobScore impact"Matthew and Sophia
Don't get alongMatthewSophiaEllie dislikes PoliticiansEllie
PoliticianCats and dogs
Don't get alongDemocrat
RepublicanEva likes
French teachersEvaTeacherFrenchInsurance TypesPricing Brackets
Location risk
COMPREHENSIVELOW
FIRE_THEFTMEDTHIRD_PARTYHIGH?
7ycc
	?
?d????MbP?_?%??*+???&333333??'J??I????([?[???)?????????"	d,,?`?`???`?`??U}}Z}Z}Z}		q}

G}?		?a	?a	?a	?a	?a	?a	?a	?a		?a
	?a	?a 

!????'r?rrr??
?
??
?
??
?
??
?
??
?
??
?
??
?
??
?
	?	?
	?
	
?	
?

?

?
?
?
?
?


?
   !!!"	#?
$?
%?
%?
$?
%?
%?
%?
	
#?
&?
&&?
&?&&%(?
)?
)?
)?
)?
)?
)?
*?	?
+?
,?
,?
,?
,?
,?
,?
- ?	?
.!?
/"?
00?
/#?
01~
2?????	?
3$?
4%?554?
5&6~
7?????	?
8'9?
:&?
:(9?
:&?
;)~
<?????	?
=*?
>+???>?
?,?
@-~
A*?	?J	?
?????(	?
???
?
C?x????X??P?P????????$???????
?yB???]?
??C<DA keyword of "Ruleset" means that this worksheet is a ruleset, and it has a name in the next cell across. In the following lines, we can have imports, or other ruleset directives if we need to ad them in future.

Perhaps this is not needed - ruleset name can be XLS name, and imports are not really needed most of the time.<?C????
?
C?x????X??P?P????????$???????
?I?p*?]?
??u<vThis is the name of the ruleset
 as it is a package name, java classes from this package are automatically accessible< u????
?
C?x????X??P?P????????$???????
?y??]?
??O<PLook at me !! I tell you that I am the start of a rule table, and what parameters I require !
(and their types).
The "RuleTable" keyword must appear on top of the first condition column.

You can have as many "RuleTables" as you like, just separate them by a line.

Note that all the columns to the left of this column will be ignored.<^O????
?
C?x????X??P?P????????$???????
?B+?0??]?
???<?Look at me !!
I tell you that I am a condition colmn. The next row down has the rule "template" and the row below that is a comment. After that, it is all rule data until an empty line !

Note that if there is no data in a row, then this condition does not apply. 

each row of rule data combines with a template to make a condition. Each row of rule data equates to a whole rule in a DRL file. 

Other column types: ACTION, NAME, PRIORITY, DURATION - refer to http://drools.org/Decision+Tables for details<?????
?
C?x????X??P?P????????$???????
?B+?0??]?
???<?Look at me !!
I tell you that I am a condition colmn. The next row down has the rule "template" and the row below that is a comment. After that, it is all rule data until an empty line !

Note that if there is no data in a row, then this condition does not apply. 

each row of rule data combines with a template to make a condition. Each row of rule data equates to a whole rule in a DRL file. 

Other column types: ACTION, NAME, PRIORITY, DURATION - refer to http://drools.org/Decision+Tables for details<?
>?@?gg????
	?
?d????MbP?_?%???*+???&????????'????????(?'}?'}??)?'}?'}???"d,,?`?`???`?`??U}}U}?????
.?
/?
0?
B1?
B2?
B2?
C3?
B4?
B4?
B5?
B6?
B6?P?H ??0?(	?
?>?@?gg????
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
?????FMicrosoft Excel 97-TabelleBiff8???????Oh??+'??0?HPh	?
???
???Lorane McINTOSHGeoffrey Smet40@???\@?jy]T?@?,???@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy