CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <MappedProperties.hh>
Resolve mapping conflicts by 'scoring' the MappedProperties structure
Options:
Definition at line 145 of file MappedProperties.hh.
Classes | |
struct | Option |
Public Types | |
enum class | Method { deformation_cost , minimum , maximum , direct_selection } |
Public Member Functions | |
ScoreMappedProperties (Option _opt=Option(Method::minimum, "energy")) | |
Default uses minimum energy. More... | |
double | operator() (const MappedProperties &obj) const |
bool | validate (const MappedProperties &obj) const |
bool | operator== (const ScoreMappedProperties &B) const |
bool | operator!= (const ScoreMappedProperties &B) const |
const Option & | option () const |
Static Public Member Functions | |
static std::string | method_name (Method m) |
Private Attributes | |
Option | m_opt |
|
strong |
Enumerator | |
---|---|
deformation_cost | |
minimum | |
maximum | |
direct_selection |
Definition at line 147 of file MappedProperties.hh.
|
explicit |
Default uses minimum energy.
Definition at line 101 of file MappedProperties.cc.
|
inlinestatic |
Definition at line 149 of file MappedProperties.hh.
bool CASM::ScoreMappedProperties::operator!= | ( | const ScoreMappedProperties & | B | ) | const |
Definition at line 149 of file MappedProperties.cc.
double CASM::ScoreMappedProperties::operator() | ( | const MappedProperties & | obj | ) | const |
Definition at line 104 of file MappedProperties.cc.
bool CASM::ScoreMappedProperties::operator== | ( | const ScoreMappedProperties & | B | ) | const |
Definition at line 145 of file MappedProperties.cc.
|
inline |
Definition at line 192 of file MappedProperties.hh.
bool CASM::ScoreMappedProperties::validate | ( | const MappedProperties & | obj | ) | const |
Definition at line 130 of file MappedProperties.cc.
|
private |
Definition at line 195 of file MappedProperties.hh.