CPGraphComplement2vars Class Reference

Inherits Example.

List of all members.

Detailed Description

Example to test the Complement constraint with NodeArcSetsGraphView.

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

Public Member Functions

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

Constructor & Destructor Documentation

CPGraphComplement2vars::CPGraphComplement2vars const Options opt  )  [inline]

Constructor with unused options.

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

CPGraphComplement2vars::CPGraphComplement2vars bool  share,
CPGraphComplement2vars s

Constructor for cloning s.

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

Member Function Documentation

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

Copying during cloning.

Implements Gecode::Space.

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

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

Print the solution.

Reimplemented from Example.

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

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