There are two type of decision tables in Drools, the standard ones and then 
matrix ones which are like this format. There are test cases and examples in 
the source code which should give you some more details on how to use the 
RuleMatrixSheetListener.

Thomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Wolfgang Laun
Sent: 25 October 2010 15:25
To: Rules Users List
Subject: Re: [rules-users] matrix style decision tables

A matrix like this is simply a binary relation M(x,y) -> Boolean. I can't see 
any
relationship to decistion tables as used by Drools.

-W

2010/10/25 kioto mitsubisi 
<[email protected]<mailto:[email protected]>>

Hi all,
I want to use decision tables of Drools in xls format. I need tables to be 
matrix.
       C1     C2     C3
C1    T
C2    F       F
C3    T       T       F

My decision table should similar to something like above. It will be a 
symmetric matrix and the action or result will be the
corresponding cell. I mean I will give the parameters say C1 and C3 and drools 
will tell me that it is T.
Can I do this?  in RuleMatrixSheetListener javadoc, it states something like 
matrix style decision tables
but I didn't understand anything from it.

_______________________________________________
rules-users mailing list
[email protected]<mailto:[email protected]>
https://lists.jboss.org/mailman/listinfo/rules-users


________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to