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 DifferenceRule * | clone () 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 } |
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 |
Destructor.
|
virtual |
Clone DifferenceRule.
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Implements FockStateRule::createNewRule().
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Implements FockStateRule::createNewRule().
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Check whether a given FockState fullfills the rule with respect to a particular FockSpace.
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Check whether a given FockState fullfills the rule with respect to a particular FockSpace.
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Comparison operator.
Implements TBTK::FockStateRule::FockStateRule.
|
virtual |
Implements FockStateRule::print().
Implements TBTK::FockStateRule::FockStateRule.