Generated on Sat Nov 11 01:12:18 2006 for Gecode by doxygen 1.5.1

Steiner Class Reference
[Example scripts (models)]

Inherits Example.

List of all members.


Detailed Description

Example: Steiner triples

This is problem 044 from csplib.

Definition at line 35 of file steiner.cc.

Public Member Functions

 Steiner (const Options &o)
 Steiner (bool share, Steiner &s)
virtual Spacecopy (bool share)
 Copying member function.
virtual void print (void)

Public Attributes

int n
int n1
int n1n1
int len
SetVarArray root


Constructor & Destructor Documentation

Steiner::Steiner ( const Options o  )  [inline]

Definition at line 45 of file steiner.cc.

Steiner::Steiner ( bool  share,
Steiner s 
) [inline]

Definition at line 115 of file steiner.cc.


Member Function Documentation

virtual Space* Steiner::copy ( bool  share  )  [inline, virtual]

Copying member function.

Must create a new object using the constructor for cloning.

Implements Gecode::Space.

Definition at line 122 of file steiner.cc.

virtual void Steiner::print ( void   )  [inline, virtual]

Reimplemented from Example.

Definition at line 127 of file steiner.cc.


Member Data Documentation

Definition at line 38 of file steiner.cc.

Definition at line 39 of file steiner.cc.

Definition at line 40 of file steiner.cc.

Definition at line 41 of file steiner.cc.

Definition at line 43 of file steiner.cc.


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