GraphColor Class Reference
[Example scripts (models)]
Inherits Example.
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 Space * | copy (bool share) |
Copying during cloning. | |
virtual void | print (void) |
Print the solution. |
Constructor & Destructor Documentation
GraphColor::GraphColor | ( | const Options & | opt | ) | [inline] |
GraphColor::GraphColor | ( | bool | share, | |
GraphColor & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* GraphColor::copy | ( | bool | share | ) | [inline, virtual] |
virtual void GraphColor::print | ( | void | ) | [inline, virtual] |
The documentation for this class was generated from the following file:
- examples/graph-color.cc (Revision: 2743)