TBTK
TBTK::FockStateRule::DifferenceRule Class Reference
Inheritance diagram for TBTK::FockStateRule::DifferenceRule:
TBTK::FockStateRule::FockStateRule

Public Member Functions

 DifferenceRule (std::initializer_list< Index > addStateIndices, std::initializer_list< Index > subtractStateIndices, int difference)
 
 DifferenceRule (std::vector< Index > addStateIndices, std::vector< Index > subtractStateIndices, int difference)
 
virtual ~DifferenceRule ()
 
virtual DifferenceRuleclone () const
 
virtual WrapperRule createNewRule (const LadderOperator< BitRegister > &ladderOperator) const
 
virtual WrapperRule createNewRule (const LadderOperator< ExtensiveBitRegister > &ladderOperator) const
 
virtual bool isSatisfied (const FockSpace< BitRegister > &fockSpace, const FockState< BitRegister > &fockState) const
 
virtual bool isSatisfied (const FockSpace< ExtensiveBitRegister > &fockSpace, const FockState< ExtensiveBitRegister > &fockState) const
 
virtual bool operator== (const FockStateRule &rhs) const
 
virtual void print () const
 
- Public Member Functions inherited from TBTK::FockStateRule::FockStateRule
 FockStateRule (FockStateRuleID fockStateRuleID)
 
virtual ~FockStateRule ()
 
FockStateRuleID getFockStateRuleID () const
 

Additional Inherited Members

- Public Types inherited from TBTK::FockStateRule::FockStateRule
enum  FockStateRuleID { WrapperRule = 0, SumRule = 1, DifferenceRule = 2 }
 

Constructor & Destructor Documentation

TBTK::FockStateRule::DifferenceRule::DifferenceRule ( std::initializer_list< Index addStateIndices,
std::initializer_list< Index subtractStateIndices,
int  difference 
)

Constructor

TBTK::FockStateRule::DifferenceRule::DifferenceRule ( std::vector< Index addStateIndices,
std::vector< Index subtractStateIndices,
int  difference 
)

Constructor

virtual TBTK::FockStateRule::DifferenceRule::~DifferenceRule ( )
virtual

Destructor.

Member Function Documentation

virtual DifferenceRule* TBTK::FockStateRule::DifferenceRule::clone ( ) const
virtual
virtual WrapperRule TBTK::FockStateRule::DifferenceRule::createNewRule ( const LadderOperator< BitRegister > &  ladderOperator) const
virtual
virtual WrapperRule TBTK::FockStateRule::DifferenceRule::createNewRule ( const LadderOperator< ExtensiveBitRegister > &  ladderOperator) const
virtual
virtual bool TBTK::FockStateRule::DifferenceRule::isSatisfied ( const FockSpace< BitRegister > &  fockSpace,
const FockState< BitRegister > &  fockState 
) const
virtual

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

Implements TBTK::FockStateRule::FockStateRule.

virtual bool TBTK::FockStateRule::DifferenceRule::isSatisfied ( const FockSpace< ExtensiveBitRegister > &  fockSpace,
const FockState< ExtensiveBitRegister > &  fockState 
) const
virtual

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

Implements TBTK::FockStateRule::FockStateRule.

virtual bool TBTK::FockStateRule::DifferenceRule::operator== ( const FockStateRule rhs) const
virtual

Comparison operator.

Implements TBTK::FockStateRule::FockStateRule.

virtual void TBTK::FockStateRule::DifferenceRule::print ( ) const
virtual

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