<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    rule "infection spreads"<br>
    when<br>
    &nbsp;$a : Person (infected = true)<br>
    &nbsp;$b : Person (infected = false, within100meters($a) = true)<br>
    then<br>
    &nbsp;modify ($a) { infected = true }<br>
    end<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 20-08-13 11:00, Mauricio Salatino
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANzbnyXS09t+RZn1U5W-wuCXcFa-9Att++qyYgefWTY_JwW47w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi, why do you want to understand that? What are
        you trying to solve? Help us to help you.&nbsp;
        <div><br>
        </div>
        <div style="">Usually when the terms "Rules Recursion" is used,
          is when you have a rule or a set of rules that are executed in
          a loop because the consequence of a rule trigger the same rule
          again. This can be caused because your rule consequence, is
          modifying the objects that are matched in the Condition side
          of the rule, which causes the re evaluation of the condition.</div>
        <div style=""><br>
        </div>
        <div style="">Is that what are you looking for?</div>
        <div style=""><br>
        </div>
        <div style="">Cheers</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Aug 20, 2013 at 9:56 AM,
          ashwindrool <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ashwin.khandelwal86@gmail.com"
              target="_blank">ashwin.khandelwal86@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
            <br>
            Can anyone help me in understanding "Recursion Rules".<br>
            <br>
            If any example , will be of great help to me.<br>
            <br>
            <br>
            Thanks<br>
            <br>
            <br>
            <br>
            --<br>
            View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/What-are-Recursion-Rules-Any-example-tp4025617.html"
              target="_blank">http://drools.46999.n3.nabble.com/What-are-Recursion-Rules-Any-example-tp4025617.html</a><br>
            Sent from the Drools: User forum mailing list archive at
            Nabble.com.<br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">&nbsp;- MyJourney @ <a moz-do-not-send="true"
            href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a>
          <div>&nbsp;- Co-Founder @ <a moz-do-not-send="true"
              href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>
            &nbsp;- Co-Founder @ <a moz-do-not-send="true"
              href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
            &nbsp;<br>
            &nbsp;- Salatino "Salaboy" Mauricio -</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>