NChooseKBitsetExternal< Caller, N0 > Class Template Reference

Template version of a NChooseK-class with constraint. More...

#include <NChooseKBitset.hpp>

Inheritance diagram for NChooseKBitsetExternal< Caller, N0 >:

[legend]
Collaboration diagram for NChooseKBitsetExternal< Caller, N0 >:
[legend]
List of all members.

Public Member Functions

 NChooseKBitsetExternal (Caller &c)
 Default constructor.
virtual bool constraint (const bitset< N0 > &x)
 Constraint function.

Detailed Description

template<class Caller, int N0>
class NChooseKBitsetExternal< Caller, N0 >

Template version of a NChooseK-class with constraint.

The template argument must implement the constraint function.


Constructor & Destructor Documentation

template<class Caller, int N0>
NChooseKBitsetExternal< Caller, N0 >::NChooseKBitsetExternal ( Caller &  c  )  [inline]

Default constructor.

Parameters:
c Reference to object of type Caller that has the constraint() function.


Member Function Documentation

template<class Caller, int N0>
virtual bool NChooseKBitsetExternal< Caller, N0 >::constraint ( const bitset< N0 > &  x  )  [inline, virtual]

Constraint function.

Parameters:
x Candidate to check agains constraint.

Reimplemented from NChooseKBitset< N0 >.


The documentation for this class was generated from the following file:
Generated on Wed Jun 17 11:44:02 2009 for OpenFCI by  doxygen 1.4.7