English
Kamil Dudka

Fast SAT Solver (C++, GAlib)

Detail souboru

Jméno:Stáhnoutfss_8cpp.html [Stáhnout]
Umístění: fss > doc > api > html
Velikost:7.4 KB
Poslední změna:2022-09-09 13:06

Zdrojový kód

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Fast SAT Solver: fss.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</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>
<h1>fss.cpp File Reference</h1>
<p>
<code>#include &lt;iostream&gt;</code><br>
<code>#include &lt;iomanip&gt;</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;ga/GAParameter.h&gt;</code><br>
<code>#include &lt;ga/GAStatistics.h&gt;</code><br>
<code>#include &quot;<a class="el" href="fssIO_8h-source.html">fssIO.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="SatProblem_8h-source.html">SatProblem.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="BlindSatSolver_8h-source.html">BlindSatSolver.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="GaSatSolver_8h-source.html">GaSatSolver.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="SatSolverObserver_8h-source.html">SatSolverObserver.h</a>&quot;</code><br>
 
<p>
<div class="dynheader">
Include dependency graph for fss.cpp:</div>
<div class="dynsection">
<p><center><img src="fss_8cpp__incl.png" border="0" usemap="#fss.cpp_map" alt=""></center>
<map name="fss.cpp_map">
<area shape="rect" href="fssIO_8h.html" title="I/O module." alt="" coords="5,80,72,107"><area shape="rect" href="SatProblem_8h.html" title="SAT Problem representation." alt="" coords="576,80,688,107"><area shape="rect" href="BlindSatSolver_8h.html" title="BlindSatSolver class using brute force method to solve SAT problem." alt="" coords="853,80,984,107"><area shape="rect" href="GaSatSolver_8h.html" title="GaSatSolver class using GAlib library to solve SAT problem." alt="" coords="712,80,829,107"><area shape="rect" href="SatSolverObserver_8h.html" title="Set of useful observers attachable to AbstractSatSolver or its base classes." alt="" coords="1008,80,1168,107"><area shape="rect" href="Scanner_8h.html" title="Extensible lexical scanner used for reading SAT Problem specification." alt="" coords="673,155,761,181"><area shape="rect" href="SatSolver_8h.html" title="ISatItem, IObserver and AbstractSatSolver with its base classes." alt="" coords="869,155,968,181"></map>
</div>
 
<p>
<a href="fss_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class OBSERVER, class SUBJECT, class ARG&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">OBSERVER *&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="fss_8cpp.html#59e24b8c521c303ca4876a1d456c45c6">createAttached</a> (SUBJECT *subject, ARG &amp;arg)</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fss_8cpp.html#0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
 
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="59e24b8c521c303ca4876a1d456c45c6"></a><!-- doxytag: member="fss.cpp::createAttached" ref="59e24b8c521c303ca4876a1d456c45c6" args="(SUBJECT *subject, ARG &amp;arg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OBSERVER* createAttached           </td>
          <td>(</td>
          <td class="paramtype">SUBJECT *&nbsp;</td>
          <td class="paramname"> <em>subject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ARG &amp;&nbsp;</td>
          <td class="paramname"> <em>arg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
 
<p>Definition at line <a class="el" href="fss_8cpp-source.html#l00040">40</a> of file <a class="el" href="fss_8cpp-source.html">fss.cpp</a>.</p>
 
</div>
</div><p>
<a class="anchor" name="0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="fss.cpp::main" ref="0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>argv</em>[]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
 
<p>Definition at line <a class="el" href="fss_8cpp-source.html#l00046">46</a> of file <a class="el" href="fss_8cpp-source.html">fss.cpp</a>.</p>
 
<p>References <a class="el" href="SatSolver_8cpp-source.html#l00046">AbstractSubject::addObserver()</a>, <a class="el" href="fssIO_8h-source.html#l00092">FastSatSolver::StreamDecorator::C_CYAN</a>, <a class="el" href="fssIO_8h-source.html#l00091">FastSatSolver::StreamDecorator::C_GREEN</a>, <a class="el" href="fssIO_8h-source.html#l00098">FastSatSolver::StreamDecorator::C_LIGHT_BLUE</a>, <a class="el" href="fssIO_8h-source.html#l00093">FastSatSolver::StreamDecorator::C_RED</a>, <a class="el" href="fssIO_8h-source.html#l00103">FastSatSolver::StreamDecorator::C_YELLOW</a>, <a class="el" href="SatProblem_8cpp-source.html#l00182">SatProblem::getFormulasCount()</a>, <a class="el" href="SatSolver_8cpp-source.html#l00173">SatItemVector::getLength()</a>, <a class="el" href="GaSatSolver_8cpp-source.html#l00128">GaSatSolver::getStatistics()</a>, <a class="el" href="fssIO_8cpp-source.html#l00034">GenericException::getText()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00174">SatProblem::getVarName()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00165">SatProblem::getVarsCount()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00199">SatProblem::hasError()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00057">SatProblem::loadFromFile()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00081">SatProblem::loadFromInput()</a>, <a class="el" href="fssIO_8h-source.html#l00148">FastSatSolver::printError()</a>, <a class="el" href="SatSolverObserver_8cpp-source.html#l00125">FitnessWatch::reset()</a>, and <a class="el" href="SatSolver_8cpp-source.html#l00182">SatItemVector::writeOut()</a>.</p>
 
</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Nov 5 22:30:22 2008 for Fast SAT Solver by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>