[rules-users] DRL to Decision Tables

2007-06-06 Thread suma

Hi, 

Is there anyway to convert a DRL file into a Decision table. 
This means that what ever  changes are made to the DRL file should be
reflected to the decision table. 
Or is there any other way in which the customer should be able to make
changes to decision tables through DRL file. 


Please help me as early as possible
I have posted the same message two days back,but not received any
replies
Please do the needful 
-- 
View this message in context: 
http://www.nabble.com/DRL-to-Decision-Tables-tf3882143.html#a11002822
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] RE:[ rules-users] Rule engine is worth?

2007-06-06 Thread Sikkandar Nawabjan
w fuzzy logic, and others, to be integrated. This system will be an
integrated extension of the Rete network.

Mark
Marko Frankovic wrote:
> Greetings!
>
> Having difficulties in writing rules? Then try this visual editor!
>
> What is new ?
> - Fuzzy logic on one specific way
> - New Decision and Arithmetic Tables are built in.
> - Debuger (replay of rules fire)
> - and much more
>
> What is next ?
> Bayes Decision Table
> AHP Decision Table
> Export to Oracle Syntax
> Eclipse as new platform
>
> You can get it here : http://sourceforge.net/projects/droolsruleedit
> And a short presentation here : http://droolsruleedit.sourceforge.net/
>
> All comments and suggestions are appreciated!
>
> Best regards,
> MSM Team
>
> 
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>  

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.jboss.org/pipermail/rules-users/attachments/20070606/739851c3/attachment-0001.html

--

Message: 3
Date: Wed, 6 Jun 2007 23:42:38 +0200
From: "Marko Frankovic" <[EMAIL PROTECTED]>
Subject: Re: [rules-users] New version of MSMTeam RuleEditor is on
SourceForge
To: "Rules Users List" 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

We're very sorry for the inconvenience, however the application hasn't been
tested on (any) Mac platforms
At this moment the application, on windows (and linux) platforms doesn't run
if started from a directory with empty spaces in it (for instance, desktop
since it is in ( e.g) "C:\Documents And Settings\name\Desktop"), also the
very same error appears.
The problem is somewhat inconveniant, (sorry about that) and is already
fixed and will be released shortly with a few other bug fixes (it's in
version 0.2, so a couple of bugs, unfortunately, exist).
This is probably the reason it doesn't work on your Mac. Since we do not
have any mac computers available to us (so it is kind of a bigger problem
than originaly assessed) we cannot test it whether the fix works on macs or
not :(
In the meantime please try some alternate fix (e.g. moving the app to
another directory).
P.S.
Thanks for the bug notice ;)


On 6/6/07, Fernando Meyer <[EMAIL PROTECTED]> wrote:
>
> I got a verbose stacked-error trying to run on mac,
> WARN  06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter:71] -
> SQL Error: -33, SQLState: S1000
> ERROR 06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter:72] -
> Access is denied
> WARN  06 06 2007 17:18:53 [org.hibernate.cfg.SettingsFactory:109] - Could
> not obtain connection metadata
> java.sql.SQLException: Access is denied
>
> basically an permission or missing database error thing, do I need to
> configure any native database to use with?
>
> Fernando Meyer
> [EMAIL PROTECTED]
> GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB
>
>
> On Jun 6, 2007, at 6:44 AM, Marko Frankovic wrote:
>
> Greetings!
>
> Having difficulties in writing rules? Then try this visual editor!
>
> What is new ?
> - Fuzzy logic on one specific way
> - New Decision and Arithmetic Tables are built in.
> - Debuger (replay of rules fire)
> - and much more
>
> What is next ?
> Bayes Decision Table
> AHP Decision Table
> Export to Oracle Syntax
> Eclipse as new platform
>
> You can get it here : http://sourceforge.net/projects/droolsruleedit
> And a short presentation here : http://droolsruleedit.sourceforge.net/
>
> All comments and suggestions are appreciated!
>
> Best regards,
> MSM Team
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.jboss.org/pipermail/rules-users/attachments/20070606/a135ebe6/attachment-0001.html

--

Message: 4
Date: Wed, 6 Jun 2007 23:36:41 + (UTC)
From: Chris Mathrusse <[EMAIL PROTECTED]>
Subject: [rules-users] working with deep object graph
To: rules-users@lists.jboss.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

I'm using JBoss Rules 4.0MR2 and I'm just starting out trying to learn the
concepts and syntax. My challenge is that I am p

Re: [rules-users] Dependency with JBoss

2007-06-06 Thread Mark Proctor

no, JBoss Rules is standalone.

Mark
Joj wrote:

Hi,
In the Drools documentation, it's written that : 
"The rule workbench (for Eclipse) requires that you have eclipse 3.2 or

greater, as well as Eclipse GEF 3.2 or greater. "

My application contains a GUI for building rules which 'll be converted into
some format - .drl or xml - which is understandable to Drools, and saved in
database. My Qn is : Is there any dependency for Drools with JBoss server?

Plz reply A.F.A.P.

Thanks in advance,
Jojan


  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Dependency with JBoss

2007-06-06 Thread Joj

Hi,
In the Drools documentation, it's written that : 
"The rule workbench (for Eclipse) requires that you have eclipse 3.2 or
greater, as well as Eclipse GEF 3.2 or greater. "

My application contains a GUI for building rules which 'll be converted into
some format - .drl or xml - which is understandable to Drools, and saved in
database. My Qn is : Is there any dependency for Drools with JBoss server?

Plz reply A.F.A.P.

Thanks in advance,
Jojan


-- 
View this message in context: 
http://www.nabble.com/Dependency-with-JBoss-tf3881929.html#a11002247
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] working with deep object graph

2007-06-06 Thread Mark Proctor
Express your data relationally and assert individual objects. Using 
'from' to traverse deep object graphs really is for legacy pojo support. 
If you do that you'll have no problem solving problems like this, look 
at Conways Game of Life to see how to exploit this relational approach 
to solving problems.


Later we will alow 'collect' and 'from' to be chained together, which 
will allow this for legacy deep graph pojo support.


Mark
Chris Mathrusse wrote:

I'm using JBoss Rules 4.0MR2 and I'm just starting out trying to learn the
concepts and syntax. My challenge is that I am placing into Working Memory a
List of Message objects. A Message contains an Order, and Order contains a List
of Line Items, a Line Item contains a Catalog, a Catalog contains a PriceCode,
and a PriceCode contains a value.

I'm trying to create rules that will identify the negative cases. My rules are
designed to find Orders, contained within each Message, that should not be
Released. If any rule finds a match the Order is no longer eligible for Release
and the Message will be updated appropriately. I've had some success with some
of the rules I've defined but now I'm getting into the more complex ones and
they are giving me some challenges when I need to work with Lists. The following
rule compiles and executes correctly but is not complete.

rule "Is Academic or Not For Resale"

when
$msg : Message( state == MessageState.RELEASING )
$order : RequestOrder( requestStatus == RequestStatus.ACCEPT ) 
from $msg.order
$itemList : List( ) from $order.lineItems
then
System.out.println("Rule Name: " + drools.getRule().getName());
  
end



So this rule compiles and it does print the message so I know that things are
working. But now my challenge is to test the PriceCode value contained in each
LineItems Catalog? 
Message -> Order -> LineItems -> Catalog -> PriceCode -> value


Should I load all the Order and Line Item objects up into working memory or can
I express what I want in a rule without having to do that?

Thanks for taking the time to help me with this.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] working with deep object graph

2007-06-06 Thread Chris Mathrusse
I'm using JBoss Rules 4.0MR2 and I'm just starting out trying to learn the
concepts and syntax. My challenge is that I am placing into Working Memory a
List of Message objects. A Message contains an Order, and Order contains a List
of Line Items, a Line Item contains a Catalog, a Catalog contains a PriceCode,
and a PriceCode contains a value.

I'm trying to create rules that will identify the negative cases. My rules are
designed to find Orders, contained within each Message, that should not be
Released. If any rule finds a match the Order is no longer eligible for Release
and the Message will be updated appropriately. I've had some success with some
of the rules I've defined but now I'm getting into the more complex ones and
they are giving me some challenges when I need to work with Lists. The following
rule compiles and executes correctly but is not complete.

rule "Is Academic or Not For Resale"

when
$msg : Message( state == MessageState.RELEASING )
$order : RequestOrder( requestStatus == RequestStatus.ACCEPT ) 
from $msg.order
$itemList : List( ) from $order.lineItems
then
System.out.println("Rule Name: " + drools.getRule().getName());
  
end


So this rule compiles and it does print the message so I know that things are
working. But now my challenge is to test the PriceCode value contained in each
LineItems Catalog? 
Message -> Order -> LineItems -> Catalog -> PriceCode -> value

Should I load all the Order and Line Item objects up into working memory or can
I express what I want in a rule without having to do that?

Thanks for taking the time to help me with this.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] New version of MSMTeam RuleEditor is on SourceForge

2007-06-06 Thread Marko Frankovic

We're very sorry for the inconvenience, however the application hasn't been
tested on (any) Mac platforms
At this moment the application, on windows (and linux) platforms doesn't run
if started from a directory with empty spaces in it (for instance, desktop
since it is in ( e.g) "C:\Documents And Settings\name\Desktop"), also the
very same error appears.
The problem is somewhat inconveniant, (sorry about that) and is already
fixed and will be released shortly with a few other bug fixes (it's in
version 0.2, so a couple of bugs, unfortunately, exist).
This is probably the reason it doesn't work on your Mac. Since we do not
have any mac computers available to us (so it is kind of a bigger problem
than originaly assessed) we cannot test it whether the fix works on macs or
not :(
In the meantime please try some alternate fix (e.g. moving the app to
another directory).
P.S.
Thanks for the bug notice ;)


On 6/6/07, Fernando Meyer <[EMAIL PROTECTED]> wrote:


I got a verbose stacked-error trying to run on mac,
WARN  06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter:71] -
SQL Error: -33, SQLState: S1000
ERROR 06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter:72] -
Access is denied
WARN  06 06 2007 17:18:53 [org.hibernate.cfg.SettingsFactory:109] - Could
not obtain connection metadata
java.sql.SQLException: Access is denied

basically an permission or missing database error thing, do I need to
configure any native database to use with?

Fernando Meyer
[EMAIL PROTECTED]
GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB


On Jun 6, 2007, at 6:44 AM, Marko Frankovic wrote:

Greetings!

Having difficulties in writing rules? Then try this visual editor!

What is new ?
- Fuzzy logic on one specific way
- New Decision and Arithmetic Tables are built in.
- Debuger (replay of rules fire)
- and much more

What is next ?
Bayes Decision Table
AHP Decision Table
Export to Oracle Syntax
Eclipse as new platform

You can get it here : http://sourceforge.net/projects/droolsruleedit
And a short presentation here : http://droolsruleedit.sourceforge.net/

All comments and suggestions are appreciated!

Best regards,
MSM Team

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] New version of MSMTeam RuleEditor is on SourceForge

2007-06-06 Thread Mark Proctor

MSM Team,

Good work on the project, have you thought of working with us to help 
build a better integrated tool, rather than a seperate satelite tool? We 
have someone working on unified belief system at the moment, that should 
allow fuzzy logic, and others, to be integrated. This system will be an 
integrated extension of the Rete network.


Mark
Marko Frankovic wrote:

Greetings!

Having difficulties in writing rules? Then try this visual editor!

What is new ?
- Fuzzy logic on one specific way
- New Decision and Arithmetic Tables are built in.
- Debuger (replay of rules fire)
- and much more

What is next ?
Bayes Decision Table
AHP Decision Table
Export to Oracle Syntax
Eclipse as new platform

You can get it here : http://sourceforge.net/projects/droolsruleedit
And a short presentation here : http://droolsruleedit.sourceforge.net/

All comments and suggestions are appreciated!

Best regards,
MSM Team



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] rule not valid...

2007-06-06 Thread Rahul Phadnis
You probably need a package definition at the top of
the file.

Please also import the SupplierView class in the rules
drl file.

You can also first test using the drools sample files.

-Rahul


--- "Manukyan, Sergey" <[EMAIL PROTECTED]> wrote:

> 
> Folks,
> 
>  
> 
> I am using Rules 4.0 in WebSphere 6.0 app server.
> 
>  
> 
> Made a simple test file with a simple rule :
> 
>  
> 
> rule "Test"
> 
>   when
> 
> cs : SupplierView()
> 
>   then
> 
> System.out.println(cs);
> 
> end
> 
>  
> 
>  
> 
> But getting exception:
> 
>  
> 
>  
> 
> [6/6/07 16:13:06:456 EDT] 0020 SystemErr R
> java.lang.IllegalArgumentException: The rule called
> Test is not valid.
> Check for compile errors reported.
> 
>   at
>
org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:363)
> 
>   at
>
org.drools.reteoo.ReteooRuleBase.addRule(ReteooRuleBase.java:263)
> 
>   at
>
org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:293)
> 
>  
> 
>  
> 
>  
> 
> How can I check compile errors?? And what is not
> valid in this rule?
> 
>  
> 
> Thanks for any ideas...
> 
>  
> 
> -Sergey
> 
>  
> 
>  
> 
> 
> 
> **
> ** LEGAL DISCLAIMER **
> **
> 
> This E-mail message and any attachments may contain 
> legally privileged, confidential or proprietary 
> information. If you are not the intended
> recipient(s),
> or the employee or agent responsible for delivery of
> 
> this message to the intended recipient(s), you are 
> hereby notified that any dissemination, distribution
> 
> or copying of this E-mail message is strictly 
> prohibited. If you have received this message in 
> error, please immediately notify the sender and 
> delete this E-mail message from your computer.>
___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] rule not valid...

2007-06-06 Thread Manukyan, Sergey

Folks,

 

I am using Rules 4.0 in WebSphere 6.0 app server.

 

Made a simple test file with a simple rule :

 

rule "Test"

  when

cs : SupplierView()

  then

System.out.println(cs);

end

 

 

But getting exception:

 

 

[6/6/07 16:13:06:456 EDT] 0020 SystemErr R
java.lang.IllegalArgumentException: The rule called Test is not valid.
Check for compile errors reported.

  at
org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:363)

  at
org.drools.reteoo.ReteooRuleBase.addRule(ReteooRuleBase.java:263)

  at
org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:293)

 

 

 

How can I check compile errors?? And what is not valid in this rule?

 

Thanks for any ideas...

 

-Sergey

 

 



**
** LEGAL DISCLAIMER **
**

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] New version of MSMTeam RuleEditor is on SourceForge

2007-06-06 Thread Fernando Meyer

I got a verbose stacked-error trying to run on mac,

WARN  06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter: 
71] - SQL Error: -33, SQLState: S1000
ERROR 06 06 2007 17:18:53 [org.hibernate.util.JDBCExceptionReporter: 
72] - Access is denied
WARN  06 06 2007 17:18:53 [org.hibernate.cfg.SettingsFactory:109] -  
Could not obtain connection metadata

java.sql.SQLException: Access is denied

basically an permission or missing database error thing, do I need to  
configure any native database to use with?


Fernando Meyer
[EMAIL PROTECTED]
GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB


On Jun 6, 2007, at 6:44 AM, Marko Frankovic wrote:


Greetings!

Having difficulties in writing rules? Then try this visual editor!

What is new ?
- Fuzzy logic on one specific way
- New Decision and Arithmetic Tables are built in.
- Debuger (replay of rules fire)
- and much more

What is next ?
Bayes Decision Table
AHP Decision Table
Export to Oracle Syntax
Eclipse as new platform

You can get it here : http://sourceforge.net/projects/droolsruleedit
And a short presentation here : http://droolsruleedit.sourceforge.net/

All comments and suggestions are appreciated!

Best regards,
MSM Team

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Backward Chaining Support

2007-06-06 Thread Mark Proctor
No it didn't make it :( But we do have 'from' which allows you to reason 
over data not in the working memory, that will help with some use cases 
where people wanted backward chaining.


Mark
Emily Harsh wrote:
In the 3.0.6 Drools Documentation 
(http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.6/html_single/index.html 
) 
towards the end of section 1.1.1. Introduction and Background 
 
it states "Drools will adding support for Backward Chaining in its 
next major release."


Will Backward Chaining support be added in 4.0?  I have not seen any 
mention of it in the Roadmap or Release Notes.  If not, any idea when 
it will be supported?


Emily


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Backward Chaining Support

2007-06-06 Thread Emily Harsh

In the 3.0.6 Drools Documentation (
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.6/html_single/index.html)
towards the end of section 1.1.1. Introduction and
Backgroundit
states "Drools will adding support for Backward Chaining in its next
major release."

Will Backward Chaining support be added in 4.0?  I have not seen any mention
of it in the Roadmap or Release Notes.  If not, any idea when it will be
supported?

Emily
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Rule order in DSL file

2007-06-06 Thread Rajesh.Sachin10

I used 'salience' key word to control the order of firing in drl file. But it
is not working properly when we use both DSL file and DRL file to execute
rules. The order of firing is in random manner in DSL file. 

How to control the order of firing in dsl file?

Eg:

My requirement consists of 6 [when] [then] conditions in DSL file. 

If first 3 rules get fired, then only the 4th and 5th rule should fire.

Then if 5th rule is fired then 6 rule should execute.

How to control this in DSL file?
-- 
View this message in context: 
http://www.nabble.com/Rule-order-in-DSL-file-tf3876953.html#a10985646
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] New version of MSMTeam RuleEditor is on SourceForge

2007-06-06 Thread Marko Frankovic

Greetings!

Having difficulties in writing rules? Then try this visual editor!

What is new ?
- Fuzzy logic on one specific way
- New Decision and Arithmetic Tables are built in.
- Debuger (replay of rules fire)
- and much more

What is next ?
Bayes Decision Table
AHP Decision Table
Export to Oracle Syntax
Eclipse as new platform

You can get it here : http://sourceforge.net/projects/droolsruleedit
And a short presentation here : http://droolsruleedit.sourceforge.net/

All comments and suggestions are appreciated!

Best regards,
MSM Team
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users