diff --git a/doc/html/annotated.html b/doc/html/annotated.html deleted file mode 100644 index 932c8ae..0000000 --- a/doc/html/annotated.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - -libCSP++: Class List - - - - - - - - - -
-

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - -
CSP< T >Main class for managing a CSP
CSPexceptionClass for managing exception in CSP
CSPvariable< T >
-
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/classCSP-members.html b/doc/html/classCSP-members.html deleted file mode 100644 index a49bd7d..0000000 --- a/doc/html/classCSP-members.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - -libCSP++: Member List - - - - - - - - - -
-

CSP< T > Member List

This is the complete list of members for CSP< T >, including all inherited members. - - - - - - - - - - - - - - - -
appendConstraint(bool(*c)(std::vector< CSPvariable< T > >))CSP< T >
CSP(int n, bool(*c)(std::vector< CSPvariable< T > >)=__default_constraint)CSP< T >
CSP(int n, T default_value, bool set_variables=false, bool(*c)(std::vector< CSPvariable< T > >)=__default_constraint)CSP< T > [inline]
dropConstraint(size_t index)CSP< T > [inline]
getDomain(size_t index)CSP< T > [inline]
getSize(void)CSP< T > [inline]
hasUniqueSolution(void)CSP< T > [inline]
isSatisfiable(void)CSP< T > [inline]
refreshDomains(void)CSP< T > [inline]
setConstraint(bool(*c)(std::vector< CSPvariable< T > >))CSP< T >
setConstraint(std::vector< bool(*)(std::vector< CSPvariable< T > >) > c)CSP< T > [inline]
setDomain(size_t index, std::vector< T > domain)CSP< T >
setDomain(size_t index, T domain[], int size)CSP< T > [inline]
setValue(size_t index, T value)CSP< T > [inline]
unsetValue(size_t index)CSP< T > [inline]
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/classCSP.html b/doc/html/classCSP.html deleted file mode 100644 index 732108f..0000000 --- a/doc/html/classCSP.html +++ /dev/null @@ -1,602 +0,0 @@ - - - - - -libCSP++: CSP< T > Class Template Reference - - - - - - - - - -
-

CSP< T > Class Template Reference

-

Main class for managing a CSP. -More...

- -

#include <csp++.h>

- -

List of all members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Classes

struct  arc

Public Member Functions

 CSP (int n, bool(*c)(std::vector< CSPvariable< T > >)=__default_constraint)
 Class constructor.
 CSP (int n, T default_value, bool set_variables=false, bool(*c)(std::vector< CSPvariable< T > >)=__default_constraint)
 Class constructor.
void setDomain (size_t index, std::vector< T > domain)
 Set the domain for the i-th variable.
void setDomain (size_t index, T domain[], int size)
 Set the domain for the i-th variable.
void setConstraint (bool(*c)(std::vector< CSPvariable< T > >))
 Apply the constraint to the CSP as a boolean function.
void setConstraint (std::vector< bool(*)(std::vector< CSPvariable< T > >) > c)
 Apply the constraints to the CSP as vector of boolean functions.
void dropConstraint (size_t index)
 Drops a constraint from the CSP.
void appendConstraint (bool(*c)(std::vector< CSPvariable< T > >))
 Append a constraint to the list of the constraint of the CSP.
void refreshDomains (void)
 Updates the domains of the variables. Any constraint or node fixed value is applied.
std::vector< T > getDomain (size_t index)
 Get the domain of the i-th variable.
size_t getSize (void)
 Get the number of variables in the current CSP.
void setValue (size_t index, T value)
 Set the value of a variable as a constraint.
void unsetValue (size_t index)
 Marks a variable as not set, and if a default value was assigned in the CSP constructor, this value will be set. By default, unless specified in the constructor, all the variables are considered as not set.
bool isSatisfiable (void)
 Check if the current CSP, with the applied constraints, is satisfiable.
bool hasUniqueSolution (void)
 Check if the CSP, with the given variables, domains and constraints, admits a unique solution, i.e. each domain of each variable contains an only element.
-

Detailed Description

-

template<class T>
- class CSP< T >

- -

Main class for managing a CSP.

-

Constructor & Destructor Documentation

- -
-
-
-template<class T >
- - - - - - - - - - - - - - - - - - -
CSP< T >::CSP (int  n,
bool(*)(std::vector< CSPvariable< T > >)  c = __default_constraint 
)
-
-
- -

Class constructor.

-
Parameters:
- - - -
n Number of variables in the CSP
c Boolean function representing the constraint of the CSP If no constraint function is set in the constructor or using the applyConstraint() method, a default function always returning true will be used, that allows any domain for any variable to be valid (no constraint)
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CSP< T >::CSP (int  n,
default_value,
bool  set_variables = false,
bool(*)(std::vector< CSPvariable< T > >)  c = __default_constraint 
) [inline]
-
-
- -

Class constructor.

-
Parameters:
- - - - - -
n Number of variables in the CSP
default_value Default value for the variables in the CSP when initialized
set_variables Decide whether mark the variables set with default_value as "set" or "not set" (default: not set)
c Boolean function representing the constraint of the CSP If no constraint function is set in the constructor or using the applyConstraint() method, a default function always returning true will be used, that allows any domain for any variable to be valid (no constraint)
-
-
- -
-
-

Member Function Documentation

- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::appendConstraint (bool(*)(std::vector< CSPvariable< T > >)  c ) 
-
-
- -

Append a constraint to the list of the constraint of the CSP.

-

METHOD: appendConstraint

-
Parameters:
- - -
c A function pointer returning a boolean value representing the new constraint
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::dropConstraint (size_t  index )  [inline]
-
-
- -

Drops a constraint from the CSP.

-

METHOD: dropConstraint

-
Parameters:
- - -
index Index of the constraint to be dropped
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
std::vector< T > CSP< T >::getDomain (size_t  index )  [inline]
-
-
- -

Get the domain of the i-th variable.

-

METHOD: getDomain

-
Parameters:
- - -
index Variable for which we're going to get the domain
-
-
-
Returns:
The domain of the i-th variable as a vector of T
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
size_t CSP< T >::getSize (void  )  [inline]
-
-
- -

Get the number of variables in the current CSP.

-

METHOD: getSize

-
Returns:
Size of the CSP
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
bool CSP< T >::hasUniqueSolution (void  )  [inline]
-
-
- -

Check if the CSP, with the given variables, domains and constraints, admits a unique solution, i.e. each domain of each variable contains an only element.

-

FUNCTION: hasUniqueSolution

-
Returns:
true if the CSP has an only possible solution, false otherwise
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
bool CSP< T >::isSatisfiable (void  )  [inline]
-
-
- -

Check if the current CSP, with the applied constraints, is satisfiable.

-

METHOD: isSatisfiable

-
Returns:
true if the CSP has at least a possible solution, false otherwise
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::refreshDomains (void  )  [inline]
-
-
- -

Updates the domains of the variables. Any constraint or node fixed value is applied.

-

METHOD: refreshDomains

- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::setConstraint (std::vector< bool(*)(std::vector< CSPvariable< T > >) >  c )  [inline]
-
-
- -

Apply the constraints to the CSP as vector of boolean functions.

-

METHOD: setConstraint

-
Parameters:
- - -
c Vector containing pointers to boolean functions representing the constraints of the CSP
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::setConstraint (bool(*)(std::vector< CSPvariable< T > >)  c ) 
-
-
- -

Apply the constraint to the CSP as a boolean function.

-

METHOD: setConstraint

-
Parameters:
- - -
c Boolean function representing the constraint of the CSP
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - - - - - - - - - - - - - - - - -
void CSP< T >::setDomain (size_t  index,
domain[],
int  size 
) [inline]
-
-
- -

Set the domain for the i-th variable.

-

METHOD: setDomain

-
Parameters:
- - - - -
index Variable for which we're setting the domain
domain Array containing the possible values for that variable
size Size of "domain" array
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - - - - - - - - - - -
void CSP< T >::setDomain (size_t  index,
std::vector< T >  domain 
)
-
-
- -

Set the domain for the i-th variable.

-

METHOD: setDomain

-
Parameters:
- - - -
index Variable for which we're setting the domain
domain Vector containing the possible values for that variable
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - - - - - - - - - - -
void CSP< T >::setValue (size_t  index,
value 
) [inline]
-
-
- -

Set the value of a variable as a constraint.

-

METHOD: setValue

-
Parameters:
- - - -
index Index of the parameter to be set
value Value to be set
-
-
- -
-
- -
-
-
-template<class T >
- - - - - - - - - -
void CSP< T >::unsetValue (size_t  index )  [inline]
-
-
- -

Marks a variable as not set, and if a default value was assigned in the CSP constructor, this value will be set. By default, unless specified in the constructor, all the variables are considered as not set.

-

METHOD: unsetValue

-
Parameters:
- - -
index Index of the variable to be unset
-
-
- -
-
-
The documentation for this class was generated from the following files: -
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/classCSPexception-members.html b/doc/html/classCSPexception-members.html deleted file mode 100644 index 7f3461b..0000000 --- a/doc/html/classCSPexception-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -libCSP++: Member List - - - - - - - - - -
-

CSPexception Member List

This is the complete list of members for CSPexception, including all inherited members. - - -
CSPexception(const char *m) (defined in CSPexception)CSPexception [inline]
what() (defined in CSPexception)CSPexception [inline, virtual]
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/classCSPexception.html b/doc/html/classCSPexception.html deleted file mode 100644 index cf0c433..0000000 --- a/doc/html/classCSPexception.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - -libCSP++: CSPexception Class Reference - - - - - - - - - -
-

CSPexception Class Reference

-

Class for managing exception in CSP. -More...

- -

#include <csp++.h>

- -

List of all members.

- - - - -

Public Member Functions

CSPexception (const char *m)
-virtual const char * what ()
-

Detailed Description

-

Class for managing exception in CSP.

-
The documentation for this class was generated from the following file: -
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/classes.html b/doc/html/classes.html deleted file mode 100644 index 9b557de..0000000 --- a/doc/html/classes.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - -libCSP++: Alphabetical List - - - - - - - - - -
-

Class Index

C
- -
  C  
-
CSP   CSPexception   CSPvariable   
C
-
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/csp_09_09_8h_source.html b/doc/html/csp_09_09_8h_source.html deleted file mode 100644 index 168cb19..0000000 --- a/doc/html/csp_09_09_8h_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -libCSP++: csp++.h Source File - - - - - - - - - - -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css deleted file mode 100644 index d6aaf28..0000000 --- a/doc/html/doxygen.css +++ /dev/null @@ -1,545 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - text-align: center; - font-size: 150%; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #153788; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #1b77c5; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #3030f0; -} - -a.codeRef { - color: #3030f0; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} - -td.indexkey { - background-color: #e8eef2; - font-weight: bold; - border: 1px solid #CCCCCC; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #e8eef2; - border: 1px solid #CCCCCC; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #f0f0f0; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; -} - -th.dirtab { - background: #e8eef2; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #666; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #FAFAFA; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #ccc; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memTemplParams { - color: #606060; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; - margin-left: 3px; -} - -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.memitem { - padding: 0; - margin-bottom: 10px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto { - border-top: 1px solid #84b0c7; - border-left: 1px solid #84b0c7; - border-right: 1px solid #84b0c7; - padding: 0; - background-color: #d5e1e8; - font-weight: bold; - /* firefox specific markup */ - background-image: -moz-linear-gradient(rgba(228, 233, 245, 1.0) 0%, rgba(193, 205, 232, 1.0) 100%); - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(228, 233, 245, 1.0)), to(rgba(193, 205, 232, 1.0))); - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - -} - -.memdoc { - border-bottom: 1px solid #84b0c7; - border-left: 1px solid #84b0c7; - border-right: 1px solid #84b0c7; - padding: 2px 5px; - background-color: #eef3f5; - border-top-width: 0; - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0.5em; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -address { - font-style: normal; - color: #333; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #153788; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #254798; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - diff --git a/doc/html/doxygen.png b/doc/html/doxygen.png deleted file mode 100644 index f0a274b..0000000 Binary files a/doc/html/doxygen.png and /dev/null differ diff --git a/doc/html/files.html b/doc/html/files.html deleted file mode 100644 index ac4be41..0000000 --- a/doc/html/files.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - -libCSP++: File Index - - - - - - - - - -
-

File List

Here is a list of all documented files with brief descriptions: - -
csp++.h [code]
-
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/functions.html b/doc/html/functions.html deleted file mode 100644 index 44ebf5e..0000000 --- a/doc/html/functions.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - -libCSP++: Class Members - - - - - - - - - -
-Here is a list of all documented class members with links to the class documentation for each member: -
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/functions_func.html b/doc/html/functions_func.html deleted file mode 100644 index 4c241b2..0000000 --- a/doc/html/functions_func.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - -libCSP++: Class Members - Functions - - - - - - - - - -
-
- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/index.html b/doc/html/index.html deleted file mode 100644 index 5b0bb9f..0000000 --- a/doc/html/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - -libCSP++: Main Page - - - - - - - - - -
-

libCSP++ Documentation

0.1

- -
- All Classes Functions
- - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/installdox b/doc/html/installdox deleted file mode 100755 index 9b89fe0..0000000 --- a/doc/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -if (open(F,"search.cfg")) -{ - $_= ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_; - $_= ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_; -} - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ "tree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/doc/html/search/all_61.html b/doc/html/search/all_61.html deleted file mode 100644 index e34f037..0000000 --- a/doc/html/search/all_61.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- appendConstraint - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_63.html b/doc/html/search/all_63.html deleted file mode 100644 index 87278e7..0000000 --- a/doc/html/search/all_63.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -
-
Loading...
- -
- -
-
- -
- -
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_64.html b/doc/html/search/all_64.html deleted file mode 100644 index c828e4f..0000000 --- a/doc/html/search/all_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- dropConstraint - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_67.html b/doc/html/search/all_67.html deleted file mode 100644 index 9c7e805..0000000 --- a/doc/html/search/all_67.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- getDomain - CSP -
-
-
-
- getSize - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_68.html b/doc/html/search/all_68.html deleted file mode 100644 index 0c31813..0000000 --- a/doc/html/search/all_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- hasUniqueSolution - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_69.html b/doc/html/search/all_69.html deleted file mode 100644 index 5b5d525..0000000 --- a/doc/html/search/all_69.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- isSatisfiable - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_72.html b/doc/html/search/all_72.html deleted file mode 100644 index 9d17979..0000000 --- a/doc/html/search/all_72.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- refreshDomains - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_73.html b/doc/html/search/all_73.html deleted file mode 100644 index feac672..0000000 --- a/doc/html/search/all_73.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
- - -
-
- setValue - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/all_75.html b/doc/html/search/all_75.html deleted file mode 100644 index 5d4bbee..0000000 --- a/doc/html/search/all_75.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- unsetValue - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/classes_63.html b/doc/html/search/classes_63.html deleted file mode 100644 index c855f69..0000000 --- a/doc/html/search/classes_63.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- CSP -
-
-
- -
-
- -
- -
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/close.png b/doc/html/search/close.png deleted file mode 100644 index 9342d3d..0000000 Binary files a/doc/html/search/close.png and /dev/null differ diff --git a/doc/html/search/functions_61.html b/doc/html/search/functions_61.html deleted file mode 100644 index e34f037..0000000 --- a/doc/html/search/functions_61.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- appendConstraint - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_63.html b/doc/html/search/functions_63.html deleted file mode 100644 index 9f729cf..0000000 --- a/doc/html/search/functions_63.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_64.html b/doc/html/search/functions_64.html deleted file mode 100644 index c828e4f..0000000 --- a/doc/html/search/functions_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- dropConstraint - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_67.html b/doc/html/search/functions_67.html deleted file mode 100644 index 9c7e805..0000000 --- a/doc/html/search/functions_67.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- getDomain - CSP -
-
-
-
- getSize - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_68.html b/doc/html/search/functions_68.html deleted file mode 100644 index 0c31813..0000000 --- a/doc/html/search/functions_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- hasUniqueSolution - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_69.html b/doc/html/search/functions_69.html deleted file mode 100644 index 5b5d525..0000000 --- a/doc/html/search/functions_69.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- isSatisfiable - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_72.html b/doc/html/search/functions_72.html deleted file mode 100644 index 9d17979..0000000 --- a/doc/html/search/functions_72.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- refreshDomains - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_73.html b/doc/html/search/functions_73.html deleted file mode 100644 index feac672..0000000 --- a/doc/html/search/functions_73.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
- - -
-
- setValue - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/functions_75.html b/doc/html/search/functions_75.html deleted file mode 100644 index 5d4bbee..0000000 --- a/doc/html/search/functions_75.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- unsetValue - CSP -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doc/html/search/nomatches.html b/doc/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/doc/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/doc/html/search/search.css b/doc/html/search/search.css deleted file mode 100644 index 63b7f96..0000000 --- a/doc/html/search/search.css +++ /dev/null @@ -1,200 +0,0 @@ -/*---------------- Search Box */ -#FSearchBox { - float: left; -} -#MSearchBox { - padding: 0px; - margin: 0px; - border: none; - border: 1px solid #84B0C7; - white-space: nowrap; - -moz-border-radius: 8px; - -webkit-border-top-left-radius: 8px; - -webkit-border-top-right-radius: 8px; - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; -} -#MSearchField { - font: 9pt Arial, Verdana, sans-serif; - color: #999999; - background-color: #FFFFFF; - font-style: normal; - cursor: text; - padding: 1px 1px; - margin: 0px 6px 0px 0px; - border: none; - outline: none; - vertical-align: middle; -} -.MSearchBoxActive #MSearchField { - color: #000000; -} -#MSearchSelect { - float : none; - display : inline; - background : none; - font: 9pt Verdana, sans-serif; - border: none; - margin: 0px 0px 0px 6px; - vertical-align: middle; - padding: 0px 0px; -} - -#MSearchClose { - float : none; - display : none; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -#MSearchCloseImg { - vertical-align: middle; -} - -.MSearchBoxLeft { - display: block; - text-align: left; - float: left; - margin-left: 6px; -} -.MSearchBoxRight { - display: block; - float: right; - text-align: right; - margin-right: 6px; -} -.MSearchBoxSpacer { - font-size: 0px; - clear: both; -} -.MSearchBoxRow { - font-size: 0px; - clear: both; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #A0A0A0; - background-color: #FAFAFA; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - } -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} -a.SelectItem:hover { - color: #FFFFFF; - background-color: #2A50E4; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; - } -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000000; - background-color: #EEF3F5; - } - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} -.SRPage .SRChildren { - display: none; -} -.SRSymbol { - font-weight: bold; color: #153788; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #153788; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - diff --git a/doc/html/search/search.js b/doc/html/search/search.js deleted file mode 100644 index 6feb43f..0000000 --- a/doc/html/search/search.js +++ /dev/null @@ -1,730 +0,0 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101100111000000001101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101100111000000001101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "functions" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var hexCode; - if (code<16) - { - hexCode="0"+code.toString(16); - } - else - { - hexCode=code.toString(16); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') - { - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location.href = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} diff --git a/doc/html/search/search.png b/doc/html/search/search.png deleted file mode 100644 index 9dd2396..0000000 Binary files a/doc/html/search/search.png and /dev/null differ diff --git a/doc/html/structCSPvariable-members.html b/doc/html/structCSPvariable-members.html deleted file mode 100644 index b42ca54..0000000 --- a/doc/html/structCSPvariable-members.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - -libCSP++: Member List - - - - - - - - - -
-

CSPvariable< T > Member List

This is the complete list of members for CSPvariable< T >, including all inherited members. - - - -
domain (defined in CSPvariable< T >)CSPvariable< T >
index (defined in CSPvariable< T >)CSPvariable< T >
value (defined in CSPvariable< T >)CSPvariable< T >
- - - - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/structCSPvariable.html b/doc/html/structCSPvariable.html deleted file mode 100644 index 1d6cfd3..0000000 --- a/doc/html/structCSPvariable.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -libCSP++: CSPvariable< T > Struct Template Reference - - - - - - - - - -
-

CSPvariable< T > Struct Template Reference

-

List of all members.

- - - - - -

Public Attributes

-int index
-T value
-std::vector< T > domain
-

template<class T>
- struct CSPvariable< T >

- -
The documentation for this struct was generated from the following file: -
- - - - -
- -
- -
Generated on Tue May 18 19:03:23 2010 for libCSP++ by  - -doxygen 1.6.3
- - diff --git a/doc/html/tab_b.gif b/doc/html/tab_b.gif deleted file mode 100644 index 0d62348..0000000 Binary files a/doc/html/tab_b.gif and /dev/null differ diff --git a/doc/html/tab_l.gif b/doc/html/tab_l.gif deleted file mode 100644 index 9b1e633..0000000 Binary files a/doc/html/tab_l.gif and /dev/null differ diff --git a/doc/html/tab_r.gif b/doc/html/tab_r.gif deleted file mode 100644 index ce9dd9f..0000000 Binary files a/doc/html/tab_r.gif and /dev/null differ diff --git a/doc/html/tabs.css b/doc/html/tabs.css deleted file mode 100644 index a444163..0000000 --- a/doc/html/tabs.css +++ /dev/null @@ -1,105 +0,0 @@ -/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ - -DIV.tabs -{ - float : left; - width : 100%; - background : url("tab_b.gif") repeat-x bottom; - margin-bottom : 4px; -} - -DIV.tabs UL -{ - margin : 0px; - padding-left : 10px; - list-style : none; -} - -DIV.tabs LI, DIV.tabs FORM -{ - display : inline; - margin : 0px; - padding : 0px; -} - -DIV.tabs FORM -{ - float : right; -} - -DIV.tabs A -{ - float : left; - background : url("tab_r.gif") no-repeat right top; - border-bottom : 1px solid #84B0C7; - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - -DIV.tabs A:hover -{ - background-position: 100% -150px; -} - -DIV.tabs A:link, DIV.tabs A:visited, -DIV.tabs A:active, DIV.tabs A:hover -{ - color: #1A419D; -} - -DIV.tabs SPAN -{ - float : left; - display : block; - background : url("tab_l.gif") no-repeat left top; - padding : 5px 9px; - white-space : nowrap; -} - -DIV.tabs #MSearchBox -{ - float : right; - display : inline; - font-size : 1em; -} - -DIV.tabs TD -{ - font-size : 80%; - font-weight : bold; - text-decoration : none; -} - - - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -DIV.tabs SPAN {float : none;} -/* End IE5-Mac hack */ - -DIV.tabs A:hover SPAN -{ - background-position: 0% -150px; -} - -DIV.tabs LI.current A -{ - background-position: 100% -150px; - border-width : 0px; -} - -DIV.tabs LI.current SPAN -{ - background-position: 0% -150px; - padding-bottom : 6px; -} - -DIV.navpath -{ - background : none; - border : none; - border-bottom : 1px solid #84B0C7; - text-align : center; - margin : 2px; - padding : 2px; -} diff --git a/doc/latex/Makefile b/doc/latex/Makefile deleted file mode 100644 index 8b7c89a..0000000 --- a/doc/latex/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -all: clean refman.pdf - -pdf: refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex refman.tex - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/doc/latex/annotated.tex b/doc/latex/annotated.tex deleted file mode 100644 index 8cca834..0000000 --- a/doc/latex/annotated.tex +++ /dev/null @@ -1,6 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{classCSP}{CSP$<$ T $>$} (Main class for managing a \hyperlink{classCSP}{CSP} )}{\pageref{classCSP}}{} -\item\contentsline{section}{\hyperlink{classCSPexception}{CSPexception} (Class for managing exception in \hyperlink{classCSP}{CSP} )}{\pageref{classCSPexception}}{} -\item\contentsline{section}{\hyperlink{structCSPvariable}{CSPvariable$<$ T $>$} }{\pageref{structCSPvariable}}{} -\end{DoxyCompactList} diff --git a/doc/latex/classCSP.tex b/doc/latex/classCSP.tex deleted file mode 100644 index 3c2c6f7..0000000 --- a/doc/latex/classCSP.tex +++ /dev/null @@ -1,248 +0,0 @@ -\hypertarget{classCSP}{ -\section{CSP$<$ T $>$ Class Template Reference} -\label{classCSP}\index{CSP@{CSP}} -} - - -Main class for managing a \hyperlink{classCSP}{CSP}. - - - - -{\ttfamily \#include $<$csp++.h$>$} - -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct {\bfseries arc} -\end{DoxyCompactItemize} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{classCSP_ad49548121582cc2d59e0d7f100092b75}{CSP} (int n, bool($\ast$c)(std::vector$<$ \hyperlink{structCSPvariable}{CSPvariable}$<$ T $>$ $>$)=\_\-\_\-default\_\-constraint) -\begin{DoxyCompactList}\small\item\em Class constructor. \item\end{DoxyCompactList}\item -\hyperlink{classCSP_a734bb08d8f45394a2acfc8822981a6d0}{CSP} (int n, T default\_\-value, bool set\_\-variables=false, bool($\ast$c)(std::vector$<$ \hyperlink{structCSPvariable}{CSPvariable}$<$ T $>$ $>$)=\_\-\_\-default\_\-constraint) -\begin{DoxyCompactList}\small\item\em Class constructor. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a4017c17aac9d3e96d0e821ebbe09da7b}{setDomain} (size\_\-t index, std::vector$<$ T $>$ domain) -\begin{DoxyCompactList}\small\item\em Set the domain for the i-\/th variable. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a65518e67e33e31bff1b5f9aabdf80a01}{setDomain} (size\_\-t index, T domain\mbox{[}$\,$\mbox{]}, int size) -\begin{DoxyCompactList}\small\item\em Set the domain for the i-\/th variable. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a534a0d9bd10fb544f94196bf3c386657}{setConstraint} (bool($\ast$c)(std::vector$<$ \hyperlink{structCSPvariable}{CSPvariable}$<$ T $>$ $>$)) -\begin{DoxyCompactList}\small\item\em Apply the constraint to the \hyperlink{classCSP}{CSP} as a boolean function. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a457e1df05d4ec16be00118bda22fd882}{setConstraint} (std::vector$<$ bool($\ast$)(std::vector$<$ \hyperlink{structCSPvariable}{CSPvariable}$<$ T $>$ $>$) $>$ c) -\begin{DoxyCompactList}\small\item\em Apply the constraints to the \hyperlink{classCSP}{CSP} as vector of boolean functions. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a0231b93bceae257f0e1c35041f8fe63f}{dropConstraint} (size\_\-t index) -\begin{DoxyCompactList}\small\item\em Drops a constraint from the \hyperlink{classCSP}{CSP}. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a8dc6aec6ca7e40d198e58b0ec14fee66}{appendConstraint} (bool($\ast$c)(std::vector$<$ \hyperlink{structCSPvariable}{CSPvariable}$<$ T $>$ $>$)) -\begin{DoxyCompactList}\small\item\em Append a constraint to the list of the constraint of the \hyperlink{classCSP}{CSP}. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a466845256e638c5e258fd728b641359f}{refreshDomains} (void) -\begin{DoxyCompactList}\small\item\em Updates the domains of the variables. Any constraint or node fixed value is applied. \item\end{DoxyCompactList}\item -std::vector$<$ T $>$ \hyperlink{classCSP_a2a9a7d8072613f6984795d5495373847}{getDomain} (size\_\-t index) -\begin{DoxyCompactList}\small\item\em Get the domain of the i-\/th variable. \item\end{DoxyCompactList}\item -size\_\-t \hyperlink{classCSP_a91a0e89bc1882d39b88122bee392c5f3}{getSize} (void) -\begin{DoxyCompactList}\small\item\em Get the number of variables in the current \hyperlink{classCSP}{CSP}. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_ac25064c5b2d4e1020173b56913251ebd}{setValue} (size\_\-t index, T value) -\begin{DoxyCompactList}\small\item\em Set the value of a variable as a constraint. \item\end{DoxyCompactList}\item -void \hyperlink{classCSP_a4c0cae125a610f519dc22eaec255a0ae}{unsetValue} (size\_\-t index) -\begin{DoxyCompactList}\small\item\em Marks a variable as not set, and if a default value was assigned in the \hyperlink{classCSP}{CSP} constructor, this value will be set. By default, unless specified in the constructor, all the variables are considered as not set. \item\end{DoxyCompactList}\item -bool \hyperlink{classCSP_a7ef9eb91c38815c9d82182696a6bd5d3}{isSatisfiable} (void) -\begin{DoxyCompactList}\small\item\em Check if the current \hyperlink{classCSP}{CSP}, with the applied constraints, is satisfiable. \item\end{DoxyCompactList}\item -bool \hyperlink{classCSP_ae96286c6c7dfb6fe077544e0d4af15f4}{hasUniqueSolution} (void) -\begin{DoxyCompactList}\small\item\em Check if the \hyperlink{classCSP}{CSP}, with the given variables, domains and constraints, admits a unique solution, i.e. each domain of each variable contains an only element. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class T$>$ class CSP$<$ T $>$} - -Main class for managing a \hyperlink{classCSP}{CSP}. - -\subsection{Constructor \& Destructor Documentation} -\hypertarget{classCSP_ad49548121582cc2d59e0d7f100092b75}{ -\index{CSP@{CSP}!CSP@{CSP}} -\index{CSP@{CSP}!CSP@{CSP}} -\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})}} -\label{classCSP_ad49548121582cc2d59e0d7f100092b75} - - -Class constructor. - - -\begin{DoxyParams}{Parameters} -\item[{\em n}]Number of variables in the \hyperlink{classCSP}{CSP} \item[{\em c}]Boolean function representing the constraint of the \hyperlink{classCSP}{CSP} If no constraint function is set in the constructor or using the applyConstraint() method, a default function always returning true will be used, that allows any domain for any variable to be valid (no constraint) \end{DoxyParams} -\hypertarget{classCSP_a734bb08d8f45394a2acfc8822981a6d0}{ -\index{CSP@{CSP}!CSP@{CSP}} -\index{CSP@{CSP}!CSP@{CSP}} -\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{]}}}} -\label{classCSP_a734bb08d8f45394a2acfc8822981a6d0} - - -Class constructor. - - -\begin{DoxyParams}{Parameters} -\item[{\em n}]Number of variables in the \hyperlink{classCSP}{CSP} \item[{\em default\_\-value}]Default value for the variables in the \hyperlink{classCSP}{CSP} when initialized \item[{\em set\_\-variables}]Decide whether mark the variables set with default\_\-value as \char`\"{}set\char`\"{} or \char`\"{}not set\char`\"{} (default: not set) \item[{\em c}]Boolean function representing the constraint of the \hyperlink{classCSP}{CSP} If no constraint function is set in the constructor or using the applyConstraint() method, a default function always returning true will be used, that allows any domain for any variable to be valid (no constraint) \end{DoxyParams} - - -\subsection{Member Function Documentation} -\hypertarget{classCSP_a8dc6aec6ca7e40d198e58b0ec14fee66}{ -\index{CSP@{CSP}!appendConstraint@{appendConstraint}} -\index{appendConstraint@{appendConstraint}!CSP@{CSP}} -\subsubsection[{appendConstraint}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::appendConstraint (bool($\ast$)(std::vector$<$ {\bf CSPvariable}$<$ T $>$ $>$) {\em c})}} -\label{classCSP_a8dc6aec6ca7e40d198e58b0ec14fee66} - - -Append a constraint to the list of the constraint of the \hyperlink{classCSP}{CSP}. - -METHOD: appendConstraint -\begin{DoxyParams}{Parameters} -\item[{\em c}]A function pointer returning a boolean value representing the new constraint \end{DoxyParams} -\hypertarget{classCSP_a0231b93bceae257f0e1c35041f8fe63f}{ -\index{CSP@{CSP}!dropConstraint@{dropConstraint}} -\index{dropConstraint@{dropConstraint}!CSP@{CSP}} -\subsubsection[{dropConstraint}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::dropConstraint (size\_\-t {\em index})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a0231b93bceae257f0e1c35041f8fe63f} - - -Drops a constraint from the \hyperlink{classCSP}{CSP}. - -METHOD: dropConstraint -\begin{DoxyParams}{Parameters} -\item[{\em index}]Index of the constraint to be dropped \end{DoxyParams} -\hypertarget{classCSP_a2a9a7d8072613f6984795d5495373847}{ -\index{CSP@{CSP}!getDomain@{getDomain}} -\index{getDomain@{getDomain}!CSP@{CSP}} -\subsubsection[{getDomain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ std::vector$<$ T $>$ {\bf CSP}$<$ T $>$::getDomain (size\_\-t {\em index})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a2a9a7d8072613f6984795d5495373847} - - -Get the domain of the i-\/th variable. - -METHOD: getDomain -\begin{DoxyParams}{Parameters} -\item[{\em index}]Variable for which we're going to get the domain \end{DoxyParams} -\begin{DoxyReturn}{Returns} -The domain of the i-\/th variable as a vector of T -\end{DoxyReturn} -\hypertarget{classCSP_a91a0e89bc1882d39b88122bee392c5f3}{ -\index{CSP@{CSP}!getSize@{getSize}} -\index{getSize@{getSize}!CSP@{CSP}} -\subsubsection[{getSize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ size\_\-t {\bf CSP}$<$ T $>$::getSize (void)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a91a0e89bc1882d39b88122bee392c5f3} - - -Get the number of variables in the current \hyperlink{classCSP}{CSP}. - -METHOD: getSize \begin{DoxyReturn}{Returns} -Size of the \hyperlink{classCSP}{CSP} -\end{DoxyReturn} -\hypertarget{classCSP_ae96286c6c7dfb6fe077544e0d4af15f4}{ -\index{CSP@{CSP}!hasUniqueSolution@{hasUniqueSolution}} -\index{hasUniqueSolution@{hasUniqueSolution}!CSP@{CSP}} -\subsubsection[{hasUniqueSolution}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf CSP}$<$ T $>$::hasUniqueSolution (void)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_ae96286c6c7dfb6fe077544e0d4af15f4} - - -Check if the \hyperlink{classCSP}{CSP}, with the given variables, domains and constraints, admits a unique solution, i.e. each domain of each variable contains an only element. - -FUNCTION: hasUniqueSolution \begin{DoxyReturn}{Returns} -true if the \hyperlink{classCSP}{CSP} has an only possible solution, false otherwise -\end{DoxyReturn} -\hypertarget{classCSP_a7ef9eb91c38815c9d82182696a6bd5d3}{ -\index{CSP@{CSP}!isSatisfiable@{isSatisfiable}} -\index{isSatisfiable@{isSatisfiable}!CSP@{CSP}} -\subsubsection[{isSatisfiable}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf CSP}$<$ T $>$::isSatisfiable (void)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a7ef9eb91c38815c9d82182696a6bd5d3} - - -Check if the current \hyperlink{classCSP}{CSP}, with the applied constraints, is satisfiable. - -METHOD: isSatisfiable \begin{DoxyReturn}{Returns} -true if the \hyperlink{classCSP}{CSP} has at least a possible solution, false otherwise -\end{DoxyReturn} -\hypertarget{classCSP_a466845256e638c5e258fd728b641359f}{ -\index{CSP@{CSP}!refreshDomains@{refreshDomains}} -\index{refreshDomains@{refreshDomains}!CSP@{CSP}} -\subsubsection[{refreshDomains}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::refreshDomains (void)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a466845256e638c5e258fd728b641359f} - - -Updates the domains of the variables. Any constraint or node fixed value is applied. - -METHOD: refreshDomains \hypertarget{classCSP_a457e1df05d4ec16be00118bda22fd882}{ -\index{CSP@{CSP}!setConstraint@{setConstraint}} -\index{setConstraint@{setConstraint}!CSP@{CSP}} -\subsubsection[{setConstraint}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::setConstraint (std::vector$<$ bool($\ast$)(std::vector$<$ {\bf CSPvariable}$<$ T $>$ $>$) $>$ {\em c})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a457e1df05d4ec16be00118bda22fd882} - - -Apply the constraints to the \hyperlink{classCSP}{CSP} as vector of boolean functions. - -METHOD: setConstraint -\begin{DoxyParams}{Parameters} -\item[{\em c}]Vector containing pointers to boolean functions representing the constraints of the \hyperlink{classCSP}{CSP} \end{DoxyParams} -\hypertarget{classCSP_a534a0d9bd10fb544f94196bf3c386657}{ -\index{CSP@{CSP}!setConstraint@{setConstraint}} -\index{setConstraint@{setConstraint}!CSP@{CSP}} -\subsubsection[{setConstraint}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::setConstraint (bool($\ast$)(std::vector$<$ {\bf CSPvariable}$<$ T $>$ $>$) {\em c})}} -\label{classCSP_a534a0d9bd10fb544f94196bf3c386657} - - -Apply the constraint to the \hyperlink{classCSP}{CSP} as a boolean function. - -METHOD: setConstraint -\begin{DoxyParams}{Parameters} -\item[{\em c}]Boolean function representing the constraint of the \hyperlink{classCSP}{CSP} \end{DoxyParams} -\hypertarget{classCSP_a65518e67e33e31bff1b5f9aabdf80a01}{ -\index{CSP@{CSP}!setDomain@{setDomain}} -\index{setDomain@{setDomain}!CSP@{CSP}} -\subsubsection[{setDomain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::setDomain (size\_\-t {\em index}, \/ T {\em domain}\mbox{[}$\,$\mbox{]}, \/ int {\em size})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a65518e67e33e31bff1b5f9aabdf80a01} - - -Set the domain for the i-\/th variable. - -METHOD: setDomain -\begin{DoxyParams}{Parameters} -\item[{\em index}]Variable for which we're setting the domain \item[{\em domain}]Array containing the possible values for that variable \item[{\em size}]Size of \char`\"{}domain\char`\"{} array \end{DoxyParams} -\hypertarget{classCSP_a4017c17aac9d3e96d0e821ebbe09da7b}{ -\index{CSP@{CSP}!setDomain@{setDomain}} -\index{setDomain@{setDomain}!CSP@{CSP}} -\subsubsection[{setDomain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::setDomain (size\_\-t {\em index}, \/ std::vector$<$ T $>$ {\em domain})}} -\label{classCSP_a4017c17aac9d3e96d0e821ebbe09da7b} - - -Set the domain for the i-\/th variable. - -METHOD: setDomain -\begin{DoxyParams}{Parameters} -\item[{\em index}]Variable for which we're setting the domain \item[{\em domain}]Vector containing the possible values for that variable \end{DoxyParams} -\hypertarget{classCSP_ac25064c5b2d4e1020173b56913251ebd}{ -\index{CSP@{CSP}!setValue@{setValue}} -\index{setValue@{setValue}!CSP@{CSP}} -\subsubsection[{setValue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::setValue (size\_\-t {\em index}, \/ T {\em value})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_ac25064c5b2d4e1020173b56913251ebd} - - -Set the value of a variable as a constraint. - -METHOD: setValue -\begin{DoxyParams}{Parameters} -\item[{\em index}]Index of the parameter to be set \item[{\em value}]Value to be set \end{DoxyParams} -\hypertarget{classCSP_a4c0cae125a610f519dc22eaec255a0ae}{ -\index{CSP@{CSP}!unsetValue@{unsetValue}} -\index{unsetValue@{unsetValue}!CSP@{CSP}} -\subsubsection[{unsetValue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf CSP}$<$ T $>$::unsetValue (size\_\-t {\em index})\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}} -\label{classCSP_a4c0cae125a610f519dc22eaec255a0ae} - - -Marks a variable as not set, and if a default value was assigned in the \hyperlink{classCSP}{CSP} constructor, this value will be set. By default, unless specified in the constructor, all the variables are considered as not set. - -METHOD: unsetValue -\begin{DoxyParams}{Parameters} -\item[{\em index}]Index of the variable to be unset \end{DoxyParams} - - -The documentation for this class was generated from the following files:\begin{DoxyCompactItemize} -\item -csp++.h\item -csp++.cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classCSPexception.tex b/doc/latex/classCSPexception.tex deleted file mode 100644 index a8d78e0..0000000 --- a/doc/latex/classCSPexception.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classCSPexception}{ -\section{CSPexception Class Reference} -\label{classCSPexception}\index{CSPexception@{CSPexception}} -} - - -Class for managing exception in \hyperlink{classCSP}{CSP}. - - - - -{\ttfamily \#include $<$csp++.h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classCSPexception_a810bcfbb11d2e35d7b95f1e2b11b408c}{ -{\bfseries CSPexception} (const char $\ast$m)} -\label{classCSPexception_a810bcfbb11d2e35d7b95f1e2b11b408c} - -\item -\hypertarget{classCSPexception_a7013e90a6c26ba4c15bc6fbc42be02ef}{ -virtual const char $\ast$ {\bfseries what} ()} -\label{classCSPexception_a7013e90a6c26ba4c15bc6fbc42be02ef} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Class for managing exception in \hyperlink{classCSP}{CSP}. - -The documentation for this class was generated from the following file:\begin{DoxyCompactItemize} -\item -csp++.h\end{DoxyCompactItemize} diff --git a/doc/latex/doxygen.sty b/doc/latex/doxygen.sty deleted file mode 100644 index c0c395c..0000000 --- a/doc/latex/doxygen.sty +++ /dev/null @@ -1,350 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{color} -\RequirePackage{fancyhdr} -\RequirePackage{verbatim} - -% Setup fancy headings -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} -\lhead[\fancyplain{}{\bfseries\thepage}]{% - \fancyplain{}{\bfseries\rightmark}% -} -\rhead[\fancyplain{}{\bfseries\leftmark}]{% - \fancyplain{}{\bfseries\thepage}% -} -\rfoot[\fancyplain{}{\bfseries\scriptsize% - Generated on Tue May 18 19:03:23 2010 for libCSP++ by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize% - Generated on Tue May 18 19:03:23 2010 for libCSP++ by Doxygen }} -\cfoot{} - -%---------- Internal commands used in this style file ---------------- - -% Generic environment used by all paragraph-based environments defined -% below. Note that the command \title{...} needs to be defined inside -% those environments! -\newenvironment{DoxyDesc}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, and @dot ... @enddot -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% -}{% - \end{description}% - \end{DoxyDesc}% -} - -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DoxyCompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{DoxyCompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{tabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{tabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{1} -\sloppy -\usepackage[T1]{fontenc} -\makeatletter -\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% - {-3.25ex plus -1ex minus -0.2ex}% - {1.5ex plus 0.2ex}% - {\normalfont\normalsize\bfseries}} -\makeatother -\stepcounter{secnumdepth} -\stepcounter{tocdepth} -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex deleted file mode 100644 index 91af9e4..0000000 --- a/doc/latex/refman.tex +++ /dev/null @@ -1,60 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{listings} -\usepackage{color} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{times} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage[utf8]{inputenc} -\usepackage{doxygen} -\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } -\makeindex -\setcounter{tocdepth}{3} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\hypersetup{pageanchor=false} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large libCSP++ \\[1ex]\large 0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.6.3}\\ -\vspace*{0.5cm} -{\small Tue May 18 19:03:23 2010}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true} -\chapter{Class Index} -\input{annotated} -\chapter{Class Documentation} -\input{classCSP} -\include{classCSPexception} -\include{structCSPvariable} -\printindex -\end{document} diff --git a/doc/latex/structCSPvariable.tex b/doc/latex/structCSPvariable.tex deleted file mode 100644 index 1e7bc2a..0000000 --- a/doc/latex/structCSPvariable.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{structCSPvariable}{ -\section{CSPvariable$<$ T $>$ Struct Template Reference} -\label{structCSPvariable}\index{CSPvariable@{CSPvariable}} -} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structCSPvariable_a1fb7622b0576133aa9a2445da22fddac}{ -int {\bfseries index}} -\label{structCSPvariable_a1fb7622b0576133aa9a2445da22fddac} - -\item -\hypertarget{structCSPvariable_acc2ff31b449351f04b1c3a2a096e584c}{ -T {\bfseries value}} -\label{structCSPvariable_acc2ff31b449351f04b1c3a2a096e584c} - -\item -\hypertarget{structCSPvariable_a66cf86ebf0fbbf8e571d7b585c9528a2}{ -std::vector$<$ T $>$ {\bfseries domain}} -\label{structCSPvariable_a66cf86ebf0fbbf8e571d7b585c9528a2} - -\end{DoxyCompactItemize} -\subsubsection*{template$<$class T$>$ struct CSPvariable$<$ T $>$} - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -csp++.h\end{DoxyCompactItemize}