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: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
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 <reader_1000@hotmail.com>
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
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users