Generated on Wed Nov 1 15:04:51 2006 for Gecode by doxygen 1.4.5

GraphColor Class Reference
[Example scripts (models)]

Inherits Example.

List of all members.


Detailed Description

Example: Clique-based graph coloring

Definition at line 292 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 301 of file graph-color.cc.

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

Constructor for cloning s.

Definition at line 332 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 338 of file graph-color.cc.

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

Print the solution.

Reimplemented from Example.

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


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