<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CVC3: theory_bitvector.cpp File Reference</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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 <span id="projectnumber">2.4.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="modules.html"><span>Modules</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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#define-members">Defines</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">theory_bitvector.cpp File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="theory__bitvector_8h_source.html">theory_bitvector.h</a>"</code><br/> <code>#include "<a class="el" href="bitvector__proof__rules_8h_source.html">bitvector_proof_rules.h</a>"</code><br/> <code>#include "<a class="el" href="bitvector__exception_8h_source.html">bitvector_exception.h</a>"</code><br/> <code>#include "<a class="el" href="typecheck__exception_8h_source.html">typecheck_exception.h</a>"</code><br/> <code>#include "<a class="el" href="parser__exception_8h_source.html">parser_exception.h</a>"</code><br/> <code>#include "<a class="el" href="smtlib__exception_8h_source.html">smtlib_exception.h</a>"</code><br/> <code>#include "<a class="el" href="bitvector__expr__value_8h_source.html">bitvector_expr_value.h</a>"</code><br/> <code>#include "<a class="el" href="command__line__flags_8h_source.html">command_line_flags.h</a>"</code><br/> </div> <p><a href="theory__bitvector_8cpp_source.html">Go to the source code of this file.</a></p> <h2><a name="define-members"></a> Defines</h2> <ul> <li>#define <a class="el" href="theory__bitvector_8cpp.html#a5b5f33f7d6dfc37dbf5953eb89ca277e">HASH_VALUE_ZERO</a>   380 <li>#define <a class="el" href="theory__bitvector_8cpp.html#a63f95951271248979bde99b7589fb217">HASH_VALUE_ONE</a>   450 </ul> <h2><a name="func-members"></a> Functions</h2> <ul> <li>static bool <a class="el" href="theory__bitvector_8cpp.html#a94f3a1559dbd897275f6c9236f4fffbe">constantKids</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e) <dl class="el"><dd class="mdescRight">Check that all the kids of e are BVCONST. <a href="#a94f3a1559dbd897275f6c9236f4fffbe"></a><br/></dl><li>static void <a class="el" href="theory__bitvector_8cpp.html#adf7b53359a483f1f1fd6b29b46d1cddf">constantKids</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e, vector< int > &idxs) <dl class="el"><dd class="mdescRight">Search for all the BVCONST kids of e, and return their indices in idxs. <a href="#adf7b53359a483f1f1fd6b29b46d1cddf"></a><br/></dl><li>static <a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="theory__bitvector_8cpp.html#a36b6541dd1056705d9262b81eed3fd41">findAtom</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e) </ul> <h2><a name="var-members"></a> Variables</h2> <ul> <li>static bool <a class="el" href="theory__bitvector_8cpp.html#a8c3fff8d62c2d658cc885e8da2c35e6c">bvdump</a> = false </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Author: Vijay Ganesh.</p> <p>Created: Wed May 5 16:16:59 PST 2004</p> <hr/> <p>License to use, copy, modify, sell and/or distribute this software and its documentation for any purpose is hereby granted without royalty, subject to the terms and conditions defined in the <a class="el" href="LICENSE.html">LICENSE</a> file provided with this distribution.</p> <hr/> <p>Definition in file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> </div><hr/><h2>Define Documentation</h2> <a class="anchor" id="a5b5f33f7d6dfc37dbf5953eb89ca277e"></a><!-- doxytag: member="theory_bitvector.cpp::HASH_VALUE_ZERO" ref="a5b5f33f7d6dfc37dbf5953eb89ca277e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define HASH_VALUE_ZERO   380</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l00032">32</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>Referenced by <a class="el" href="theory__bitvector_8cpp_source.html#l05556">CVC3::BVConstExpr::computeHash()</a>.</p> </div> </div> <a class="anchor" id="a63f95951271248979bde99b7589fb217"></a><!-- doxytag: member="theory_bitvector.cpp::HASH_VALUE_ONE" ref="a63f95951271248979bde99b7589fb217" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define HASH_VALUE_ONE   450</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l00033">33</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>Referenced by <a class="el" href="theory__bitvector_8cpp_source.html#l05556">CVC3::BVConstExpr::computeHash()</a>.</p> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a94f3a1559dbd897275f6c9236f4fffbe"></a><!-- doxytag: member="theory_bitvector.cpp::constantKids" ref="a94f3a1559dbd897275f6c9236f4fffbe" args="(const Expr &e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static bool constantKids </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Check that all the kids of e are BVCONST. </p> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l00679">679</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>References <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="theory__bitvector_8h_source.html#l00034">CVC3::BVCONST</a>, and <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>.</p> </div> </div> <a class="anchor" id="adf7b53359a483f1f1fd6b29b46d1cddf"></a><!-- doxytag: member="theory_bitvector.cpp::constantKids" ref="adf7b53359a483f1f1fd6b29b46d1cddf" args="(const Expr &e, vector< int > &idxs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void constantKids </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">vector< int > & </td> <td class="paramname"><em>idxs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Search for all the BVCONST kids of e, and return their indices in idxs. </p> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l00687">687</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, and <a class="el" href="theory__bitvector_8h_source.html#l00034">CVC3::BVCONST</a>.</p> </div> </div> <a class="anchor" id="a36b6541dd1056705d9262b81eed3fd41"></a><!-- doxytag: member="theory_bitvector.cpp::findAtom" ref="a36b6541dd1056705d9262b81eed3fd41" args="(const Expr &e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classCVC3_1_1Expr.html">Expr</a> findAtom </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l02501">2501</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="theory__array_8cpp_source.html#l00143">findAtom()</a>, <a class="el" href="expr_8h_source.html#l00398">CVC3::Expr::isAbsAtomicFormula()</a>, and <a class="el" href="expr_8h_source.html#l01223">CVC3::Expr::isNull()</a>.</p> </div> </div> <hr/><h2>Variable Documentation</h2> <a class="anchor" id="a8c3fff8d62c2d658cc885e8da2c35e6c"></a><!-- doxytag: member="theory_bitvector.cpp::bvdump" ref="a8c3fff8d62c2d658cc885e8da2c35e6c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="theory__bitvector_8cpp.html#a8c3fff8d62c2d658cc885e8da2c35e6c">bvdump</a> = false<code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="theory__bitvector_8cpp_source.html#l02572">2572</a> of file <a class="el" href="theory__bitvector_8cpp_source.html">theory_bitvector.cpp</a>.</p> <p>Referenced by <a class="el" href="theory__bitvector_8cpp_source.html#l02574">CVC3::TheoryBitvector::checkSat()</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>