CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM::Monte::OccSwap Class Reference

#include <OccCandidate.hh>

+ Inheritance diagram for CASM::Monte::OccSwap:

Detailed Description

Store swap type, mutating sites, and info for keeping OccLocation up-to-date.

Definition at line 51 of file OccCandidate.hh.

Public Member Functions

 OccSwap (const OccCandidate &_cand_a, const OccCandidate &_cand_b)
 
void reverse ()
 
OccSwapsort ()
 
OccSwap sorted () const
 
bool operator< (const OccSwap &B) const
 
bool operator> (const OccSwap &B) const
 
bool operator<= (const OccSwap &B) const
 
bool operator>= (const OccSwap &B) const
 
bool operator== (const OccSwap &B) const
 
bool operator!= (const OccSwap &B) const
 

Public Attributes

OccCandidate cand_a
 
OccCandidate cand_b
 

Protected Member Functions

const OccSwapderived () const
 
bool _eq (const OccSwap &B) const
 
bool _ne (const OccSwap &B) const
 

Private Types

typedef std::tuple
< OccCandidate, OccCandidate
tuple_type
 

Private Member Functions

bool _lt (const OccSwap &B) const
 
tuple_type tuple () const
 

Member Typedef Documentation

Definition at line 94 of file OccCandidate.hh.

Constructor & Destructor Documentation

CASM::Monte::OccSwap::OccSwap ( const OccCandidate _cand_a,
const OccCandidate _cand_b 
)
inline

Definition at line 55 of file OccCandidate.hh.

Member Function Documentation

bool CASM::Comparisons< OccSwap >::_eq ( const OccSwap &  B) const
inlineprotectedinherited

Definition at line 52 of file Comparisons.hh.

bool CASM::Monte::OccSwap::_lt ( const OccSwap B) const
inlineprivate

Definition at line 90 of file OccCandidate.hh.

bool CASM::Comparisons< OccSwap >::_ne ( const OccSwap &  B) const
inlineprotectedinherited

Definition at line 56 of file Comparisons.hh.

const OccSwap & CASM::Comparisons< OccSwap >::derived ( ) const
inlineprotectedinherited

Definition at line 48 of file Comparisons.hh.

bool CASM::Comparisons< OccSwap >::operator!= ( const OccSwap &  B) const
inlineinherited

Definition at line 41 of file Comparisons.hh.

bool CASM::Monte::OccSwap::operator< ( const OccSwap B) const
inline

Definition at line 83 of file OccCandidate.hh.

bool CASM::Comparisons< OccSwap >::operator<= ( const OccSwap &  B) const
inlineinherited

Definition at line 29 of file Comparisons.hh.

bool CASM::Comparisons< OccSwap >::operator== ( const OccSwap &  B) const
inlineinherited

Definition at line 37 of file Comparisons.hh.

bool CASM::Comparisons< OccSwap >::operator> ( const OccSwap &  B) const
inlineinherited

Definition at line 25 of file Comparisons.hh.

bool CASM::Comparisons< OccSwap >::operator>= ( const OccSwap &  B) const
inlineinherited

Definition at line 33 of file Comparisons.hh.

void CASM::Monte::OccSwap::reverse ( )
inline

Definition at line 62 of file OccCandidate.hh.

OccSwap& CASM::Monte::OccSwap::sort ( )
inline

Definition at line 67 of file OccCandidate.hh.

OccSwap CASM::Monte::OccSwap::sorted ( ) const
inline

Definition at line 77 of file OccCandidate.hh.

tuple_type CASM::Monte::OccSwap::tuple ( ) const
inlineprivate

Definition at line 96 of file OccCandidate.hh.

Member Data Documentation

OccCandidate CASM::Monte::OccSwap::cand_a

Definition at line 59 of file OccCandidate.hh.

OccCandidate CASM::Monte::OccSwap::cand_b

Definition at line 60 of file OccCandidate.hh.


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