permlib  0.2.9
Library for permutation computations
Public Member Functions | Protected Attributes | List of all members
permlib::helpers::BaseSupportRestriction Class Reference

This class never imposes a restriction on any set. More...

#include <abstract_bsgs_helpers.h>

Inheritance diagram for permlib::helpers::BaseSupportRestriction:
permlib::helpers::SupportRestriction permlib::helpers::FullSupportRestriction permlib::helpers::ReducedSupportRestriction

Public Member Functions

 BaseSupportRestriction (const boost::shared_ptr< std::set< dom_int > > &support, const std::vector< dom_int > &s)
 
virtual bool canBeIgnored () const
 
virtual const std::vector< dom_int > * set () const
 
- Public Member Functions inherited from permlib::helpers::SupportRestriction
virtual ~SupportRestriction ()
 destructor
 

Protected Attributes

const boost::shared_ptr< std::set< dom_int > > m_support
 
const std::vector< dom_int > & m_originalSet
 

Detailed Description

This class never imposes a restriction on any set.

Constructor & Destructor Documentation

◆ BaseSupportRestriction()

permlib::helpers::BaseSupportRestriction::BaseSupportRestriction ( const boost::shared_ptr< std::set< dom_int > > &  support,
const std::vector< dom_int > &  s 
)
inline
Parameters
supportthe support of the group (i.e. a set of all elements that are moved by at least one permutation)
sthe set for which we want to decide whether the permutation action is trivial

Member Function Documentation

◆ canBeIgnored()

virtual bool permlib::helpers::BaseSupportRestriction::canBeIgnored ( ) const
inlinevirtual

◆ set()

virtual const std::vector<dom_int>* permlib::helpers::BaseSupportRestriction::set ( ) const
inlinevirtual
Returns
always the original set

Implements permlib::helpers::SupportRestriction.

Reimplemented in permlib::helpers::FullSupportRestriction.


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