Generated on Wed Sep 5 2012 18:52:20 for Gecode by doxygen 1.8.1.1
Eq20 Class Reference

Example: Solving 20 linear equations More...

List of all members.

Public Member Functions

 Eq20 (const Options &opt)
 The actual problem.
 Eq20 (bool share, Eq20 &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Perform copying during cloning.
virtual void print (std::ostream &os) const
 Print solution.
- Public Member Functions inherited from Gecode::Driver::ScriptBase< BaseSpace >
 ScriptBase (void)
 Default constructor.
 ScriptBase (bool share, ScriptBase &e)
 Constructor used for cloning.
virtual void compare (const Space &, std::ostream &os) const
 Compare with s.

Related Functions

(Note that these are not member functions.)

int main (int argc, char *argv[])
 Main-function.

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Driver::ScriptBase< BaseSpace >
template<class Script , template< class > class Engine, class Options >
static void run (const Options &opt)

Detailed Description

Example: Solving 20 linear equations

Standard benchmark for solving linear equations.

Definition at line 51 of file eq20.cpp.


Constructor & Destructor Documentation

Eq20::Eq20 ( const Options opt)
inline

The actual problem.

Definition at line 61 of file eq20.cpp.

Eq20::Eq20 ( bool  share,
Eq20 s 
)
inline

Constructor for cloning s.

Definition at line 96 of file eq20.cpp.


Member Function Documentation

virtual Space* Eq20::copy ( bool  share)
inlinevirtual

Perform copying during cloning.

Definition at line 101 of file eq20.cpp.

virtual void Eq20::print ( std::ostream &  os) const
inlinevirtual

Print solution.

Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.

Definition at line 106 of file eq20.cpp.


Friends And Related Function Documentation

int main ( int  argc,
char *  argv[] 
)
related

Main-function.

Definition at line 116 of file eq20.cpp.


The documentation for this class was generated from the following file: