99.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3731857.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/
// resource changes results in a new
instance of the KnowledgeBase being built,
// this cannot currently be set to false
for incremental building/
So, why is this property changing the behaviour of the rules?
--
View this message in context:
http://drools.46999.
t((RuleEvent) new StateEvent(item, state));
> ksession.fireAllRules();
> (...)
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726783.html
> Sent from the Drools: User forum mailing list arc
session.insert((RuleEvent) new StateEvent(item, state));
ksession.fireAllRules();
ksession.insert((RuleEvent) new StateEvent(item, state));
ksession.fireAllRules();
(...)
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726783.h
ct?? Have i missed anything to register this declared fact?
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726534.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
>
&g
fact?
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726534.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rul
teEvent( $in: itemName )
> then
> org.openhab.demo.Monitor m = new Monitor( $se, $in );
> insert( m );
> System.out.println( "yikes¡");
> end
>
>
> rule "nothing for 1m"
> when
> $m: Monitor( $in: itemName )
> then
> System.out.println( "not wor
");
end
rule "nothing for 1m"
when
$m: Monitor( $in: itemName )
then
System.out.println( "not working: " + $in );
end
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726201.html
S
"start monitoring" rule without problems.
> And i've checked that it's fired.
>
> But rule "nothing for 1m" is not working, even with the most basic LHS
>
> rule "nothing for 1m"
> when
> $monitor : Monitor( )
> then
> Sys
red.
But rule "nothing for 1m" is not working, even with the most basic LHS
rule "nothing for 1m"
when
$monitor : Monitor( )
then
System.out.println( ">>>>>>>>>>>>>>>>>>>>>>> not working: &
Absence of facts (and events) is not a good foundation for rules, as you
have discovered.
Consider that the arrival of an event with some specific itemName is
another fact, and you want to monitor the aging of that secondary fact, or
cancel it as soon as yet another one arrives.
rule "start monit
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3722724.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@
Hi there,
I'm working on a rule that will alert me when there is no events from the
sensors for a while.
So, first idea was to use time window and matches in condition side, to
match all types of sensors, and then to print that something is wrong.
rule "Alert if there is no activity"
when
no
nance, I'll give the
agenda groups a try...
Cheers,
Andreas
-Ursprüngliche Nachricht-
Von: rules-users-boun...@lists.jboss.org im Auftrag von David Sinclair
Gesendet: Di 17.02.2009 22:39
An: Rules Users List
Betreff: Re: [rules-users] Truth maintenance
Have you considered using Droo
Have you considered using Drools built in phase control instead of your own?
Either agenda groups or a rule flow should do the trick and I neither of
these options affect logical inserts.
On Sun, Feb 15, 2009 at 4:07 PM, Andreas Volz wrote:
> Hi,
>
> I have a question concerning the truth mainten
Hi,
I have a question concerning the truth maintenance mechanism in Drools:
Is it possible to exclude some preconditions from truth maintenance?
We want to implement a rule flow by using an attribute of a special
fact (ProcessPhaseController.phase).
We have some phases that we want to traverse.
[EMAIL PROTECTED] wrote:
I have a question about logical assertions and truth maintenance.
First of all, the Drools manual states:
2.5.8.2. Important note: Equality for Java objects
It is important to note that for Truth Maintenance (and logical
assertions) to work at all, your Fac
I have a question about logical assertions and truth maintenance. First of all,
the Drools manual states:
2.5.8.2. Important note: Equality for Java objects
It is important to note that for Truth Maintenance (and logical assertions) to
work at all, your Fact objects (which may be Javabeans) over
18 matches
Mail list logo