<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
not really, all I can say is try and work with flat models and '=='
operators for performance - we currently don't optimise != or number
ranges. Avoid eval, predicate and return value unless you really need
them. Keep your consequences short and avoid flow logic in them, i.e.
'if'/'switch ' statements.<br>
<br>
Mark<br>
Olenin, Vladimir (MOH) wrote:
<blockquote
 cite="mid:060D1E03738E6743B694DA541B5E4CC911A2D172@hscptoyfmxis101.moh.ad.gov.on.ca"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType>
  <div class="Section1">
  <div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: windowtext;">Ok, found
the descriptions &#8211; for
anyone interested, you need to switch into &#8216;JBoss Rules&#8217;
prospective and open &#8216;Properties&#8217; tab. This way whenever you select
a node, information about the node would be displayed there (Properties
tab won&#8217;t
get activated automatically).<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: windowtext;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: windowtext;">Mark, any
general hints on correlations
between diagram &#8216;look&#8217; &amp; performance implications? (eg, &#8220;the
more &#8216;alpha&#8217; nodes, the worse/the better is performance&#8221;, &#8220;the
more connections to the node, the ____ is performance&#8221;, etc)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: windowtext;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: windowtext;">Thanks<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;"><o:p>&nbsp;</o:p></span></font></p>
  <div class="MsoNormal" style="margin-left: 36pt; text-align: center;"
 align="center"><font color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal" style="margin-left: 36pt;"><b><font color="black"
 face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
 color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
 style="font-weight: bold;">On
Behalf Of </span></b>Mark Proctor<br>
  <b><span style="font-weight: bold;">Sent:</span></b> 09 March 2007
18:18<br>
  <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName
 w:st="on">Rules Users List</st1:PersonName><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re:
[rules-users] Rete
diagram legend - what do all the colors mean?...</span></font><font
 color="black"><span style="color: windowtext;"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;">yes if
you understand the
rete diagram you can can help it with understanding performance. If you
click
on a node it tells you the type. Which are roughly<br>
root, object type node, alpha node, join node, not node, exists node,
eval node
and terminal node. Can't remenber which has which colour, but you
should be
able to figure it out, we discuss the node types briefly in the manual.<br>
  <br>
Mark<br>
Olenin, Vladimir (MOH) wrote: <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Hi,<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I was trying to
make some sense out of Rete Diagram for my rules (DROOLS 3.1M), and one
of the
questions I have is what all these colors mean? There are red, blue,
yellow,
green, orange, white, cyan and black circles&#8230;. I might be wrong, but I
think this should mean something!<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Also, I noticed
that by default the diagram is displayed in &#8216;layers&#8217; of dots. In my
case I have 7 layers, the top one being the &#8216;root&#8217; I assume (single
white circle). The &#8216;widest&#8217; layer is the middle one &#8211; the
forth layer. So, generally the diagram has a diamond shape. I wonder if
one can
use this kind of visual information to make a rough
estimation/assumption on
how efficient his rules/constraints are, some hints into optimization,
etc&#8230;.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Thanks,<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;">Vlad&nbsp;<o:p></o:p></span><u1:p></u1:p></font></p>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>
  <pre style="margin-left: 36pt;" wrap=""><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="margin-left: 36pt; text-align: center;"><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;">rules-users mailing list<o:p></o:p></span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;"><a moz-do-not-send="true"
 href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><o:p></o:p></span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;"><a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></pre>
  <pre style="margin-left: 36pt;"><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt;">&nbsp; <o:p></o:p></span></font></pre>
  <p class="MsoNormal" style="margin-left: 36pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>