Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 583ffa4ba069126c3ba0bc565dc0485a > files > 573

cvc3-doc-2.4.1-1.fc15.noarch.rpm

<!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: CVC3::TheorySimulate Class 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&#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCVC3.html">CVC3</a>      </li>
      <li class="navelem"><a class="el" href="classCVC3_1_1TheorySimulate.html">TheorySimulate</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CVC3::TheorySimulate Class Reference<div class="ingroups"><a class="el" href="group__Theories.html">Theories</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CVC3::TheorySimulate" --><!-- doxytag: inherits="CVC3::Theory" -->
<p>"Theory" of symbolic simulation.  
 <a href="classCVC3_1_1TheorySimulate.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CVC3::TheorySimulate:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCVC3_1_1TheorySimulate.png" usemap="#CVC3::TheorySimulate_map" alt=""/>
  <map id="CVC3::TheorySimulate_map" name="CVC3::TheorySimulate_map">
<area href="classCVC3_1_1Theory.html" title="Base class for theories." alt="CVC3::Theory" shape="rect" coords="0,0,139,24"/>
</map>
 </div></div>

<p><a href="classCVC3_1_1TheorySimulate-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classCVC3_1_1TheorySimulate.html#a55c7af5a378de8d5d5be49ba8f255b14">TheorySimulate</a> (<a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *core)
<dl class="el"><dd class="mdescRight">Constructor.  <a href="#a55c7af5a378de8d5d5be49ba8f255b14"></a><br/></dl><li><a class="el" href="classCVC3_1_1TheorySimulate.html#a360c8619bf0719db8811a3efae77b832">~TheorySimulate</a> ()
<dl class="el"><dd class="mdescRight">Destructor.  <a href="#a360c8619bf0719db8811a3efae77b832"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheorySimulate.html#ac39b4d535442f240fa39bd36eb3cca77">assertFact</a> (const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;e)
<dl class="el"><dd class="mdescRight">Assert a new fact to the decision procedure.  <a href="#ac39b4d535442f240fa39bd36eb3cca77"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheorySimulate.html#a5cfee69476363aae1b84a3e76032b6cd">checkSat</a> (bool fullEffort)
<dl class="el"><dd class="mdescRight">Check for satisfiability in the theory.  <a href="#a5cfee69476363aae1b84a3e76032b6cd"></a><br/></dl><li><a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> <a class="el" href="classCVC3_1_1TheorySimulate.html#a7ffc512dc7ea5a3178445b904c7071e2">rewrite</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific rewrite rules.  <a href="#a7ffc512dc7ea5a3178445b904c7071e2"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheorySimulate.html#a7b967470cb0087ab5ed87ecb483a978d">computeType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Compute and store the type of e.  <a href="#a7b967470cb0087ab5ed87ecb483a978d"></a><br/></dl><li><a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheorySimulate.html#a46b843eea802fa2a9b666552a58886eb">computeTCC</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Compute and cache the TCC of e.  <a href="#a46b843eea802fa2a9b666552a58886eb"></a><br/></dl><li><a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheorySimulate.html#a888f05dd7da9aa30304f6b7016dbfe46">parseExprOp</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific parsing implemented by the DP.  <a href="#a888f05dd7da9aa30304f6b7016dbfe46"></a><br/></dl><li><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp; <a class="el" href="classCVC3_1_1TheorySimulate.html#a9d4451dfc3e6f6e1b9872761b4a974f2">print</a> (<a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;os, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific pretty-printing.  <a href="#a9d4451dfc3e6f6e1b9872761b4a974f2"></a><br/></dl></ul>
<h2><a name="pri-methods"></a>
Private Member Functions</h2>
<ul>
<li><a class="el" href="classCVC3_1_1SimulateProofRules.html">SimulateProofRules</a> * <a class="el" href="classCVC3_1_1TheorySimulate.html#a9d7b41e634335a8c3ed2636b88fd714e">createProofRules</a> ()
<dl class="el"><dd class="mdescRight">Create proof rules for this theory.  <a href="#a9d7b41e634335a8c3ed2636b88fd714e"></a><br/></dl></ul>
<h2><a name="pri-attribs"></a>
Private Attributes</h2>
<ul>
<li><a class="el" href="classCVC3_1_1SimulateProofRules.html">SimulateProofRules</a> * <a class="el" href="classCVC3_1_1TheorySimulate.html#a549f5a22dfdb58a6d22f48b09ecaec3e">d_rules</a>
<dl class="el"><dd class="mdescRight">Our local proof rules.  <a href="#a549f5a22dfdb58a6d22f48b09ecaec3e"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>"Theory" of symbolic simulation. </p>
<p>Author: Sergey Berezin</p>
<p>Created: Tue Oct 7 10:13:15 2003</p>
<p>This theory owns the SIMULATE operator. It's job is to replace the above expressions by their definitions using rewrite rules. </p>

<p>Definition at line <a class="el" href="theory__simulate_8h_source.html#l00046">46</a> of file <a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a55c7af5a378de8d5d5be49ba8f255b14"></a><!-- doxytag: member="CVC3::TheorySimulate::TheorySimulate" ref="a55c7af5a378de8d5d5be49ba8f255b14" args="(TheoryCore *core)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TheorySimulate::TheorySimulate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *&#160;</td>
          <td class="paramname"><em>core</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00035">35</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="simulate__theorem__producer_8cpp_source.html#l00038">createProofRules()</a>, <a class="el" href="theory__simulate_8h_source.html#l00049">d_rules</a>, <a class="el" href="theory_8cpp_source.html#l00203">CVC3::Theory::registerTheory()</a>, and <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>.</p>

</div>
</div>
<a class="anchor" id="a360c8619bf0719db8811a3efae77b832"></a><!-- doxytag: member="CVC3::TheorySimulate::~TheorySimulate" ref="a360c8619bf0719db8811a3efae77b832" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TheorySimulate::~TheorySimulate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00047">47</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="theory__simulate_8h_source.html#l00049">d_rules</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9d7b41e634335a8c3ed2636b88fd714e"></a><!-- doxytag: member="CVC3::TheorySimulate::createProofRules" ref="a9d7b41e634335a8c3ed2636b88fd714e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1SimulateProofRules.html">SimulateProofRules</a> * TheorySimulate::createProofRules </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create proof rules for this theory. </p>

<p>Definition at line <a class="el" href="simulate__theorem__producer_8cpp_source.html#l00038">38</a> of file <a class="el" href="simulate__theorem__producer_8cpp_source.html">simulate_theorem_producer.cpp</a>.</p>

<p>Referenced by <a class="el" href="theory__simulate_8cpp_source.html#l00035">TheorySimulate()</a>.</p>

</div>
</div>
<a class="anchor" id="ac39b4d535442f240fa39bd36eb3cca77"></a><!-- doxytag: member="CVC3::TheorySimulate::assertFact" ref="ac39b4d535442f240fa39bd36eb3cca77" args="(const Theorem &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CVC3::TheorySimulate::assertFact </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assert a new fact to the decision procedure. </p>
<p>Each fact that makes it into the core framework is assigned to exactly one theory: the theory associated with that fact. assertFact is called to inform the theory that a new fact has been assigned to the theory. </p>

<p>Implements <a class="el" href="group__Theory__API.html#ga58de37714dd855f4d50de15108b8dbc7">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8h_source.html#l00058">58</a> of file <a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5cfee69476363aae1b84a3e76032b6cd"></a><!-- doxytag: member="CVC3::TheorySimulate::checkSat" ref="a5cfee69476363aae1b84a3e76032b6cd" args="(bool fullEffort)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CVC3::TheorySimulate::checkSat </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullEffort</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check for satisfiability in the theory. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fullEffort</td><td>when it is false, checkSat can do as much or as little work as it likes, though simple inferences and checks for consistency should be done to increase efficiency. If fullEffort is true, checkSat must check whether the set of facts given by assertFact together with the arrangement of shared terms (provided by addSharedTerm) induced by the global find database equivalence relation are satisfiable. If satisfiable, checkSat does nothing.</td></tr>
  </table>
  </dd>
</dl>
<p>If satisfiability can be acheived by merging some of the shared terms, a new fact must be enqueued using enqueueFact (this fact need not be a literal). If there is no way to make things satisfiable, setInconsistent must be called. </p>

<p>Implements <a class="el" href="group__Theory__API.html#gae0bb3d506dad8d69da546777cae27228">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8h_source.html#l00059">59</a> of file <a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ffc512dc7ea5a3178445b904c7071e2"></a><!-- doxytag: member="CVC3::TheorySimulate::rewrite" ref="a7ffc512dc7ea5a3178445b904c7071e2" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> TheorySimulate::rewrite </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific rewrite rules. </p>
<p>By default, rewrite just returns a reflexive theorem stating that the input expression is equivalent to itself. However, rewrite is allowed to return any theorem which describes how the input expression is equivalent to some new expression. rewrite should be used to perform simplifications, normalization, and any other preprocessing on theory-specific expressions that needs to be done. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gaa6475baeb444915fa3b2f5c58dc5148a">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00053">53</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="theory__simulate_8h_source.html#l00049">d_rules</a>, <a class="el" href="classCVC3_1_1SimulateProofRules.html#a521de66c40b56968a3765f8a23755a3a">CVC3::SimulateProofRules::expandSimulate()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>, and <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>.</p>

</div>
</div>
<a class="anchor" id="a7b967470cb0087ab5ed87ecb483a978d"></a><!-- doxytag: member="CVC3::TheorySimulate::computeType" ref="a7b967470cb0087ab5ed87ecb483a978d" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheorySimulate::computeType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute and store the type of e. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is the expression whose type is computed.</td></tr>
  </table>
  </dd>
</dl>
<p>This function computes the type of the top-level operator of e, and recurses into children using getType(), if necessary. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gabaed6b47e6fdea3ae1e53ff75f1882db">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00065">65</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="type_8h_source.html#l00055">CVC3::Type::arity()</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8cpp_source.html#l00641">CVC3::Type::funType()</a>, <a class="el" href="theory_8cpp_source.html#l00383">CVC3::Theory::getBaseType()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="cvc__util_8h_source.html#l00046">CVC3::int2string()</a>, <a class="el" href="type_8h_source.html#l00062">CVC3::Type::isFunction()</a>, <a class="el" href="theory__arith_8h_source.html#l00177">CVC3::isRational()</a>, <a class="el" href="theory__arith_8h_source.html#l00173">CVC3::isReal()</a>, <a class="el" href="expr_8h_source.html#l01427">CVC3::Expr::setType()</a>, <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>, <a class="el" href="type_8h_source.html#l00080">CVC3::Type::toString()</a>, and <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>.</p>

</div>
</div>
<a class="anchor" id="a46b843eea802fa2a9b666552a58886eb"></a><!-- doxytag: member="CVC3::TheorySimulate::computeTCC" ref="a46b843eea802fa2a9b666552a58886eb" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheorySimulate::computeTCC </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute and cache the TCC of e. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is an expression (term or formula). This function computes the TCC of e which is true iff the expression is defined.</td></tr>
  </table>
  </dd>
</dl>
<p>This function computes the TCC or predicate of the top-level operator of e, and recurses into children using <a class="el" href="classCVC3_1_1Theory.html#af38bdeb162a9ab9bd81ce40f598f608f" title="Compute the TCC of e, or the subtyping predicate, if e is a type.">getTCC()</a>, if necessary.</p>
<p>The default implementation is to compute TCCs recursively for all children, and return their conjunction. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga9278ad3a6eb8351865a71acd7bb7f968">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00164">164</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l00945">CVC3::andExpr()</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="type_8h_source.html#l00055">CVC3::Type::arity()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr__manager_8h_source.html#l00278">CVC3::ExprManager::falseExpr()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01135">CVC3::Expr::getRational()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="theory_8cpp_source.html#l00406">CVC3::Theory::getTypePred()</a>, <a class="el" href="type_8h_source.html#l00062">CVC3::Type::isFunction()</a>, <a class="el" href="theory_8h_source.html#l00719">CVC3::Theory::rewriteAnd()</a>, <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="expr__manager_8h_source.html#l00280">CVC3::ExprManager::trueExpr()</a>.</p>

</div>
</div>
<a class="anchor" id="a888f05dd7da9aa30304f6b7016dbfe46"></a><!-- doxytag: member="CVC3::TheorySimulate::parseExprOp" ref="a888f05dd7da9aa30304f6b7016dbfe46" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheorySimulate::parseExprOp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific parsing implemented by the DP. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga378bef078620e67fc80f36fa79320d91">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00131">131</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="expr_8h_source.html#l01156">CVC3::Expr::getEM()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr__manager_8cpp_source.html#l00412">CVC3::ExprManager::getKind()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="theory_8cpp_source.html#l00519">CVC3::Theory::parseExpr()</a>, <a class="el" href="kinds_8h_source.html#l00044">RAW_LIST</a>, <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="kinds_8h_source.html#l00099">TRACE</a>.</p>

</div>
</div>
<a class="anchor" id="a9d4451dfc3e6f6e1b9872761b4a974f2"></a><!-- doxytag: member="CVC3::TheorySimulate::print" ref="a9d4451dfc3e6f6e1b9872761b4a974f2" args="(ExprStream &amp;os, const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp; TheorySimulate::print </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific pretty-printing. </p>
<p>By default, print the top node in AST, and resume pretty-printing the children. The same call e.print(os) can be used in DP-specific printers to use AST printing for the given node. In fact, it is strongly recommended to add e.print(os) as the default for all the cases/kinds that are not handled by the particular pretty-printer. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga49009744d64bbc47785f3fc5fa6884ca">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__simulate_8cpp_source.html#l00215">215</a> of file <a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="theory_8h_source.html#l00079">CVC3::Theory::d_theoryUsed</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr__stream_8h_source.html#l00165">CVC3::ExprStream::lang()</a>, <a class="el" href="lang_8h_source.html#l00036">CVC3::LISP_LANG</a>, <a class="el" href="expr__stream_8cpp_source.html#l00301">CVC3::pop()</a>, <a class="el" href="lang_8h_source.html#l00032">CVC3::PRESENTATION_LANG</a>, <a class="el" href="expr_8cpp_source.html#l00400">CVC3::Expr::printAST()</a>, <a class="el" href="expr__stream_8cpp_source.html#l00298">CVC3::push()</a>, <a class="el" href="kinds_8h_source.html#l00231">SIMULATE</a>, <a class="el" href="lang_8h_source.html#l00034">CVC3::SMTLIB_LANG</a>, <a class="el" href="lang_8h_source.html#l00052">CVC3::SMTLIB_V2_LANG</a>, and <a class="el" href="expr__stream_8cpp_source.html#l00326">CVC3::space()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a549f5a22dfdb58a6d22f48b09ecaec3e"></a><!-- doxytag: member="CVC3::TheorySimulate::d_rules" ref="a549f5a22dfdb58a6d22f48b09ecaec3e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1SimulateProofRules.html">SimulateProofRules</a>* <a class="el" href="classCVC3_1_1TheorySimulate.html#a549f5a22dfdb58a6d22f48b09ecaec3e">CVC3::TheorySimulate::d_rules</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Our local proof rules. </p>

<p>Definition at line <a class="el" href="theory__simulate_8h_source.html#l00049">49</a> of file <a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a>.</p>

<p>Referenced by <a class="el" href="theory__simulate_8cpp_source.html#l00053">rewrite()</a>, <a class="el" href="theory__simulate_8cpp_source.html#l00035">TheorySimulate()</a>, and <a class="el" href="theory__simulate_8cpp_source.html#l00047">~TheorySimulate()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="theory__simulate_8h_source.html">theory_simulate.h</a></li>
<li><a class="el" href="simulate__theorem__producer_8cpp_source.html">simulate_theorem_producer.cpp</a></li>
<li><a class="el" href="theory__simulate_8cpp_source.html">theory_simulate.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>