ools-benchmark.6.0.0.Beta2.source-code.propReactiveBasicNoLoop.drl Maven / Gradle / Ivy
declare A
a1 : int
a2 : int
end
rule Init salience 100
when
then
for (int i = 0; i < 1000000; i++) {
insert( new A(1, 1) );
}
end
rule R1 no-loop
when
$a: A( a1 < 10 )
then
modify( $a ) { setA2( $a.getA1() + 1 ) };
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy