<!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: BooleEnv.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>BooleEnv.h</h1><a href="BooleEnv_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="l00031"></a>00031 <span class="comment"></span><span class="comment">//*****************************************************************************</span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="comment">// load PolyBoRi settings</span> <a name="l00034"></a>00034 <span class="preprocessor"># include "<a class="code" href="pbori__defs_8h.html">pbori_defs.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include <vector></span> <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="preprocessor">#ifndef BooleEnv_h_</span> <a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define BooleEnv_h_</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <a class="code" href="pbori__defs_8h.html#6ae360a591580558f31b6157ee792a10" title="Start project&#39;s namespace.">BEGIN_NAMESPACE_PBORI</a> <a name="l00042"></a>00042 <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="keyword">class </span>BoolePolyRing; <a name="l00045"></a>00045 <span class="keyword">extern</span> BoolePolyRing <a class="code" href="namespacepolybori.html#05ac7b362839270cb9e036400e263eff">active_ring</a>; <a name="l00046"></a>00046 <span class="keyword">class </span>CDynamicOrderBase; <a name="l00047"></a>00047 <a name="l00055"></a><a class="code" href="classpolybori_1_1BooleEnv.html">00055</a> <span class="keyword">class </span><a class="code" href="classpolybori_1_1BooleEnv.html" title="This class is just a wrapper accessing global structures.">BooleEnv</a>: <a name="l00056"></a>00056 <span class="keyword">public</span> <a class="code" href="structpolybori_1_1CTypes.html" title="This struct contains type definitions to be used in library classes.">CTypes</a>::orderenums_type, <span class="keyword">public</span> <a class="code" href="structpolybori_1_1CTypes.html" title="This struct contains type definitions to be used in library classes.">CTypes</a>::compenums_type, <a name="l00057"></a>00057 <span class="keyword">public</span> <a class="code" href="structpolybori_1_1CTypes.html" title="This struct contains type definitions to be used in library classes.">CTypes</a>::auxtypes_type { <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="keyword">public</span>: <a name="l00060"></a>00060 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00061"></a>00061 <span class="comment">// types definitions</span> <a name="l00062"></a>00062 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00063"></a>00063 <a name="l00065"></a><a class="code" href="classpolybori_1_1BooleEnv.html#db6ca846101d027d1ff246c9ce2863ed">00065</a> <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1BooleEnv.html" title="This class is just a wrapper accessing global structures.">BooleEnv</a> <span class="keyword">self</span>; <a name="l00066"></a>00066 <a name="l00068"></a><a class="code" href="classpolybori_1_1BooleEnv.html#3b0dcb96beb3f461b48e76c3c3f76fb1">00068</a> <span class="keyword">typedef</span> <a class="code" href="structpolybori_1_1COrderEnums.html" title="This struct contains type definitions and enumerations to be used for order codes...">CTypes::orderenums_type</a> <a class="code" href="structpolybori_1_1COrderEnums.html" title="This struct contains type definitions and enumerations to be used for order codes...">base</a>; <a name="l00069"></a>00069 <a name="l00071"></a>00071 <a name="l00072"></a><a class="code" href="classpolybori_1_1BooleEnv.html#157e23210dabce8d60223558d5b2d37c">00072</a> <span class="keyword">typedef</span> CTypes::ordercode_type ordercode_type; <a name="l00073"></a><a class="code" href="classpolybori_1_1BooleEnv.html#937547caa5a25dde928961c089a90882">00073</a> <span class="keyword">typedef</span> <a class="code" href="classCDDManager.html" title="this specialization of the template class CDDManager gives an interface to Cudd&#39;s...">CTypes::manager_type</a> <a class="code" href="classCDDManager.html" title="this specialization of the template class CDDManager gives an interface to Cudd&#39;s...">manager_type</a>; <a name="l00074"></a><a class="code" href="classpolybori_1_1BooleEnv.html#9f739e8b904a60afd056dc021c98465c">00074</a> <span class="keyword">typedef</span> <a class="code" href="classCDDManager.html" title="this specialization of the template class CDDManager gives an interface to Cudd&#39;s...">CTypes::manager_reference</a> <a class="code" href="classCDDManager.html" title="this specialization of the template class CDDManager gives an interface to Cudd&#39;s...">manager_reference</a>; <a name="l00075"></a><a class="code" href="classpolybori_1_1BooleEnv.html#fa222526310a3d32148dc257f94ce4c0">00075</a> <span class="keyword">typedef</span> CTypes::manager_ptr manager_ptr; <a name="l00076"></a><a class="code" href="classpolybori_1_1BooleEnv.html#b95336e7fa9451c8b3aed0189d0a65f2">00076</a> <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1CDDInterface.html">CTypes::dd_type</a> <a class="code" href="classpolybori_1_1CDDInterface.html">dd_type</a>; <a name="l00077"></a><a class="code" href="classpolybori_1_1BooleEnv.html#550df0f408f6b3fd433ccc29bf9b6b82">00077</a> <span class="keyword">typedef</span> CTypes::vartext_type vartext_type; <a name="l00079"></a>00079 <a name="l00081"></a><a class="code" href="classpolybori_1_1BooleEnv.html#2b3631af83592e37e5a18c8542c65063">00081</a> <span class="keyword">typedef</span> std::vector<idx_type> block_idx_type; <a name="l00082"></a>00082 <a name="l00084"></a><a class="code" href="classpolybori_1_1BooleEnv.html#8e491ea092b64818436cef4162d9763b">00084</a> <span class="keyword">typedef</span> block_idx_type::const_iterator block_iterator; <a name="l00085"></a>00085 <a name="l00086"></a>00086 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00087"></a>00087 <span class="comment">// constructors and destructor</span> <a name="l00088"></a>00088 <span class="comment">//-------------------------------------------------------------------------</span> <a name="l00089"></a>00089 <a name="l00091"></a>00091 <span class="keyword">using</span> <a class="code" href="structpolybori_1_1COrderEnums.html#c92593d81965933abfad8164d6f0ce2c" title="Codes For orderings.">base::ordercodes</a>; <a name="l00092"></a>00092 <a name="l00094"></a>00094 <span class="keyword">static</span> <a class="code" href="classpolybori_1_1CDDInterface.html">dd_type</a> variable(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> idx); <a name="l00095"></a>00095 <a name="l00097"></a>00097 <span class="keyword">static</span> <a class="code" href="classpolybori_1_1CDDInterface.html">dd_type</a> persistentVariable(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> idx); <a name="l00098"></a>00098 <a name="l00100"></a>00100 <span class="keyword">static</span> ordercode_type getOrderCode(); <a name="l00101"></a>00101 <a name="l00104"></a>00104 <span class="keyword">static</span> ordercode_type getBaseOrderCode(); <a name="l00105"></a>00105 <a name="l00107"></a>00107 <span class="keyword">static</span> <a class="code" href="classpolybori_1_1CDDInterface.html">dd_type</a> zero(); <a name="l00108"></a>00108 <a name="l00110"></a>00110 <span class="keyword">static</span> <a class="code" href="classpolybori_1_1CDDInterface.html">dd_type</a> one(); <a name="l00111"></a>00111 <a name="l00113"></a>00113 <span class="keyword">static</span> size_type nVariables(); <a name="l00114"></a>00114 <a name="l00115"></a><a class="code" href="classpolybori_1_1BooleEnv.html#e018100ccc190a15f4d8ec787eedd46f">00115</a> <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1BoolePolyRing.html" title="This class adds order-related functionality to BooleRing.">BoolePolyRing</a> <a class="code" href="classpolybori_1_1BoolePolyRing.html" title="This class adds order-related functionality to BooleRing.">ring_type</a>; <a name="l00116"></a>00116 <a name="l00117"></a><a class="code" href="classpolybori_1_1BooleEnv.html#0b25103923e657202423590c26b8aa82">00117</a> <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1CDynamicOrderBase.html" title="This class initialize the interface for runtime-switchable orderings.">CDynamicOrderBase</a> <a class="code" href="classpolybori_1_1CDynamicOrderBase.html" title="This class initialize the interface for runtime-switchable orderings.">order_type</a>; <a name="l00118"></a><a class="code" href="classpolybori_1_1BooleEnv.html#28487f2cab3463f814a398056debb903">00118</a> <span class="keyword">static</span> <a class="code" href="classpolybori_1_1BoolePolyRing.html" title="This class adds order-related functionality to BooleRing.">ring_type</a>& <a class="code" href="classpolybori_1_1BooleEnv.html#28487f2cab3463f814a398056debb903">ring</a>(){ <a name="l00119"></a>00119 <span class="keywordflow">return</span> <a class="code" href="namespacepolybori.html#05ac7b362839270cb9e036400e263eff">active_ring</a>; <a name="l00120"></a>00120 } <a name="l00121"></a>00121 <a name="l00122"></a>00122 <span class="keyword">static</span> manager_type& manager(); <a name="l00123"></a>00123 <span class="keyword">static</span> order_type& ordering(); <a name="l00125"></a>00125 <span class="keyword">static</span> <span class="keywordtype">void</span> setVariableName(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> idx, vartext_type varname); <a name="l00126"></a>00126 <a name="l00128"></a>00128 <span class="keyword">static</span> vartext_type getVariableName(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> idx); <a name="l00129"></a>00129 <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="keyword">static</span> block_iterator blockBegin(); <a name="l00133"></a>00133 <span class="keyword">static</span> block_iterator blockEnd(); <a name="l00134"></a>00134 <span class="keyword">static</span> <span class="keywordtype">void</span> appendBlock(<a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> idx); <a name="l00135"></a>00135 <span class="keyword">static</span> <span class="keywordtype">void</span> clearBlocks(); <a name="l00136"></a>00136 <a name="l00137"></a>00137 <span class="keyword">static</span> <a class="code" href="namespacepolybori_1_1groebner.html#ef37a95e97afbd561cc4c5f84d660765">idx_type</a> lastBlockStart(); <a name="l00139"></a>00139 <a name="l00141"></a>00141 <span class="keyword">static</span> <span class="keywordtype">void</span> changeOrdering(ordercode_type code); <a name="l00142"></a>00142 <a name="l00143"></a>00143 <span class="keyword">static</span> <span class="keywordtype">void</span> printInfo(); <a name="l00144"></a>00144 <a name="l00145"></a>00145 <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">set</span>(ring_type& theRing); <a name="l00146"></a>00146 <a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="keyword">protected</span>: <a name="l00149"></a>00149 <a name="l00150"></a>00150 <a name="l00151"></a>00151 }; <a name="l00152"></a>00152 <a name="l00154"></a>00154 <a name="l00155"></a>00155 <a class="code" href="pbori__defs_8h.html#faf094fde6c1a7f1aad18bcb455f3b06" title="Finish project&#39;s namespace.">END_NAMESPACE_PBORI</a> <a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="preprocessor">#endif // of #ifndef BooleEnv_h_</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 9 14:30:52 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>