ECJ-INTEREST-L Archives

April 2013

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Type:
text/plain; charset="us-ascii"
Date:
Thu, 18 Apr 2013 15:41:27 -0400
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Content-Transfer-Encoding:
8bit
In-Reply-To:
MIME-Version:
1.0 (Apple Message framework v1085)
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (10 lines)
On Apr 18, 2013, at 11:13 AM, Bojan Janisch wrote:

> Well I'm using JBoss Drools if it is compatible. Also there is a regular syntax which each rule has to fulfill, doesn't matter which rule engine is used. Imports, Definition, Premise, Conclusion, I think you know how a rule looks like. 
> 
> My main problem consists of defining the parts of a rule, e.g. if I only want to mutate the premise of a rule, how do I define what a premise is? And how do I define the imports and globals and the conclusion?

I am afraid I must tell you that these kinds of things are entirely domain-specific.  You are looking at having to develop a custom representation for your problem.  It doesn't help matters that Drools is a business logic rules language with its own curious semantics. This is not stuff that ECJ (or really any general-purpose toolkit) can provide: you're going to have to make these decisions and implementation.

Sean

ATOM RSS1 RSS2