[rules-dev] examples documentation

Xavier Breton xavier.breton at acm.org
Wed Sep 19 19:52:05 EDT 2007


Hi Mark,

First of all, thanks for develop the examples documentation, It help
me to understand many thigs.

I have some coments, here they are:
Example 10.7. Salience State Example: Rule "A to B"
Figure 10.2. State Example Agenda View
The figure shows StateExapleUsingAgendaGroup.drl but in Example 10.4.
Salience State Example Execution are specified that the example being
shown is the one using salience. I think this can confuse the reader.

10.1.5.1. Starting anew -> (a new)
Note that we are "joining" the ticket fact with the customer fact. Its
not really needed in this case, as we don't do anything (yet) with the
customer fact. If you look in ghe -> (the) TroubleTicketExample.java,
you will also see that the facts are being inserted into the engine -
note that we asset -> (assert) BOTH Customer and Ticket object

10.1.9.5. Sudoku Solving Rules (solverSudoku.drl)
Rule #1 is basically a "book-keeping" rule. Several of the other rules
insert()... activations for the rule move to the top of the agenda and
a -> (are) fired.

Regards
Xavier

On 9/15/07, Mark Proctor <mproctor at codehaus.org> wrote:
> As no one from the community was willing to do it :( we've been building
> out the examples documentation, although it's slow going. Anyway I've
> put up a latest export of just the examples docs, please read and get
> feedback asap.
> http://www.athico.com/manual/html/ch10.html
>
> Still plenty more to do there, but enough to be useful now :)
>
> Mark
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



More information about the rules-dev mailing list