Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-11 Thread Mark Proctor
Wolfgang Laun wrote: 2009/11/11 Mark Proctor : Wolfgang Laun wrote: And, perhaps, think about adding (relatively) simple things like permitting, in DRL import static ...; you can already do this, but we call it import function. We just haven't done the mapping to allow functions to be im

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Wolfgang Laun
2009/11/11 Mark Proctor : > Wolfgang Laun wrote: > > And, perhaps, think about adding (relatively) simple things like > permitting, in DRL >import static ...; > > you can already do this, but we call it import function. We just haven't > done the mapping to allow functions to be imported from d

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Mark Proctor
Wolfgang Laun wrote: 2009/11/11 Mark Proctor : Wolfgang Laun wrote: 2009/11/10 Mark Proctor : Wolfgang Laun wrote: It is, however, very desirable to be able to write LHS in a more structured way, not being forced to either repeat CEs or create additional facts establishing secondary prope

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Wolfgang Laun
2009/11/11 Mark Proctor : > Wolfgang Laun wrote: > > 2009/11/10 Mark Proctor : > > > Wolfgang Laun wrote: > > It is, however, very desirable to be able to write LHS in a more > structured way, not being forced to either repeat CEs or create > additional facts establishing secondary properties (such

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Mark Proctor
Wolfgang Laun wrote: 2009/11/10 Mark Proctor : Wolfgang Laun wrote: It is, however, very desirable to be able to write LHS in a more structured way, not being forced to either repeat CEs or create additional facts establishing secondary properties (such as isAdult). property ( ){ }

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Wolfgang Laun
2009/11/10 Mark Proctor : > Wolfgang Laun wrote: > > It is, however, very desirable to be able to write LHS in a more > structured way, not being forced to either repeat CEs or create > additional facts establishing secondary properties (such as isAdult). > > property ( ){ } > > and use this

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Mark Proctor
Wolfgang Laun wrote: Leo's reply reads: "In this scenario, aren't we moving logic that would be better expressed in a declarative form (drl) to facts that are coded in java?" I don't think this is an issue. Extracting a fact's property derived from one or more constraints being true as an additi

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Mark Proctor
Leonardo Gomes wrote: I think I missed something on that post. Just posted a reply. Cheers, Leo. "In this scenario, aren't we moving logic that would be better expressed in a declarative form (drl) to facts that are coded in java?" That facts are coded in java is incidental there use is st

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Wolfgang Laun
Leo's reply reads: "In this scenario, aren't we moving logic that would be better expressed in a declarative form (drl) to facts that are coded in java?" I don't think this is an issue. Extracting a fact's property derived from one or more constraints being true as an additional fact isn't doing w

Re: [rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-10 Thread Leonardo Gomes
I think I missed something on that post. Just posted a reply. Cheers, Leo. On Tue, Nov 10, 2009 at 3:05 AM, Mark Proctor wrote: > Just published this, where I'm trying to explain good rule design in > terms more familiar to software developers. > http://blog.athico.com/2009/11/what-is-inference-

[rules-users] What is inference and how does it facilitate good rule design and maintenance

2009-11-09 Thread Mark Proctor
Just published this, where I'm trying to explain good rule design in terms more familiar to software developers. http://blog.athico.com/2009/11/what-is-inference-and-how-does-it.html Let me know what you think, and hopefully people have other ideas they can add back in. Mark __