aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/fuzzyset_8cpp-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/fuzzyset_8cpp-source.html')
-rw-r--r--docs/doxygen/nel/fuzzyset_8cpp-source.html844
1 files changed, 844 insertions, 0 deletions
diff --git a/docs/doxygen/nel/fuzzyset_8cpp-source.html b/docs/doxygen/nel/fuzzyset_8cpp-source.html
new file mode 100644
index 00000000..0f224ce6
--- /dev/null
+++ b/docs/doxygen/nel/fuzzyset_8cpp-source.html
@@ -0,0 +1,844 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>fuzzyset.cpp</h1><a href="fuzzyset_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2000 Nevrax Ltd.</font>
+00008 <font class="comment"> *</font>
+00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00013 <font class="comment"> * any later version.</font>
+00014 <font class="comment"></font>
+00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00018 <font class="comment"> * General Public License for more details.</font>
+00019 <font class="comment"></font>
+00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00023 <font class="comment"> * MA 02111-1307, USA.</font>
+00024 <font class="comment"> */</font>
+00025 <font class="preprocessor">#include "<a class="code" href="fuzzyset_8h.html">nel/ai/fuzzy/fuzzyset.h</a>"</font>
+00026
+00027 <font class="keyword">namespace </font>NLAIFUZZY
+00028 {
+00029
+<a name="l00030"></a><a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a7">00030</a> <font class="keywordtype">void</font> IFuzzySet::addFact(<font class="keywordtype">double</font> <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)
+00031 {
+00032 <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.push_back( <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a> );
+00033 }
+00034
+<a name="l00035"></a><a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a8">00035</a> <font class="keywordtype">double</font> IFuzzySet::agregate()
+00036 {
+00037 <font class="keywordflow">if</font> ( <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.size() )
+00038 {
+00039 <font class="comment">// min</font>
+00040 <font class="keywordtype">double</font> <a class="code" href="bit__set_8cpp.html#a0">min</a> = 1;
+00041 <font class="keywordflow">while</font> ( <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.size() )
+00042 {
+00043 <font class="keywordflow">if</font> ( <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.front() &lt; <a class="code" href="bit__set_8cpp.html#a0">min</a> )
+00044 <a class="code" href="bit__set_8cpp.html#a0">min</a> = <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.front();
+00045 <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n1">_Facts</a>.pop_front();
+00046 }
+00047 <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n2">_Value</a> = <a class="code" href="bit__set_8cpp.html#a0">min</a>;
+00048 <font class="keywordflow">return</font> <a class="code" href="bit__set_8cpp.html#a0">min</a>;
+00049 }
+00050 <font class="keywordflow">else</font>
+00051 {
+00052 <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n2">_Value</a> = 0.0;
+00053 <font class="keywordflow">return</font> 0.0;
+00054 }
+00055 }
+00056
+<a name="l00057"></a><a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a9">00057</a> <font class="keywordtype">double</font> IFuzzySet::getValue()
+00058 {
+00059 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n2">_Value</a>;
+00060 }
+00061
+<a name="l00062"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">00062</a> CFuzzyInterval::CFuzzyInterval(<font class="keywordtype">char</font> *name,<font class="keywordtype">double</font> <a class="code" href="bit__set_8cpp.html#a0">min</a>, <font class="keywordtype">double</font> max) : IFuzzySet(name)
+00063 {
+00064 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> = <a class="code" href="bit__set_8cpp.html#a0">min</a>;
+00065 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> = max;
+00066 }
+00067
+<a name="l00068"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a1">00068</a> CFuzzyInterval::CFuzzyInterval(<font class="keyword">const</font> CFuzzyInterval &amp;cp) : IFuzzySet(cp._Name)
+00069 {
+00070 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> = cp._Min;
+00071 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> = cp._Max;
+00072 }
+00073
+<a name="l00074"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a14">00074</a> <font class="keywordtype">void</font> CFuzzyInterval::init(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)
+00075 {
+00076 <font class="keywordflow">if</font> ( ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;size() != 3 )
+00077 {
+00078 <font class="comment">// throw Exc::</font>
+00079 }
+00080 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> * arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00081 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg )-&gt;getValue();
+00082 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00083 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00084 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00085 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00086 }
+00087
+<a name="l00088"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a2">00088</a> <font class="keywordtype">double</font> CFuzzyInterval::membership(<font class="keywordtype">double</font> val)
+00089 {
+00090 <font class="keywordflow">if</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> )
+00091 <font class="keywordflow">return</font> 1.0;
+00092 <font class="keywordflow">else</font>
+00093 <font class="keywordflow">return</font> 0.0;
+00094 }
+00095
+<a name="l00096"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a3">00096</a> <font class="keywordtype">bool</font> CFuzzyInterval::isIn(<font class="keywordtype">double</font> val)
+00097 {
+00098 <font class="keywordflow">if</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> )
+00099 <font class="keywordflow">return</font> <font class="keyword">true</font>;
+00100 <font class="keywordflow">else</font>
+00101 <font class="keywordflow">return</font> <font class="keyword">false</font>;
+00102 }
+00103
+<a name="l00104"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a4">00104</a> <font class="keywordtype">double</font> CFuzzyInterval::surface()
+00105 {
+00106 <font class="keywordflow">return</font> ( <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> - <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> );
+00107 }
+00108
+<a name="l00109"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a5">00109</a> <font class="keywordtype">double</font> CFuzzyInterval::center()
+00110 {
+00111 <font class="keywordflow">return</font> ( <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> + <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> ) /2;
+00112 }
+00113
+00114
+<a name="l00115"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a6">00115</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CFuzzyInterval::clone()<font class="keyword"> const </font>
+00116 <font class="keyword"> </font>{
+00117 <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">CFuzzyInterval</a> *<a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a6">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">CFuzzyInterval</a>( *<font class="keyword">this</font> );
+00118 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a6">clone</a>;
+00119 }
+00120
+<a name="l00121"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a7">00121</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CFuzzyInterval::newInstance()<font class="keyword"> const</font>
+00122 <font class="keyword"> </font>{
+00123 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">CFuzzyInterval</a>( *<font class="keyword">this</font> );
+00124
+00125 <font class="keywordflow">return</font> instance;
+00126 }
+00127
+<a name="l00128"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a8">00128</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;CFuzzyInterval::getType()<font class="keyword"> const</font>
+00129 <font class="keyword"> </font>{
+00130 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#p0">IdFuzzyInterval</a>;
+00131 }
+00132
+<a name="l00133"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a9">00133</a> <font class="keywordtype">void</font> CFuzzyInterval::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00134 {
+00135 IFuzzySet::save(os);
+00136 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> );
+00137 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> );
+00138 }
+00139
+<a name="l00140"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a10">00140</a> <font class="keywordtype">void</font> CFuzzyInterval::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00141 {
+00142 }
+00143
+<a name="l00144"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a11">00144</a> <font class="keywordtype">void</font> CFuzzyInterval::getDebugString(std::string &amp;txt)<font class="keyword"> const</font>
+00145 <font class="keyword"> </font>{
+00146 txt += <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"%s [%f , %f]"</font>, <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n0">_Name</a>, <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a>, <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a>);
+00147 }
+00148
+<a name="l00149"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a12">00149</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CFuzzyInterval::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00150 <font class="keyword"> </font>{
+00151 <font class="keywordflow">return</font> ( ((<a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">CFuzzyInterval</a> &amp;)a)._Min == <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o0">_Min</a> &amp;&amp; ((<a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a0">CFuzzyInterval</a> &amp;)a)._Max == <a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#o1">_Max</a> );
+00152 }
+00153
+<a name="l00154"></a><a class="code" href="classNLAIFUZZY_1_1CFuzzyInterval.html#a13">00154</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CFuzzyInterval::run()
+00155 {
+00156 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00157 }
+00158
+00161
+00162
+<a name="l00163"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">00163</a> CRightFuzzySet::CRightFuzzySet(<font class="keywordtype">char</font> *name, <font class="keywordtype">double</font> x1,<font class="keywordtype">double</font> x2,<font class="keywordtype">double</font> x3) : IFuzzySet(name)
+00164 {
+00165 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> = x1;
+00166 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> = x2;
+00167 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> = x3;
+00168 }
+00169
+<a name="l00170"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a1">00170</a> CRightFuzzySet::CRightFuzzySet(<font class="keyword">const</font> CRightFuzzySet &amp;cp) : IFuzzySet(cp._Name)
+00171 {
+00172 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> = cp._X1;
+00173 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> = cp._X2;
+00174 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> = cp._X3;
+00175 }
+00176
+<a name="l00177"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a14">00177</a> <font class="keywordtype">void</font> CRightFuzzySet::init(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)
+00178 {
+00179 <font class="keywordflow">if</font> ( ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;size() != 3 )
+00180 {
+00181 <font class="comment">// throw Exc::</font>
+00182 }
+00183 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00184 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00185 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00186 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00187 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00188 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00189 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00190 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00191 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00192 }
+00193
+00194
+<a name="l00195"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a2">00195</a> <font class="keywordtype">double</font> CRightFuzzySet::membership(<font class="keywordtype">double</font> val)
+00196 {
+00197 <font class="keywordflow">if</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> )
+00198 <font class="keywordflow">return</font> 1.0;
+00199
+00200 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> )
+00201 {
+00202 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> ) );
+00203 }
+00204
+00205 <font class="keywordflow">return</font> 0.0;
+00206 }
+00207
+<a name="l00208"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a3">00208</a> <font class="keywordtype">bool</font> CRightFuzzySet::isIn(<font class="keywordtype">double</font> val)
+00209 {
+00210 <font class="keywordflow">return</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> );
+00211 }
+00212
+<a name="l00213"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a4">00213</a> <font class="keywordtype">double</font> CRightFuzzySet::surface()
+00214 {
+00215 <font class="keywordflow">return</font> (<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a>) /2 + (<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a>);
+00216 }
+00217
+<a name="l00218"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a5">00218</a> <font class="keywordtype">double</font> CRightFuzzySet::center()
+00219 {
+00220 <font class="keywordflow">return</font> ( ( (<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> + <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a>) /4 + (<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> + <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a>) /2 ) /1.5);
+00221 }
+00222
+<a name="l00223"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a6">00223</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CRightFuzzySet::clone()<font class="keyword"> const</font>
+00224 <font class="keyword"> </font>{
+00225 <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a> *<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a6">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a>( *<font class="keyword">this</font> );
+00226 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a6">clone</a>;
+00227 }
+<a name="l00228"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a7">00228</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CRightFuzzySet::newInstance()<font class="keyword"> const</font>
+00229 <font class="keyword"> </font>{
+00230 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a>( *<font class="keyword">this</font> );
+00231 <font class="keywordflow">return</font> instance;
+00232 }
+00233
+<a name="l00234"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a8">00234</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;CRightFuzzySet::getType()<font class="keyword"> const</font>
+00235 <font class="keyword"> </font>{
+00236 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#p0">IdRightFuzzySet</a>;
+00237 }
+00238
+<a name="l00239"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a9">00239</a> <font class="keywordtype">void</font> CRightFuzzySet::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00240 {
+00241 IFuzzySet::save(os);
+00242 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> );
+00243 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> );
+00244 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a>);
+00245 }
+00246
+<a name="l00247"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a10">00247</a> <font class="keywordtype">void</font> CRightFuzzySet::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00248 {
+00249 }
+00250
+<a name="l00251"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a11">00251</a> <font class="keywordtype">void</font> CRightFuzzySet::getDebugString(std::string &amp;txt)<font class="keyword"> const</font>
+00252 <font class="keyword"> </font>{
+00253 txt += <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CRightFuzzySet %s [%f , %f , %f]"</font>, <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n0">_Name</a>, <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a>, <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a>, <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a>);
+00254 }
+00255
+<a name="l00256"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a12">00256</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CRightFuzzySet::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00257 <font class="keyword"> </font>{
+00258 <font class="keywordflow">return</font> ( ((<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a> &amp;)a)._X1 == <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o0">_X1</a> &amp;&amp;
+00259 ((<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a> &amp;)a)._X2 == <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o1">_X2</a> &amp;&amp;
+00260 ((<a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a0">CRightFuzzySet</a> &amp;)a)._X3 == <a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#o2">_X3</a> );
+00261 }
+00262
+<a name="l00263"></a><a class="code" href="classNLAIFUZZY_1_1CRightFuzzySet.html#a13">00263</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CRightFuzzySet::run()
+00264 {
+00265 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00266 }
+00267
+00268
+00269
+<a name="l00270"></a><a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a10">00270</a> NLAIAGENT::tQueue IFuzzySet::isMember(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> *className,<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> *funcName,<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)<font class="keyword"> const</font>
+00271 <font class="keyword"> </font>{
+00272
+00273 <font class="preprocessor">#ifdef NL_DEBUG </font>
+00274 <font class="preprocessor"></font> std::string nameP;
+00275 std::string nameM;
+00276 funcName-&gt;<a class="code" href="classNLAIC_1_1IBasicType.html#a5">getDebugString</a>(nameM);
+00277 params.<a class="code" href="classNLAIC_1_1IBasicType.html#a5">getDebugString</a>(nameP);
+00278
+00279 <font class="keyword">const</font> <font class="keywordtype">char</font> *dbg_class_name = (<font class="keyword">const</font> <font class="keywordtype">char</font> *) <a class="code" href="classNLAIC_1_1IBasicType.html#a2">getType</a>();
+00280 <font class="preprocessor">#endif</font>
+00281 <font class="preprocessor"></font> NLAIAGENT::tQueue <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>;
+00282 <font class="keywordflow">if</font>(className == NULL)
+00283 {
+00284 <font class="keywordflow">if</font>( (*funcName) == <a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>( <font class="stringliteral">"Constructor"</font> ) )
+00285 {
+00286 <a class="code" href="classNLAIAGENT_1_1CObjectType.html">NLAIAGENT::CObjectType</a> *c = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CObjectType.html">NLAIAGENT::CObjectType</a>( <font class="keyword">new</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a>( CTriangleFuzzySet::IdTriangleFuzzySet ) );
+00287 <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>.push( <a class="code" href="structNLAIAGENT_1_1CIdMethod.html">NLAIAGENT::CIdMethod</a>( 0 + IObjectIA::getMethodIndexSize(), 0.0, NULL, c) );
+00288 }
+00289
+00290 <font class="keywordflow">if</font>( (*funcName) == <a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>( <font class="stringliteral">"Membership"</font> ) )
+00291 {
+00292 <a class="code" href="classNLAIAGENT_1_1CObjectType.html">NLAIAGENT::CObjectType</a> *c = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CObjectType.html">NLAIAGENT::CObjectType</a>( <font class="keyword">new</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a>( <a class="code" href="classNLAIAGENT_1_1DigitalType.html#p1">NLAIAGENT::DigitalType::IdDigitalType</a> ) );
+00293 <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>.push( <a class="code" href="structNLAIAGENT_1_1CIdMethod.html">NLAIAGENT::CIdMethod</a>( 1 + IObjectIA::getMethodIndexSize(), 0.0, NULL, c) );
+00294 }
+00295
+00296 }
+00297
+00298 <font class="keywordflow">if</font> ( <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>.empty() )
+00299 <font class="keywordflow">return</font> IObjectIA::isMember(className, funcName, params);
+00300 <font class="keywordflow">else</font>
+00301 <font class="keywordflow">return</font> <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>;
+00302 }
+00303
+<a name="l00304"></a><a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a11">00304</a> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> IFuzzySet::runMethodeMember(sint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *p)
+00305 {
+00306 <font class="keywordflow">switch</font>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> - IObjectIA::getMethodIndexSize() )
+00307 {
+00308 <font class="keywordflow">case</font> 0:
+00309 {
+00310 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a1">init</a>(p);
+00311 }
+00312 <font class="keywordflow">break</font>;
+00313
+00314 <font class="keywordflow">case</font> 1:
+00315 {
+00316 <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>;
+00317 <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *obj = ( (<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *) p )-&gt;get();
+00318 <font class="keywordtype">float</font> val = float(( (<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) obj)-&gt;getNumber());
+00319 r.<a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m1">Result</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a>( <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#a3">membership</a>( val ) );
+00320 <font class="keywordflow">return</font> r;
+00321 }
+00322 }
+00323
+00324 <font class="keywordflow">return</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a>();
+00325 }
+00326
+00327
+00328
+00329 <font class="comment">/*</font>
+00330 <font class="comment"> const NLAIC::CIdentType CompositeiFuzzySet::idCompositeiFuzzySet = NLAIC::CIdentType("CompositeiFuzzySet",NLAIC::CSelfClassCFactory(CompositeiFuzzySet()),</font>
+00331 <font class="comment"> NLAIC::CTypeOfObject::tObject,</font>
+00332 <font class="comment"> NLAIC::CTypeOfOperator::opAdd |</font>
+00333 <font class="comment"> NLAIC::CTypeOfOperator::opSub |</font>
+00334 <font class="comment"> NLAIC::CTypeOfOperator::opEq );</font>
+00335 <font class="comment"> </font>
+00336 <font class="comment"> CompositeiFuzzySet::CompositeiFuzzySet()</font>
+00337 <font class="comment"> {</font>
+00338 <font class="comment"> }</font>
+00339 <font class="comment"> </font>
+00340 <font class="comment"> CompositeiFuzzySet::CompositeiFuzzySet(const CompositeiFuzzySet &amp;cp)</font>
+00341 <font class="comment"> {</font>
+00342 <font class="comment"> list&lt;IFuzzySet *&gt;::const_iterator it_f = cp._iFuzzySets.begin();</font>
+00343 <font class="comment"> while ( it_f != cp._iFuzzySets.end() )</font>
+00344 <font class="comment"> {</font>
+00345 <font class="comment"> _iFuzzySets.push_back( (IFuzzySet *) (*it_f)-&gt;clone() );</font>
+00346 <font class="comment"> it_f++;</font>
+00347 <font class="comment"> }</font>
+00348 <font class="comment"> }</font>
+00349 <font class="comment"></font>
+00350 <font class="comment"> void CompositeiFuzzySet::addiFuzzySet(IFuzzySet *f)</font>
+00351 <font class="comment"> {</font>
+00352 <font class="comment"> _iFuzzySets.push_back(f);</font>
+00353 <font class="comment"> }</font>
+00354 <font class="comment"></font>
+00355 <font class="comment"> double CompositeiFuzzySet::membership(double val)</font>
+00356 <font class="comment"> {</font>
+00357 <font class="comment"> list&lt;IFuzzySet *&gt;::iterator it_f = _iFuzzySets.begin();</font>
+00358 <font class="comment"> while ( it_f != _iFuzzySets.end() )</font>
+00359 <font class="comment"> {</font>
+00360 <font class="comment"> if ( (*it_f)-&gt;isIn( val ) )</font>
+00361 <font class="comment"> return (*it_f)-&gt;membership( val );</font>
+00362 <font class="comment"> it_f++;</font>
+00363 <font class="comment"> }</font>
+00364 <font class="comment"> return 0.0;</font>
+00365 <font class="comment"> }</font>
+00366 <font class="comment"></font>
+00367 <font class="comment"> bool CompositeiFuzzySet::isIn(double val )</font>
+00368 <font class="comment"> {</font>
+00369 <font class="comment"> list&lt;IFuzzySet *&gt;::iterator it_f = _iFuzzySets.begin();</font>
+00370 <font class="comment"> while ( it_f != _iFuzzySets.end() )</font>
+00371 <font class="comment"> {</font>
+00372 <font class="comment"> if ( (*it_f)-&gt;isIn( val ) )</font>
+00373 <font class="comment"> return true;</font>
+00374 <font class="comment"> it_f++;</font>
+00375 <font class="comment"> }</font>
+00376 <font class="comment"> return false;</font>
+00377 <font class="comment"> }</font>
+00378 <font class="comment"></font>
+00379 <font class="comment"> double CompositeiFuzzySet::center()</font>
+00380 <font class="comment"> {</font>
+00381 <font class="comment"> // TODO</font>
+00382 <font class="comment"> return 0.0;</font>
+00383 <font class="comment"> }</font>
+00384 <font class="comment"></font>
+00385 <font class="comment"> bool CompositeiFuzzySet::isEqual(const NLAIAGENT::IBasicObjectIA &amp;a) const</font>
+00386 <font class="comment"> {</font>
+00387 <font class="comment"> return false;</font>
+00388 <font class="comment"> }</font>
+00389 <font class="comment"></font>
+00390 <font class="comment"> const NLAIC::IBasicType *CompositeiFuzzySet::clone() const </font>
+00391 <font class="comment"> {</font>
+00392 <font class="comment"> return new CompositeiFuzzySet( *this );</font>
+00393 <font class="comment"> }</font>
+00394 <font class="comment"></font>
+00395 <font class="comment"> const NLAIC::IBasicType *CompositeiFuzzySet::newInstance() const</font>
+00396 <font class="comment"> {</font>
+00397 <font class="comment"> return new CompositeiFuzzySet( *this ); </font>
+00398 <font class="comment"> }</font>
+00399 <font class="comment"></font>
+00400 <font class="comment"> const NLAIC::CIdentType &amp;CompositeiFuzzySet::getType() const</font>
+00401 <font class="comment"> {</font>
+00402 <font class="comment"> return idCompositeiFuzzySet;</font>
+00403 <font class="comment"> }</font>
+00404 <font class="comment"></font>
+00405 <font class="comment"> void CompositeiFuzzySet::save(NLMISC::IStream &amp;os)</font>
+00406 <font class="comment"> {</font>
+00407 <font class="comment"> }</font>
+00408 <font class="comment"></font>
+00409 <font class="comment"> void CompositeiFuzzySet::load(NLMISC::IStream &amp;is)</font>
+00410 <font class="comment"> {</font>
+00411 <font class="comment"> }</font>
+00412 <font class="comment"></font>
+00413 <font class="comment"> void CompositeiFuzzySet::getDebugString(char *txt) const</font>
+00414 <font class="comment"> {</font>
+00415 <font class="comment"> sprintf(txt,"CompositeiFuzzySet");</font>
+00416 <font class="comment"> }</font>
+00417 <font class="comment"></font>
+00418 <font class="comment"> const TProcessStatement &amp;CompositeiFuzzySet::run()</font>
+00419 <font class="comment"> {</font>
+00420 <font class="comment"> return NLAIAGENT::IObjectIA::AgentIdle;</font>
+00421 <font class="comment"> }</font>
+00422 <font class="comment">*/</font>
+00425
+00426
+00427
+<a name="l00428"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">00428</a> CTriangleFuzzySet::CTriangleFuzzySet(<font class="keywordtype">char</font> *name, <font class="keywordtype">double</font> x1,<font class="keywordtype">double</font> x2,<font class="keywordtype">double</font> x3) : IFuzzySet(name)
+00429 {
+00430 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> = x1;
+00431 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> = x2;
+00432 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> = x3;
+00433 }
+00434
+<a name="l00435"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a1">00435</a> CTriangleFuzzySet::CTriangleFuzzySet(<font class="keyword">const</font> CTriangleFuzzySet &amp;cp) : IFuzzySet(cp._Name)
+00436 {
+00437 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> = cp._X1;
+00438 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> = cp._X2;
+00439 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> = cp._X3;
+00440 }
+00441
+<a name="l00442"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a14">00442</a> <font class="keywordtype">void</font> CTriangleFuzzySet::init(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)
+00443 {
+00444 <font class="preprocessor">#ifdef NL_DEBUG</font>
+00445 <font class="preprocessor"></font> std::string buf;
+00446 params-&gt;<a class="code" href="classNLAIC_1_1IBasicType.html#a5">getDebugString</a>(buf);
+00447 <font class="preprocessor">#endif</font>
+00448 <font class="preprocessor"></font>
+00449 sint32 i = ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;size();
+00450 <font class="keywordflow">if</font> ( i != 3 )
+00451 {
+00452 <font class="comment">// throw Exc::</font>
+00453 }
+00454 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00455 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00456 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00457
+00458 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00459 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00460 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00461
+00462 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00463 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00464 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00465 }
+00466
+00467
+<a name="l00468"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a2">00468</a> <font class="keywordtype">double</font> CTriangleFuzzySet::membership(<font class="keywordtype">double</font> val)
+00469 {
+00470 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> )
+00471 {
+00472 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> ) );
+00473 }
+00474
+00475 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> )
+00476 {
+00477 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> ) );
+00478 }
+00479
+00480 <font class="keywordflow">return</font> 0.0;
+00481 }
+00482
+<a name="l00483"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a3">00483</a> <font class="keywordtype">bool</font> CTriangleFuzzySet::isIn(<font class="keywordtype">double</font> val)
+00484 {
+00485 <font class="keywordflow">return</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> );
+00486 }
+00487
+<a name="l00488"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a4">00488</a> <font class="keywordtype">double</font> CTriangleFuzzySet::surface()
+00489 {
+00490 <font class="keywordflow">return</font> (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a>) /2;
+00491 }
+00492
+<a name="l00493"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a5">00493</a> <font class="keywordtype">double</font> CTriangleFuzzySet::center()
+00494 {
+00495 <font class="keywordflow">return</font> ( ( (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> + <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a>) /2 * (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a>) ) +
+00496 ( (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> + <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a>) /2 * (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a>) ) )
+00497 / (<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a>);
+00498 }
+00499
+<a name="l00500"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a6">00500</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CTriangleFuzzySet::clone()<font class="keyword"> const</font>
+00501 <font class="keyword"> </font>{
+00502 <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a> *<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a6">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a>( *<font class="keyword">this</font> );
+00503 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a6">clone</a>;
+00504 }
+<a name="l00505"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a7">00505</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CTriangleFuzzySet::newInstance()<font class="keyword"> const</font>
+00506 <font class="keyword"> </font>{
+00507 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a>( *<font class="keyword">this</font> );
+00508 <font class="keywordflow">return</font> instance;
+00509 }
+00510
+<a name="l00511"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a8">00511</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;CTriangleFuzzySet::getType()<font class="keyword"> const</font>
+00512 <font class="keyword"> </font>{
+00513 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#p0">IdTriangleFuzzySet</a>;
+00514 }
+<a name="l00515"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a9">00515</a> <font class="keywordtype">void</font> CTriangleFuzzySet::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00516 {
+00517 IFuzzySet::save(os);
+00518 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> );
+00519 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> );
+00520 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> );
+00521 }
+00522
+<a name="l00523"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a10">00523</a> <font class="keywordtype">void</font> CTriangleFuzzySet::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00524 {
+00525 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> );
+00526 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> );
+00527 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> );
+00528 }
+00529
+<a name="l00530"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a11">00530</a> <font class="keywordtype">void</font> CTriangleFuzzySet::getDebugString(std::string &amp;txt)<font class="keyword"> const</font>
+00531 <font class="keyword"> </font>{
+00532 txt += <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CTriangleFuzzySet %s [%f , %f , %f]"</font>, <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n0">_Name</a>, <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a>, <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a>, <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a>);
+00533 }
+00534
+<a name="l00535"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a12">00535</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CTriangleFuzzySet::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00536 <font class="keyword"> </font>{
+00537 <font class="keywordflow">return</font> ( ((<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a> &amp;)a)._X1 == <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o0">_X1</a> &amp;&amp; ((<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a> &amp;)a)._X2 == <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o1">_X2</a> &amp;&amp; ((<a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a0">CTriangleFuzzySet</a> &amp;)a)._X3 == <a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#o2">_X3</a> );
+00538 }
+00539
+<a name="l00540"></a><a class="code" href="classNLAIFUZZY_1_1CTriangleFuzzySet.html#a13">00540</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CTriangleFuzzySet::run()
+00541 {
+00542 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00543 }
+00544
+00547
+00548
+<a name="l00549"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">00549</a> CLeftFuzzySet::CLeftFuzzySet(<font class="keywordtype">char</font> *name, <font class="keywordtype">double</font> p1,<font class="keywordtype">double</font> p2,<font class="keywordtype">double</font> p3) : IFuzzySet(name)
+00550 {
+00551 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> = p1;
+00552 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> = p2;
+00553 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> = p3;
+00554 }
+00555
+<a name="l00556"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a1">00556</a> CLeftFuzzySet::CLeftFuzzySet( <font class="keyword">const</font> CLeftFuzzySet &amp;cp ) : IFuzzySet(cp._Name)
+00557 {
+00558 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> = cp._X1;
+00559 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> = cp._X2;
+00560 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> = cp._X3;
+00561 }
+00562
+<a name="l00563"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a15">00563</a> <font class="keywordtype">void</font> CLeftFuzzySet::init(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)
+00564 {
+00565 <font class="keywordflow">if</font> ( ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;size() != 3 )
+00566 {
+00567 <font class="comment">// throw Exc::</font>
+00568 }
+00569
+00570 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00571 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00572 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00573
+00574 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00575 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00576 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00577
+00578 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00579 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00580 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00581 }
+00582
+<a name="l00583"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a2">00583</a> CLeftFuzzySet::~CLeftFuzzySet()
+00584 {
+00585 }
+00586
+<a name="l00587"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a3">00587</a> <font class="keywordtype">double</font> CLeftFuzzySet::membership(<font class="keywordtype">double</font> val)
+00588 {
+00589 <font class="keywordflow">if</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> )
+00590 <font class="keywordflow">return</font> 1.0;
+00591
+00592 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> )
+00593 {
+00594 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> ) );
+00595 }
+00596
+00597 <font class="keywordflow">return</font> 0.0;
+00598 }
+00599
+<a name="l00600"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a4">00600</a> <font class="keywordtype">bool</font> CLeftFuzzySet::isIn(<font class="keywordtype">double</font> val)
+00601 {
+00602 <font class="keywordflow">return</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> );
+00603 }
+00604
+<a name="l00605"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a5">00605</a> <font class="keywordtype">double</font> CLeftFuzzySet::surface()
+00606 {
+00607 <font class="keywordflow">return</font> (<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a>) + (<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a>) /2;
+00608 }
+00609
+<a name="l00610"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a6">00610</a> <font class="keywordtype">double</font> CLeftFuzzySet::center()
+00611 {
+00612 <font class="keywordflow">return</font> ( ( (<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> + <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a>) /2 + (<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> + <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a>) /4 ) /1.5);
+00613 }
+00614
+<a name="l00615"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a7">00615</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CLeftFuzzySet::clone()<font class="keyword"> const</font>
+00616 <font class="keyword"> </font>{
+00617 <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a> *<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a7">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a>( *<font class="keyword">this</font> );
+00618 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a7">clone</a>;
+00619 }
+<a name="l00620"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a8">00620</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CLeftFuzzySet::newInstance()<font class="keyword"> const</font>
+00621 <font class="keyword"> </font>{
+00622 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a>( *<font class="keyword">this</font> );
+00623 <font class="keywordflow">return</font> instance;
+00624 }
+00625
+<a name="l00626"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a9">00626</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;CLeftFuzzySet::getType()<font class="keyword"> const</font>
+00627 <font class="keyword"> </font>{
+00628 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#p0">IdLeftFuzzySet</a>;
+00629 }
+00630
+<a name="l00631"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a10">00631</a> <font class="keywordtype">void</font> CLeftFuzzySet::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00632 {
+00633 IFuzzySet::save(os);
+00634 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> );
+00635 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> );
+00636 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> );
+00637 }
+00638
+<a name="l00639"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a11">00639</a> <font class="keywordtype">void</font> CLeftFuzzySet::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00640 {
+00641 }
+00642
+<a name="l00643"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a12">00643</a> <font class="keywordtype">void</font> CLeftFuzzySet::getDebugString(std::string &amp;txt)<font class="keyword"> const</font>
+00644 <font class="keyword"> </font>{
+00645 txt += <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CLeftFuzzySet %s [%f , %f , %f]"</font>, <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n0">_Name</a>, <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a>, <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a>, <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a>);
+00646 }
+00647
+<a name="l00648"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a13">00648</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CLeftFuzzySet::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00649 <font class="keyword"> </font>{
+00650 <font class="keywordflow">return</font> ( ((<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a> &amp;)a)._X1 == <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o0">_X1</a> &amp;&amp; ((<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a> &amp;)a)._X2 == <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o1">_X2</a> &amp;&amp; ((<a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a0">CLeftFuzzySet</a> &amp;)a)._X3 == <a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#o2">_X3</a> );
+00651 }
+00652
+<a name="l00653"></a><a class="code" href="classNLAIFUZZY_1_1CLeftFuzzySet.html#a14">00653</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CLeftFuzzySet::run()
+00654 {
+00655 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00656 }
+00657
+00660
+00661
+00662
+<a name="l00663"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">00663</a> CTrapezeFuzzySet::CTrapezeFuzzySet(<font class="keywordtype">char</font> *name, <font class="keywordtype">double</font> p1,<font class="keywordtype">double</font> p2,<font class="keywordtype">double</font> p3, <font class="keywordtype">double</font> p4) : IFuzzySet(name)
+00664 {
+00665 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> = p1;
+00666 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> = p2;
+00667 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> = p3;
+00668 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> = p4;
+00669 }
+00670
+<a name="l00671"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a1">00671</a> CTrapezeFuzzySet::CTrapezeFuzzySet(<font class="keyword">const</font> CTrapezeFuzzySet &amp;cp) : IFuzzySet(cp._Name)
+00672 {
+00673 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> = cp._X1;
+00674 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> = cp._X2;
+00675 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> = cp._X3;
+00676 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> = cp._X4;
+00677 }
+00678
+<a name="l00679"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a15">00679</a> <font class="keywordtype">void</font> CTrapezeFuzzySet::init(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>)
+00680 {
+00681 <font class="keywordflow">if</font> ( ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;size() != 3 )
+00682 {
+00683 <font class="comment">// throw Exc::</font>
+00684 }
+00685 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00686 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00687 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00688 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00689 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00690 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00691 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00692 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *) arg)-&gt;getValue();
+00693 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00694 arg = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *) ((<a class="code" href="classNLAIAGENT_1_1IBaseGroupType.html">NLAIAGENT::IBaseGroupType</a> *)params)-&gt;popFront();
+00695 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> = (double) ((<a class="code" href="classNLAIAGENT_1_1DDigitalType.html">NLAIAGENT::DDigitalType</a> *)arg)-&gt;getValue();
+00696 arg-&gt;<a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>();
+00697
+00698 }
+00699
+<a name="l00700"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a2">00700</a> CTrapezeFuzzySet::~CTrapezeFuzzySet()
+00701 {
+00702 }
+00703
+<a name="l00704"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a3">00704</a> <font class="keywordtype">double</font> CTrapezeFuzzySet::membership(<font class="keywordtype">double</font> val)
+00705 {
+00706 <font class="keywordflow">if</font> ( val &gt;= <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> &amp;&amp; val &lt;= <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> )
+00707 <font class="keywordflow">return</font> 1.0;
+00708
+00709 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> )
+00710 {
+00711 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> ) );
+00712 }
+00713
+00714 <font class="keywordflow">if</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> )
+00715 {
+00716 <font class="keywordflow">return</font> ( ( val - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> ) / ( <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> ) );
+00717 }
+00718
+00719 <font class="keywordflow">return</font> 0.0;
+00720 }
+00721
+<a name="l00722"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a4">00722</a> <font class="keywordtype">bool</font> CTrapezeFuzzySet::isIn(<font class="keywordtype">double</font> val)
+00723 {
+00724 <font class="keywordflow">return</font> ( val &gt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> &amp;&amp; val &lt; <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> );
+00725 }
+00726
+<a name="l00727"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a5">00727</a> <font class="keywordtype">double</font> CTrapezeFuzzySet::surface()
+00728 {
+00729 <font class="keywordflow">return</font> (<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a>) /2 + (<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a>) + (<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> - <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a>) / 2;
+00730 }
+00731
+<a name="l00732"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a6">00732</a> <font class="keywordtype">double</font> CTrapezeFuzzySet::center()
+00733 {
+00734 <font class="keywordflow">return</font> (<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> + <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a>) /2 + (<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> + <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a>) /4;
+00735 }
+00736
+<a name="l00737"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a7">00737</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CTrapezeFuzzySet::clone()<font class="keyword"> const</font>
+00738 <font class="keyword"> </font>{
+00739 <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a> *<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a7">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a>( *<font class="keyword">this</font> );
+00740 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a7">clone</a>;
+00741 }
+<a name="l00742"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a8">00742</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CTrapezeFuzzySet::newInstance()<font class="keyword"> const</font>
+00743 <font class="keyword"> </font>{
+00744 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a>( *<font class="keyword">this</font> );
+00745 <font class="keywordflow">return</font> instance;
+00746 }
+00747
+<a name="l00748"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a9">00748</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;CTrapezeFuzzySet::getType()<font class="keyword"> const</font>
+00749 <font class="keyword"> </font>{
+00750 <font class="keywordflow">return</font> <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#p0">IdTrapezeFuzzySet</a>;
+00751 }
+00752
+<a name="l00753"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a10">00753</a> <font class="keywordtype">void</font> CTrapezeFuzzySet::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00754 {
+00755 IFuzzySet::save(os);
+00756 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> );
+00757 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> );
+00758 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> );
+00759 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<font class="keywordtype">double</font> &amp;) <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> );
+00760 }
+00761
+<a name="l00762"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a11">00762</a> <font class="keywordtype">void</font> CTrapezeFuzzySet::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00763 {
+00764 }
+00765
+<a name="l00766"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a12">00766</a> <font class="keywordtype">void</font> CTrapezeFuzzySet::getDebugString(std::string &amp;txt)<font class="keyword"> const</font>
+00767 <font class="keyword"> </font>{
+00768 txt += <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CTrapezeFuzzySet %s [%f , %f , %f , %f]"</font>, <a class="code" href="classNLAIFUZZY_1_1IFuzzySet.html#n0">_Name</a>, <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a>, <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a>, <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a>, <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a>);
+00769 }
+00770
+<a name="l00771"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a13">00771</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CTrapezeFuzzySet::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00772 <font class="keyword"> </font>{
+00773 <font class="keywordflow">return</font> ( ((<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a> &amp;)a)._X1 == <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o0">_X1</a> &amp;&amp;
+00774 ((<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a> &amp;)a)._X2 == <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o1">_X2</a> &amp;&amp;
+00775 ((<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a> &amp;)a)._X3 == <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o2">_X3</a> &amp;&amp;
+00776 ((<a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a0">CTrapezeFuzzySet</a> &amp;)a)._X4 == <a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#o3">_X4</a> );
+00777 }
+00778
+<a name="l00779"></a><a class="code" href="classNLAIFUZZY_1_1CTrapezeFuzzySet.html#a14">00779</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CTrapezeFuzzySet::run()
+00780 {
+00781 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00782 }
+00783 }
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>