Sophie

Sophie

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

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::SearchEngine 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_1SearchEngine.html">SearchEngine</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CVC3::SearchEngine Class Reference<div class="ingroups"><a class="el" href="group__SE.html">Search Engine</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CVC3::SearchEngine" -->
<p>API to to a generic proof search engine.  
 <a href="classCVC3_1_1SearchEngine.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="search_8h_source.html">search.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CVC3::SearchEngine:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCVC3_1_1SearchEngine.png" usemap="#CVC3::SearchEngine_map" alt=""/>
  <map id="CVC3::SearchEngine_map" name="CVC3::SearchEngine_map">
<area href="classCVC3_1_1SearchImplBase.html" title="API to to a generic proof search engine (a.k.a. SAT solver)" alt="CVC3::SearchImplBase" shape="rect" coords="83,56,239,80"/>
<area href="classCVC3_1_1SearchSat.html" title="Search engine that connects to a generic SAT reasoning module." alt="CVC3::SearchSat" shape="rect" coords="249,56,405,80"/>
<area href="classCVC3_1_1SearchEngineFast.html" title="Implementation of a faster search engine, using newer techniques." alt="CVC3::SearchEngineFast" shape="rect" coords="0,112,156,136"/>
<area href="classCVC3_1_1SearchSimple.html" title="Implementation of the simple search engine." alt="CVC3::SearchSimple" shape="rect" coords="166,112,322,136"/>
</map>
 </div></div>

<p><a href="classCVC3_1_1SearchEngine-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="group__SE.html#ga2763859e03e0a91877d91e20a3d26a7a">SearchEngine</a> (<a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *core)
<dl class="el"><dd class="mdescRight">Constructor.  <a href="group__SE.html#ga2763859e03e0a91877d91e20a3d26a7a"></a><br/></dl><li>virtual <a class="el" href="group__SE.html#ga863ab87efd742b9a8f20b87774ab570f">~SearchEngine</a> ()
<dl class="el"><dd class="mdescRight">Destructor.  <a href="group__SE.html#ga863ab87efd742b9a8f20b87774ab570f"></a><br/></dl><li>virtual const std::string &amp; <a class="el" href="group__SE.html#ga942b3cc50f5ea9da1b3117ee23eff9c2">getName</a> ()=0
<dl class="el"><dd class="mdescRight">Name of this search engine.  <a href="group__SE.html#ga942b3cc50f5ea9da1b3117ee23eff9c2"></a><br/></dl><li><a class="el" href="classCVC3_1_1CommonProofRules.html">CommonProofRules</a> * <a class="el" href="group__SE.html#ga09d347bd55d59dc8f1d2f711df0d1c4c">getCommonRules</a> ()
<dl class="el"><dd class="mdescRight">Accessor for common rules.  <a href="group__SE.html#ga09d347bd55d59dc8f1d2f711df0d1c4c"></a><br/></dl><li><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> * <a class="el" href="group__SE.html#ga895a3150e972fb79a7a3ab26100dd31e">theoryCore</a> ()
<dl class="el"><dd class="mdescRight">Accessor for <a class="el" href="classCVC3_1_1TheoryCore.html" title="This theory handles the built-in logical connectives plus equality. It also handles the registration ...">TheoryCore</a>.  <a href="group__SE.html#ga895a3150e972fb79a7a3ab26100dd31e"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga0f7c2870341319738e7d8c6662e6d7cc">registerAtom</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)=0
<dl class="el"><dd class="mdescRight">Register an atomic formula of interest.  <a href="group__SE.html#ga0f7c2870341319738e7d8c6662e6d7cc"></a><br/></dl><li>virtual <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> <a class="el" href="group__SE.html#ga29a287b5dd638015f974a8a046e19d8a">getImpliedLiteral</a> ()=0
<dl class="el"><dd class="mdescRight">Return next literal implied by last assertion. Null <a class="el" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> if none.  <a href="group__SE.html#ga29a287b5dd638015f974a8a046e19d8a"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#gadea197447ea40330f3b0739aa944c800">push</a> ()=0
<dl class="el"><dd class="mdescRight">Push a checkpoint.  <a href="group__SE.html#gadea197447ea40330f3b0739aa944c800"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5">pop</a> ()=0
<dl class="el"><dd class="mdescRight">Restore last checkpoint.  <a href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5"></a><br/></dl><li>virtual <a class="el" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498b">QueryResult</a> <a class="el" href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc">checkValid</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;result)=0
<dl class="el"><dd class="mdescRight">Checks the validity of a formula in the current context.  <a href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc"></a><br/></dl><li>virtual <a class="el" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498b">QueryResult</a> <a class="el" href="group__SE.html#ga715936653b5bef3e3d9fd2a8a873bafd">restart</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;result)=0
<dl class="el"><dd class="mdescRight">Reruns last check with e as an additional assumption.  <a href="group__SE.html#ga715936653b5bef3e3d9fd2a8a873bafd"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#gad552593fb43fd5751f12942f3a29a90e">returnFromCheck</a> ()=0
<dl class="el"><dd class="mdescRight">Returns to context immediately before last call to checkValid.  <a href="group__SE.html#gad552593fb43fd5751f12942f3a29a90e"></a><br/></dl><li>virtual <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> <a class="el" href="group__SE.html#ga9757a6fd272ea550d0e910d20bd7d00b">lastThm</a> ()=0
<dl class="el"><dd class="mdescRight">Returns the result of the most recent valid theorem.  <a href="group__SE.html#ga9757a6fd272ea550d0e910d20bd7d00b"></a><br/></dl><li>virtual <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> <a class="el" href="group__SE.html#ga5782663fc8ae00ec2965506c8ba65a86">newUserAssumption</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)=0
<dl class="el"><dd class="mdescRight">Generate and add an assumption to the set of assumptions in the current context.  <a href="group__SE.html#ga5782663fc8ae00ec2965506c8ba65a86"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga43f52699cddc6e0feffffaf22424fe47">getUserAssumptions</a> (std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;assumptions)=0
<dl class="el"><dd class="mdescRight">Get all user assumptions made in this and all previous contexts.  <a href="group__SE.html#ga43f52699cddc6e0feffffaf22424fe47"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga320e15a994a712bc7c20854853501b27">getInternalAssumptions</a> (std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;assumptions)=0
<dl class="el"><dd class="mdescRight">Get assumptions made internally in this and all previous contexts.  <a href="group__SE.html#ga320e15a994a712bc7c20854853501b27"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga3167148206cca25a3434cb8bb15c69fe">getAssumptions</a> (std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;assumptions)=0
<dl class="el"><dd class="mdescRight">Get all assumptions made in this and all previous contexts.  <a href="group__SE.html#ga3167148206cca25a3434cb8bb15c69fe"></a><br/></dl><li>virtual bool <a class="el" href="group__SE.html#ga20730f5acacc4b18d29031632d88904c">isAssumption</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)=0
<dl class="el"><dd class="mdescRight">Check if the formula has already been assumed previously.  <a href="group__SE.html#ga20730f5acacc4b18d29031632d88904c"></a><br/></dl><li>virtual void <a class="el" href="group__SE.html#ga739867521b23967ee6739ec32a8070e2">getCounterExample</a> (std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;assertions, bool inOrder=true)=0
<dl class="el"><dd class="mdescRight">Will return the set of assertions which make the queried formula false.  <a href="group__SE.html#ga739867521b23967ee6739ec32a8070e2"></a><br/></dl><li>virtual <a class="el" href="classCVC3_1_1Proof.html">Proof</a> <a class="el" href="group__SE.html#gaa0ce3839d5f7b64168d62ff5eb59cf1f">getProof</a> ()=0
<dl class="el"><dd class="mdescRight">Returns the proof term for the last proven query.  <a href="group__SE.html#gaa0ce3839d5f7b64168d62ff5eb59cf1f"></a><br/></dl><li>void <a class="el" href="group__SE.html#gae2a1cd46200160ac5855d7cd5f65517c">getConcreteModel</a> (<a class="el" href="classCVC3_1_1ExprMap.html">ExprMap</a>&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;m)
<dl class="el"><dd class="mdescRight">Build a concrete Model (assign values to variables), should only be called after a query which returns INVALID.  <a href="group__SE.html#gae2a1cd46200160ac5855d7cd5f65517c"></a><br/></dl><li>bool <a class="el" href="group__SE.html#ga44f1c2fefc202249cd2cda55d7712bdf">tryModelGeneration</a> (<a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;thm)
<dl class="el"><dd class="mdescRight">Try to build a concrete Model (assign values to variables), should only be called after a query which returns UNKNOWN. Returns a theorem if inconsistent.  <a href="group__SE.html#ga44f1c2fefc202249cd2cda55d7712bdf"></a><br/></dl><li>virtual <a class="el" href="namespaceCVC3.html#a9d68f126b86e6fd08b3bc13a511df9bf">FormulaValue</a> <a class="el" href="group__SE.html#ga38ced857c272afeecbe0429e1dcca28e">getValue</a> (const <a class="el" href="classCVC3_1_1Expr.html">CVC3::Expr</a> &amp;e)=0
</ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li><a class="el" href="classCVC3_1_1SearchEngineRules.html">SearchEngineRules</a> * <a class="el" href="group__SE.html#ga11dd236b3ba4ca5faad7563dfe6f3d72">createRules</a> ()
<dl class="el"><dd class="mdescRight">Create the trusted component.  <a href="group__SE.html#ga11dd236b3ba4ca5faad7563dfe6f3d72"></a><br/></dl><li><a class="el" href="classCVC3_1_1SearchEngineRules.html">SearchEngineRules</a> * <a class="el" href="group__SE.html#ga5ee040962725cff9a07cd33cbb6d6232">createRules</a> (<a class="el" href="classCVC3_1_1SearchEngine.html">SearchEngine</a> *s_eng)
</ul>
<h2><a name="pro-attribs"></a>
Protected Attributes</h2>
<ul>
<li><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> * <a class="el" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90">d_core</a>
<dl class="el"><dd class="mdescRight">Access to theory reasoning.  <a href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90"></a><br/></dl><li><a class="el" href="classCVC3_1_1CommonProofRules.html">CommonProofRules</a> * <a class="el" href="group__SE.html#ga63f2a3cfcfa86820bea2f45cb890cc1c">d_commonRules</a>
<dl class="el"><dd class="mdescRight">Common proof rules.  <a href="group__SE.html#ga63f2a3cfcfa86820bea2f45cb890cc1c"></a><br/></dl><li><a class="el" href="classCVC3_1_1SearchEngineRules.html">SearchEngineRules</a> * <a class="el" href="group__SE.html#ga879b68112123e2b4ae7175d85a03bfec">d_rules</a>
<dl class="el"><dd class="mdescRight"><a class="el" href="classCVC3_1_1Proof.html">Proof</a> rules for the search engine.  <a href="group__SE.html#ga879b68112123e2b4ae7175d85a03bfec"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>API to to a generic proof search engine. </p>

<p>Definition at line <a class="el" href="search_8h_source.html#l00050">50</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="search_8h_source.html">search.h</a></li>
<li><a class="el" href="search_8cpp_source.html">search.cpp</a></li>
<li><a class="el" href="search__theorem__producer_8cpp_source.html">search_theorem_producer.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>