GraphColor Class Reference
[Example scripts (models)]
Inherits Example.
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 Space * | copy (bool share) |
Copying during cloning. | |
virtual void | print (void) |
Print the solution. |
Constructor & Destructor Documentation
|
The actual model.
Definition at line 301 of file graph-color.cc. |
|
Constructor for cloning s.
Definition at line 332 of file graph-color.cc. |
Member Function Documentation
|
Copying during cloning.
Implements Gecode::Space. Definition at line 338 of file graph-color.cc. |
|
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:
- examples/graph-color.cc (Revision: 3517)