CSP csp++.cpp /^CSP<T>::CSP ( int n, T default_value, bool set_value, bool (*c)(std::vector< CSPvariable<T> >) )$/;" f class:CSP signature:( int n, T default_value, bool set_value, bool (*c)(std::vector< CSPvariable<T> >) )
CSP csp++.cpp /^CSP<T>::CSP (int n, bool (*c)(vector< CSPvariable<T> >))$/;" f class:CSP signature:(int n, bool (*c)(vector< CSPvariable<T> >))
CSP csp++.h /^ CSP ( int n, T default_value, bool set_variables = false, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint );$/;" p class:CSP access:public signature:( int n, T default_value, bool set_variables = false, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint )
CSP csp++.h /^ CSP ( int n, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint );$/;" p class:CSP access:public signature:( int n, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint )
CSP csp++.h /^class CSP {$/;" c
CSP doc/latex/classCSP.tex /^\\subsubsection[{CSP}]{\\setlength{\\rightskip}{0pt plus 5cm}template$<$class T $>$ {\\bf CSP}$<$ T $>$::{\\bf CSP} (int {\\em n}, \\\/ T {\\em default\\_\\-value}, \\\/ bool {\\em set\\_\\-variables} = {\\ttfamily false}, \\\/ bool($\\ast$)(std::vector$<$ {\\bf CSPvariable}$<$ T $>$ $>$) {\\em c} = {\\ttfamily \\_\\-\\_\\-default\\_\\-constraint})\\hspace{0.3cm}{\\ttfamily \\mbox{[}inline\\mbox{]}}}}$/;" b
CSP doc/latex/classCSP.tex /^\\subsubsection[{CSP}]{\\setlength{\\rightskip}{0pt plus 5cm}template$<$class T $>$ {\\bf CSP}$<$ T $>$::{\\bf CSP} (int {\\em n}, \\\/ bool($\\ast$)(std::vector$<$ {\\bf CSPvariable}$<$ T $>$ $>$) {\\em c} = {\\ttfamily \\_\\-\\_\\-default\\_\\-constraint})}}$/;" b
CSP$ $ T $ $ Class Template Reference doc/latex/classCSP.tex /^\\section{CSP$<$ T $>$ Class Template Reference}$/;" s
CSP::CSP csp++.cpp /^CSP<T>::CSP ( int n, T default_value, bool set_value, bool (*c)(std::vector< CSPvariable<T> >) )$/;" f class:CSP signature:( int n, T default_value, bool set_value, bool (*c)(std::vector< CSPvariable<T> >) )
CSP::CSP csp++.cpp /^CSP<T>::CSP (int n, bool (*c)(vector< CSPvariable<T> >))$/;" f class:CSP signature:(int n, bool (*c)(vector< CSPvariable<T> >))
CSP::CSP csp++.h /^ CSP ( int n, T default_value, bool set_variables = false, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint );$/;" p class:CSP access:public signature:( int n, T default_value, bool set_variables = false, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint )
CSP::CSP csp++.h /^ CSP ( int n, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint );$/;" p class:CSP access:public signature:( int n, bool (*c)(std::vector< CSPvariable<T> >) = __default_constraint )
CSP::__default_constraint csp++.h /^ static bool __default_constraint ( std::vector< CSPvariable<T> > v ) { return true; }$/;" f class:CSP access:private signature:( std::vector< CSPvariable<T> > v )
CSP::__default_domains csp++.h /^ std::vector< std::vector<T> > __default_domains;$/;" m class:CSP access:private
CSP::__default_value csp++.h /^ T __default_value;$/;" m class:CSP access:private
CSP::__has_default_value csp++.h /^ bool __has_default_value;$/;" m class:CSP access:private
CSP::__init csp++.cpp /^CSP<T>::__init (int n, bool (*c)(vector< CSPvariable<T> >))$/;" f class:CSP signature:(int n, bool (*c)(vector< CSPvariable<T> >))
CSP::__init csp++.h /^ void __init ( int n, bool (*c)(std::vector< CSPvariable<T> >) );$/;" p class:CSP access:private signature:( int n, bool (*c)(std::vector< CSPvariable<T> >) )
CSP::setDomain csp++.h /^ void setDomain ( size_t index, T domain[], int size );$/;" p class:CSP access:public signature:( size_t index, T domain[], int size )
__default_constraint csp++.h /^ static bool __default_constraint ( std::vector< CSPvariable<T> > v ) { return true; }$/;" f class:CSP access:private signature:( std::vector< CSPvariable<T> > v )
__default_domains csp++.h /^ std::vector< std::vector<T> > __default_domains;$/;" m class:CSP access:private
__default_value csp++.h /^ T __default_value;$/;" m class:CSP access:private
__has_default_value csp++.h /^ bool __has_default_value;$/;" m class:CSP access:private
__init csp++.cpp /^CSP<T>::__init (int n, bool (*c)(vector< CSPvariable<T> >))$/;" f class:CSP signature:(int n, bool (*c)(vector< CSPvariable<T> >))
__init csp++.h /^ void __init ( int n, bool (*c)(std::vector< CSPvariable<T> >) );$/;" p class:CSP access:private signature:( int n, bool (*c)(std::vector< CSPvariable<T> >) )
_details doc/html/classCSP.html /^<hr\/><a name="_details"><\/a><h2>Detailed Description<\/h2>$/;" a
_details doc/html/classCSPexception.html /^<hr\/><a name="_details"><\/a><h2>Detailed Description<\/h2>$/;" a
l00042 doc/html/csp_09_09_8h_source.html /^<a name="l00042"><\/a>00042 <span class="keywordflow">return<\/span> message;$/;" a
l00043 doc/html/csp_09_09_8h_source.html /^<a name="l00043"><\/a>00043 }$/;" a
l00044 doc/html/csp_09_09_8h_source.html /^<a name="l00044"><\/a>00044 };$/;" a
l00045 doc/html/csp_09_09_8h_source.html /^<a name="l00045"><\/a>00045 $/;" a
l00050 doc/html/csp_09_09_8h_source.html /^<a name="l00050"><\/a>00050 <span class="keyword">template<\/span><<span class="keyword">class<\/span> T>$/;" a
l00051 doc/html/csp_09_09_8h_source.html /^<a name="l00051"><\/a><a class="code" href="classCSP.html">00051<\/a> <span class="keyword">class <\/span><a class="code" href="classCSP.html" title="Main class for managing a CSP.">CSP<\/a> {$/;" a
l00052 doc/html/csp_09_09_8h_source.html /^<a name="l00052"><\/a>00052 <span class="keyword">private<\/span>:$/;" a
l00053 doc/html/csp_09_09_8h_source.html /^<a name="l00053"><\/a>00053 <span class="keyword">template<\/span><<span class="keyword">class<\/span> TT>$/;" a
l00054 doc/html/csp_09_09_8h_source.html /^<a name="l00054"><\/a>00054 <span class="keyword">struct <\/span>arc {$/;" a
l00055 doc/html/csp_09_09_8h_source.html /^<a name="l00055"><\/a>00055 <a class="code" href="structCSPvariable.html">CSPvariable<TT><\/a> var[2];$/;" a
l00056 doc/html/csp_09_09_8h_source.html /^<a name="l00056"><\/a>00056 TT value[2];$/;" a
l00057 doc/html/csp_09_09_8h_source.html /^<a name="l00057"><\/a>00057 };$/;" a
l00058 doc/html/csp_09_09_8h_source.html /^<a name="l00058"><\/a>00058 $/;" a
l00059 doc/html/csp_09_09_8h_source.html /^<a name="l00059"><\/a>00059 std::vector<bool> fixed;$/;" a
l00060 doc/html/csp_09_09_8h_source.html /^<a name="l00060"><\/a>00060 std::vector< CSPvariable<T> > variables;$/;" a
l00097 doc/html/csp_09_09_8h_source.html /^<a name="l00097"><\/a>00097 $/;" a
l00104 doc/html/csp_09_09_8h_source.html /^<a name="l00104"><\/a>00104 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a4017c17aac9d3e96d0e821ebbe09da7b" title="Set the domain for the i-th variable.">setDomain<\/a> ( <span class="keywordtype">size_t<\/span> index, std::vector<T> domain );$/;" a
l00105 doc/html/csp_09_09_8h_source.html /^<a name="l00105"><\/a>00105 $/;" a
l00113 doc/html/csp_09_09_8h_source.html /^<a name="l00113"><\/a>00113 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a4017c17aac9d3e96d0e821ebbe09da7b" title="Set the domain for the i-th variable.">setDomain<\/a> ( <span class="keywordtype">size_t<\/span> index, T domain[], <span class="keywordtype">int<\/span> size );$/;" a
l00114 doc/html/csp_09_09_8h_source.html /^<a name="l00114"><\/a>00114 $/;" a
l00120 doc/html/csp_09_09_8h_source.html /^<a name="l00120"><\/a>00120 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a534a0d9bd10fb544f94196bf3c386657" title="Apply the constraint to the CSP as a boolean function.">setConstraint<\/a> ( <span class="keywordtype">bool<\/span> (*c)(std::vector< <a class="code" href="structCSPvariable.html">CSPvariable<T><\/a> >) );$/;" a
l00121 doc/html/csp_09_09_8h_source.html /^<a name="l00121"><\/a>00121 $/;" a
l00128 doc/html/csp_09_09_8h_source.html /^<a name="l00128"><\/a>00128 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a534a0d9bd10fb544f94196bf3c386657" title="Apply the constraint to the CSP as a boolean function.">setConstraint<\/a> ( std::vector< <span class="keywordtype">bool<\/span>(*)(std::vector< <a class="code" href="structCSPvariable.html">CSPvariable<T><\/a> >) > c );$/;" a
l00129 doc/html/csp_09_09_8h_source.html /^<a name="l00129"><\/a>00129 $/;" a
l00135 doc/html/csp_09_09_8h_source.html /^<a name="l00135"><\/a>00135 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a0231b93bceae257f0e1c35041f8fe63f" title="Drops a constraint from the CSP.">dropConstraint<\/a> ( <span class="keywordtype">size_t<\/span> index );$/;" a
l00136 doc/html/csp_09_09_8h_source.html /^<a name="l00136"><\/a>00136 $/;" a
l00142 doc/html/csp_09_09_8h_source.html /^<a name="l00142"><\/a>00142 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a8dc6aec6ca7e40d198e58b0ec14fee66" title="Append a constraint to the list of the constraint of the CSP.">appendConstraint<\/a> ( <span class="keywordtype">bool<\/span> (*c)(std::vector< <a class="code" href="structCSPvariable.html">CSPvariable<T><\/a> >) );$/;" a
l00143 doc/html/csp_09_09_8h_source.html /^<a name="l00143"><\/a>00143 $/;" a
l00148 doc/html/csp_09_09_8h_source.html /^<a name="l00148"><\/a>00148 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a466845256e638c5e258fd728b641359f" title="Updates the domains of the variables. Any constraint or node fixed value is applied...">refreshDomains<\/a>( <span class="keywordtype">void<\/span> );$/;" a
l00149 doc/html/csp_09_09_8h_source.html /^<a name="l00149"><\/a>00149 $/;" a
l00156 doc/html/csp_09_09_8h_source.html /^<a name="l00156"><\/a>00156 std::vector<T> <a class="code" href="classCSP.html#a2a9a7d8072613f6984795d5495373847" title="Get the domain of the i-th variable.">getDomain<\/a> ( <span class="keywordtype">size_t<\/span> index );$/;" a
l00157 doc/html/csp_09_09_8h_source.html /^<a name="l00157"><\/a>00157 $/;" a
l00163 doc/html/csp_09_09_8h_source.html /^<a name="l00163"><\/a>00163 <span class="keywordtype">size_t<\/span> <a class="code" href="classCSP.html#a91a0e89bc1882d39b88122bee392c5f3" title="Get the number of variables in the current CSP.">getSize<\/a> ( <span class="keywordtype">void<\/span> );$/;" a
l00164 doc/html/csp_09_09_8h_source.html /^<a name="l00164"><\/a>00164 $/;" a
l00171 doc/html/csp_09_09_8h_source.html /^<a name="l00171"><\/a>00171 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#ac25064c5b2d4e1020173b56913251ebd" title="Set the value of a variable as a constraint.">setValue<\/a> ( <span class="keywordtype">size_t<\/span> index, T value );$/;" a
l00172 doc/html/csp_09_09_8h_source.html /^<a name="l00172"><\/a>00172 $/;" a
l00181 doc/html/csp_09_09_8h_source.html /^<a name="l00181"><\/a>00181 <span class="keywordtype">void<\/span> <a class="code" href="classCSP.html#a4c0cae125a610f519dc22eaec255a0ae" title="Marks a variable as not set, and if a default value was assigned in the CSP constructor...">unsetValue<\/a> ( <span class="keywordtype">size_t<\/span> index );$/;" a
l00182 doc/html/csp_09_09_8h_source.html /^<a name="l00182"><\/a>00182 $/;" a
l00188 doc/html/csp_09_09_8h_source.html /^<a name="l00188"><\/a>00188 <span class="keywordtype">bool<\/span> <a class="code" href="classCSP.html#a7ef9eb91c38815c9d82182696a6bd5d3" title="Check if the current CSP, with the applied constraints, is satisfiable.">isSatisfiable<\/a> ( <span class="keywordtype">void<\/span> );$/;" a
l00189 doc/html/csp_09_09_8h_source.html /^<a name="l00189"><\/a>00189 $/;" a
l00190 doc/html/csp_09_09_8h_source.html /^<a name="l00190"><\/a>00190 $/;" a
l00198 doc/html/csp_09_09_8h_source.html /^<a name="l00198"><\/a>00198 <span class="keywordtype">bool<\/span> <a class="code" href="classCSP.html#ae96286c6c7dfb6fe077544e0d4af15f4" title="Check if the CSP, with the given variables, domains and constraints, admits a unique...">hasUniqueSolution<\/a> ( <span class="keywordtype">void<\/span> );$/;" a
l00199 doc/html/csp_09_09_8h_source.html /^<a name="l00199"><\/a>00199 };$/;" a
l00200 doc/html/csp_09_09_8h_source.html /^<a name="l00200"><\/a>00200 $/;" a
latex_count doc/latex/Makefile /^ latex_count=5 ; \\$/;" m
letter_C doc/html/classes.html /^<tr><td><a name="letter_C"><\/a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C <\/div><\/td><\/tr><\/table>$/;" a
main fourcolours.cpp /^main ( int argc, char *argv[] )$/;" f signature:( int argc, char *argv[] )
setDomain csp++.h /^ void setDomain ( size_t index, T domain[], int size );$/;" p class:CSP access:public signature:( size_t index, T domain[], int size )