CPGraphComplement Class Reference
[Examples/Tests]

Inherits Example.

List of all members.


Detailed Description

Example to test the Complement constraint with OutAdjSetsGraphView.

Definition at line 9 of file cpgraph-complement.cc.

Public Member Functions

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


Constructor & Destructor Documentation

CPGraphComplement::CPGraphComplement const Options opt  )  [inline]
 

Constructor with unused options.

Definition at line 15 of file cpgraph-complement.cc.

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

Constructor for cloning s.

Definition at line 20 of file cpgraph-complement.cc.


Member Function Documentation

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

Copying during cloning.

Implements Gecode::Space.

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

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

Print the solution.

Reimplemented from Example.

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


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