Generated on Wed Jan 4 17:49:16 2006 for Gecode by doxygen 1.4.6

GraphColor Class Reference
[Example scripts (models)]

Inherits Example.

List of all members.


Detailed Description

Example: Clique-based graph coloring

Definition at line 295 of file graph-color.cc.

Public Member Functions

 GraphColor (const Options &opt)
 The actual model.
 GraphColor (bool share, GraphColor &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Copying during cloning.
virtual void print (void)
 Print the solution.


Constructor & Destructor Documentation

GraphColor::GraphColor const Options opt  )  [inline]
 

The actual model.

Definition at line 304 of file graph-color.cc.

GraphColor::GraphColor bool  share,
GraphColor s
[inline]
 

Constructor for cloning s.

Definition at line 328 of file graph-color.cc.


Member Function Documentation

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

Copying during cloning.

Implements Gecode::Space.

Definition at line 334 of file graph-color.cc.

virtual void GraphColor::print void   )  [inline, virtual]
 

Print the solution.

Reimplemented from Example.

Definition at line 339 of file graph-color.cc.


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