1 #ifndef CASM_ConfigIOStrucScore
2 #define CASM_ConfigIOStrucScore
4 #include <boost/filesystem.hpp>
16 using xtal::BasicStructure;
18 using xtal::StrucMapper;
37 std::unique_ptr<StrucScore>
clone()
const {
38 return std::unique_ptr<StrucScore>(this->
_clone());
52 bool parse_args(std::string
const &args)
override;
Evaluates the mapping of a configuration onto an arbitrary primitive structure.
std::unique_ptr< StrucScore > clone() const
Eigen::VectorXd evaluate(Configuration const &_config) const override
bool validate(Configuration const &_config) const override
std::unique_ptr< StrucMapper > m_strucmapper
std::string short_header(Configuration const &_config) const override
bool init(Configuration const &tmplt) const override
If not yet initialized, use the default clexulator from the PrimClex.
std::vector< std::string > m_prop_names
std::vector< std::string > col_header(Configuration const &_config) const override
bool parse_args(std::string const &args) override
Default implementation calls _parse_index_expression.
StrucScore * _clone() const override
Clone.
std::unique_ptr< BasicStructure > m_altprim