<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>PolyBoRi: DegRevLexAscOrder.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <h1>DegRevLexAscOrder.h</h1><a href="DegRevLexAscOrder_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span> <a name="l00002"></a>00002 <span class="comment">//*****************************************************************************</span> <a name="l00020"></a>00020 <span class="comment"></span><span class="comment">//*****************************************************************************</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="comment">// include basic definitions</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="pbori__defs_8h.html">pbori_defs.h</a>"</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="comment">// include base order definitions</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="COrderBase_8h.html">COrderBase.h</a>"</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#ifndef DegRevLexAscOrder_h_</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define DegRevLexAscOrder_h_</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <a class="code" href="pbori__defs_8h.html#6ae360a591580558f31b6157ee792a10" title="Start project&#39;s namespace.">BEGIN_NAMESPACE_PBORI</a> <a name="l00032"></a>00032 <a name="l00038"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html">00038</a> <span class="keyword">class </span><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html" title="This class defines ordering related functions.">DegRevLexAscOrder</a>: <a name="l00039"></a>00039 <span class="keyword">public</span> <a class="code" href="classpolybori_1_1COrderBase.html" title="This class defines ordering related functions.">COrderBase</a> { <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="keyword">public</span>: <a name="l00042"></a>00042 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00043"></a>00043 <span class="comment">// types definitions</span> <a name="l00044"></a>00044 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00045"></a>00045 <a name="l00047"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#650f135d5ec1bc50c7eff71af584a47b">00047</a> <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1DegRevLexAscOrder.html" title="This class defines ordering related functions.">DegRevLexAscOrder</a> <span class="keyword">self</span>; <a name="l00048"></a>00048 <a name="l00050"></a>00050 <a name="l00051"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#9af4967457e84ae459aab47c0160b2c9">00051</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a> <a class="code" href="structpolybori_1_1invalid__tag.html" title="This class shows, whether a property of an order is invalid.">symmetry_property</a>; <a name="l00052"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#10198a6c90d44ced9f8c16a1b28dfa3b">00052</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a> <a class="code" href="structpolybori_1_1invalid__tag.html" title="This class shows, whether a property of an order is invalid.">degorder_property</a>; <a name="l00053"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#f728a077eba4fe0f7768f0d6b21b1593">00053</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a> <a class="code" href="structpolybori_1_1invalid__tag.html" title="This class shows, whether a property of an order is invalid.">totaldegorder_property</a>; <a name="l00054"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#ae1a3a7f071f8a28b9b372d78b8be7e1">00054</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a> <a class="code" href="structpolybori_1_1invalid__tag.html" title="This class shows, whether a property of an order is invalid.">ascending_property</a>; <a name="l00055"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#c65585e07e921e81fa20e3756376b3b0">00055</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a> <a class="code" href="structpolybori_1_1invalid__tag.html" title="This class shows, whether a property of an order is invalid.">degrevlexorder_property</a>; <a name="l00056"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#240acc6c97626ece94ae6d7fe9412966">00056</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1dp__asc__tag.html" title="Marker for ascending deg-rev-lex ordering.">dp_asc_tag</a> <a class="code" href="structpolybori_1_1dp__asc__tag.html" title="Marker for ascending deg-rev-lex ordering.">order_tag</a>; <a name="l00058"></a>00058 <a name="l00060"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#b229bc3570135666b7caf714cd4fb6c2b2ce7f8e8f6e4c29815693c55dfc3f7e">00060</a> <span class="keyword">enum</span> { order_code = CTypes::dp_asc, baseorder_code = order_code }; <a name="l00061"></a>00061 <a name="l00063"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#1c0d3fa5052bd5c64c0f9f1486b10e21">00063</a> <span class="keyword">typedef</span> std::greater<idx_type> idx_comparer_type; <a name="l00064"></a>00064 <a name="l00066"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#a26d54892ca36cd506daec290041afcd">00066</a> <a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#a26d54892ca36cd506daec290041afcd" title="Default Constructor.">DegRevLexAscOrder</a>(): <a class="code" href="classpolybori_1_1COrderBase.html" title="This class defines ordering related functions.">base</a>() {}; <a name="l00067"></a>00067 <a name="l00069"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#e6c840acee6041a19ec985c25c0e53c2">00069</a> <a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#e6c840acee6041a19ec985c25c0e53c2" title="Copy Constructor.">DegRevLexAscOrder</a>(<span class="keyword">const</span> <span class="keyword">self</span>& rhs): <a class="code" href="classpolybori_1_1COrderBase.html" title="This class defines ordering related functions.">base</a>(rhs) {}; <a name="l00070"></a>00070 <a name="l00072"></a><a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#c63cb1b3095bc1c4cb5ca6b511b22f32">00072</a> <a class="code" href="classpolybori_1_1DegRevLexAscOrder.html#c63cb1b3095bc1c4cb5ca6b511b22f32" title="Destructor.">~DegRevLexAscOrder</a>() {}; <a name="l00073"></a>00073 <a name="l00075"></a>00075 comp_type compare(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a>, <a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a>) <span class="keyword">const</span>; <a name="l00076"></a>00076 <a name="l00078"></a>00078 comp_type compare(<span class="keyword">const</span> monom_type&, <span class="keyword">const</span> monom_type&) <span class="keyword">const</span>; <a name="l00079"></a>00079 <a name="l00081"></a>00081 comp_type compare(<span class="keyword">const</span> exp_type&, <span class="keyword">const</span> exp_type&) <span class="keyword">const</span>; <a name="l00082"></a>00082 <a name="l00084"></a>00084 monom_type lead(<span class="keyword">const</span> poly_type&) <span class="keyword">const</span>; <a name="l00085"></a>00085 <a name="l00087"></a>00087 monom_type lead(<span class="keyword">const</span> poly_type& poly, size_type) <span class="keyword">const</span>; <a name="l00088"></a>00088 <a name="l00090"></a>00090 exp_type leadExp(<span class="keyword">const</span> poly_type&) <span class="keyword">const</span>; <a name="l00091"></a>00091 <a name="l00093"></a>00093 exp_type leadExp(<span class="keyword">const</span> poly_type&, size_type) <span class="keyword">const</span>; <a name="l00094"></a>00094 <a name="l00096"></a>00096 indirect_iterator leadIteratorBegin(<span class="keyword">const</span> poly_type&) <span class="keyword">const</span>; <a name="l00097"></a>00097 indirect_iterator leadIteratorEnd() <span class="keyword">const</span>; <a name="l00098"></a>00098 indirect_exp_iterator leadExpIteratorBegin(<span class="keyword">const</span> poly_type&) <span class="keyword">const</span>; <a name="l00099"></a>00099 indirect_exp_iterator leadExpIteratorEnd() <span class="keyword">const</span>; <a name="l00100"></a>00100 }; <a name="l00101"></a>00101 <a name="l00102"></a>00102 <a name="l00103"></a>00103 <a class="code" href="pbori__defs_8h.html#faf094fde6c1a7f1aad18bcb455f3b06" title="Finish project&#39;s namespace.">END_NAMESPACE_PBORI</a> <a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="preprocessor">#endif // DegRevLexAscOrder_h_</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 9 14:30:57 2009 for PolyBoRi by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>