Fast SAT Solver (C++, GAlib)
Detail souboru
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: SatProblem::Private Struct 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 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="nav">
<a class="el" href="namespaceFastSatSolver.html">FastSatSolver</a>::<a class="el" href="classFastSatSolver_1_1SatProblem.html">SatProblem</a>::<a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html">Private</a></div>
<h1>SatProblem::Private Struct Reference</h1><!-- doxytag: class="FastSatSolver::SatProblem::Private" --><div class="dynheader">
Collaboration diagram for SatProblem::Private:</div>
<div class="dynsection">
<p><center><img src="structFastSatSolver_1_1SatProblem_1_1Private__coll__graph.png" border="0" usemap="#SatProblem_1_1Private__coll__map" alt="Collaboration graph"></center>
<map name="SatProblem_1_1Private__coll__map">
<area shape="rect" href="classFastSatSolver_1_1FormulaContainer.html" title="Container for evaluable formulas." alt="" coords="5,96,147,123"><area shape="rect" href="structFastSatSolver_1_1FormulaContainer_1_1Private.html" title="Private" alt="" coords="41,5,111,32"><area shape="rect" href="classFastSatSolver_1_1VariableContainer.html" title="Container for variables names." alt="" coords="171,96,315,123"><area shape="rect" href="structFastSatSolver_1_1VariableContainer_1_1Private.html" title="Private" alt="" coords="208,5,277,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="structFastSatSolver_1_1SatProblem_1_1Private-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00039">39</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#df436c08b00c0f824d199d75730f9989">parseFile</a> (FILE *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#1f253aaff031757c99ad290a139d4572">parserLoop</a> (<a class="el" href="classFastSatSolver_1_1IScanner.html">IScanner</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#4a9777d181b01d3df14636fee61ae5b9">printError</a> (<a class="el" href="structFastSatSolver_1_1Token.html">Token</a>)</td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#5e7656006c54c5a38ba22f9fd0bcb2f1">hasError</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFastSatSolver_1_1VariableContainer.html">VariableContainer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#aa540a1fb84ff7b45694df3ef8b00486">vc</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFastSatSolver_1_1FormulaContainer.html">FormulaContainer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#7e4ae4fbcc08a74a001974dda465b041">fc</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#c81f9269c8d57eed4d5b56f054fc84de">fileName</a></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="df436c08b00c0f824d199d75730f9989"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::parseFile" ref="df436c08b00c0f824d199d75730f9989" args="(FILE *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void parseFile </td>
<td>(</td>
<td class="paramtype">FILE * </td>
<td class="paramname"> <em>fd</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00088">88</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>References <a class="el" href="SatProblem_8cpp-source.html#l00042">SatProblem::Private::fc</a>, <a class="el" href="SatProblem_8cpp-source.html#l00221">VariableContainer::getLength()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00260">FormulaContainer::getLength()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00040">SatProblem::Private::hasError</a>, <a class="el" href="SatProblem_8cpp-source.html#l00130">SatProblem::Private::parserLoop()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00041">SatProblem::Private::vc</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00057">SatProblem::loadFromFile()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00081">SatProblem::loadFromInput()</a>.</p>
</div>
</div><p>
<a class="anchor" name="1f253aaff031757c99ad290a139d4572"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::parserLoop" ref="1f253aaff031757c99ad290a139d4572" args="(IScanner *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void parserLoop </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFastSatSolver_1_1IScanner.html">IScanner</a> * </td>
<td class="paramname"> <em>scanner</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00130">130</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>References <a class="el" href="Scanner_8h-source.html#l00077">Token::m_token</a>, <a class="el" href="SatProblem_8cpp-source.html#l00148">SatProblem::Private::printError()</a>, <a class="el" href="classFastSatSolver_1_1IScanner.html#53b145cc4de33e6be8076171e8c6a799">IScanner::readNext()</a>, <a class="el" href="Scanner_8h-source.html#l00055">FastSatSolver::T_EOF</a>, <a class="el" href="Scanner_8h-source.html#l00065">FastSatSolver::T_ERR_EXPR</a>, <a class="el" href="Scanner_8h-source.html#l00064">FastSatSolver::T_ERR_LEX</a>, and <a class="el" href="Scanner_8h-source.html#l00066">FastSatSolver::T_ERR_PARSE</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00088">SatProblem::Private::parseFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4a9777d181b01d3df14636fee61ae5b9"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::printError" ref="4a9777d181b01d3df14636fee61ae5b9" args="(Token)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void printError </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structFastSatSolver_1_1Token.html">Token</a> </td>
<td class="paramname"> <em>token</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00148">148</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>References <a class="el" href="SatProblem_8cpp-source.html#l00043">SatProblem::Private::fileName</a>, <a class="el" href="SatProblem_8cpp-source.html#l00040">SatProblem::Private::hasError</a>, <a class="el" href="Scanner_8h-source.html#l00075">Token::m_line</a>, <a class="el" href="Scanner_8h-source.html#l00077">Token::m_token</a>, <a class="el" href="Scanner_8h-source.html#l00065">FastSatSolver::T_ERR_EXPR</a>, <a class="el" href="Scanner_8h-source.html#l00064">FastSatSolver::T_ERR_LEX</a>, and <a class="el" href="Scanner_8h-source.html#l00066">FastSatSolver::T_ERR_PARSE</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00130">SatProblem::Private::parserLoop()</a>.</p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="5e7656006c54c5a38ba22f9fd0bcb2f1"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::hasError" ref="5e7656006c54c5a38ba22f9fd0bcb2f1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#5e7656006c54c5a38ba22f9fd0bcb2f1">hasError</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00040">40</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00199">SatProblem::hasError()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00088">SatProblem::Private::parseFile()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00148">SatProblem::Private::printError()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00049">SatProblem::SatProblem()</a>.</p>
</div>
</div><p>
<a class="anchor" name="aa540a1fb84ff7b45694df3ef8b00486"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::vc" ref="aa540a1fb84ff7b45694df3ef8b00486" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classFastSatSolver_1_1VariableContainer.html">VariableContainer</a> <a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#aa540a1fb84ff7b45694df3ef8b00486">vc</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00041">41</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00174">SatProblem::getVarName()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00165">SatProblem::getVarsCount()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00088">SatProblem::Private::parseFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="7e4ae4fbcc08a74a001974dda465b041"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::fc" ref="7e4ae4fbcc08a74a001974dda465b041" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classFastSatSolver_1_1FormulaContainer.html">FormulaContainer</a> <a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#7e4ae4fbcc08a74a001974dda465b041">fc</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00042">42</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00182">SatProblem::getFormulasCount()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00191">SatProblem::getSatsCount()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00088">SatProblem::Private::parseFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="c81f9269c8d57eed4d5b56f054fc84de"></a><!-- doxytag: member="FastSatSolver::SatProblem::Private::fileName" ref="c81f9269c8d57eed4d5b56f054fc84de" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="structFastSatSolver_1_1SatProblem_1_1Private.html#c81f9269c8d57eed4d5b56f054fc84de">fileName</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="SatProblem_8cpp-source.html#l00043">43</a> of file <a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a>.</p>
<p>Referenced by <a class="el" href="SatProblem_8cpp-source.html#l00057">SatProblem::loadFromFile()</a>, <a class="el" href="SatProblem_8cpp-source.html#l00081">SatProblem::loadFromInput()</a>, and <a class="el" href="SatProblem_8cpp-source.html#l00148">SatProblem::Private::printError()</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="SatProblem_8cpp-source.html">SatProblem.cpp</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Nov 5 22:30:22 2008 for Fast SAT Solver by
<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>