1 #ifndef CASM_ConfigEnumRandomOccupations
2 #define CASM_ConfigEnumRandomOccupations
24 class ConfigEnumRandomOccupations :
public InputEnumeratorBase<Configuration> {
38 std::string
name()
const override {
notstd::cloneable_ptr< Configuration > m_current
ConfigEnumRandomOccupations(Supercell &_scel, Index _n_config, MTRand &_mtrand)
Construct with a Supercell, using all permutations.
Base class for generic use of enumerators that may be accessed through the API.
static const std::string interface_help
static int run(PrimClex &primclex, const jsonParser &kwargs, const Completer::EnumOption &enum_opt)
CASM::EnumInterfaceBase * make_ConfigEnumRandomOccupations_interface()
EigenIndex Index
For long integer indexing:
std::string name() const override
Derived enumerators must implement name, via ENUM_MEMBERS.
PrimClex is the top-level data structure for a CASM project.
void increment() override
Implements increment.
static const std::string enumerator_name
Array< int > m_max_allowed