CPGraphBasic Class Reference
[Examples/Tests]

Inherits Example.

List of all members.


Detailed Description

Most basic example possible for OutAdjSetsGraphView.

instantiate the View and distribute in a naive way.

Definition at line 11 of file cpgraph-basic.cc.

Public Member Functions

 CPGraphBasic (const Options &opt)
 Constructor with unused options.
 CPGraphBasic (bool share, CPGraphBasic &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Copying during cloning.
virtual void print (void)
 Print the solution.


Constructor & Destructor Documentation

CPGraphBasic::CPGraphBasic const Options opt  )  [inline]
 

Constructor with unused options.

Definition at line 16 of file cpgraph-basic.cc.

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

Constructor for cloning s.

Definition at line 21 of file cpgraph-basic.cc.


Member Function Documentation

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

Copying during cloning.

Implements Gecode::Space.

Definition at line 26 of file cpgraph-basic.cc.

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

Print the solution.

Reimplemented from Example.

Definition at line 31 of file cpgraph-basic.cc.


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