CPGraphBasic2vars Class Reference

Inherits Example.

List of all members.

Detailed Description

Most basic example possible for NodeArcSetsGraphView.

instantiate the View and distribute in a naive way.

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

Public Member Functions

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

Constructor & Destructor Documentation

CPGraphBasic2vars::CPGraphBasic2vars const Options opt  )  [inline]

Constructor with unused options.

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

CPGraphBasic2vars::CPGraphBasic2vars bool  share,
CPGraphBasic2vars s

Constructor for cloning s.

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

Member Function Documentation

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

Copying during cloning.

Implements Gecode::Space.

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

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

Print the solution.

Reimplemented from Example.

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

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