1 #ifndef SIMPT_PAREX_LIST_SWEEP_H_
2 #define SIMPT_PAREX_LIST_SWEEP_H_
33 ListSweep(
const std::vector<std::string>& values);
36 ListSweep(
const boost::property_tree::ptree& pt);
48 virtual std::string
GetValue(
unsigned int index)
const;
58 virtual boost::property_tree::ptree
ToPtree()
const;
65 void ReadPtree(
const boost::property_tree::ptree& pt);
68 std::vector<std::string> m_values;
73 #endif // end-of-include-guard
virtual std::string GetValue(unsigned int index) const
Returns the value on the given index.
ListSweep(const std::vector< std::string > &values)
Constructor.
A sweep over a list of parameters.
virtual boost::property_tree::ptree ToPtree() const
Convert the list sweep to a ptree.
An interface class for a parameter sweep.
virtual ListSweep * Clone() const
Polymorphic copy constructor.
virtual unsigned int GetNumberOfValues() const
Returns the number of values in the sweep.
Namespace for SimPT parameter explorer package.