1 #ifndef SIMPT_PAREX_FILE_EXPLORATION_H_
2 #define SIMPT_PAREX_FILE_EXPLORATION_H_
41 FileExploration(
const std::string& name,
const std::vector<std::pair<std::string, boost::property_tree::ptree>>& files,
const boost::property_tree::ptree& preferences);
80 virtual std::vector<std::string>
GetValues(
unsigned int index)
const;
110 virtual boost::property_tree::ptree
ToPtree()
const;
118 virtual void ReadPtree(
const boost::property_tree::ptree& pt);
121 std::vector<std::string> m_file_names;
122 std::vector<boost::property_tree::ptree> m_file_contents;
127 #endif // end-of-include-guard
Interface for Exploration.
virtual boost::property_tree::ptree ToPtree() const
Convert the exploration to a ptree.
virtual FileExploration * Clone() const
Clone function.
Class describing a file-based exploration and its simulation tasks.
virtual ~FileExploration()
Destructor.
virtual std::vector< std::string > GetParameters() const
Returns all the parameters in the exploration.
FileExploration & operator=(const FileExploration &other)
Assignment operator.
virtual std::vector< std::string > GetValues(unsigned int index) const
Return the values of a certain task.
virtual unsigned int GetNumberOfTasks() const
Returns the number of tasks the exploration currently contains.
FileExploration(const std::string &name, const std::vector< std::pair< std::string, boost::property_tree::ptree >> &files, const boost::property_tree::ptree &preferences)
Constructor.
Namespace for SimPT parameter explorer package.
Contains all information needed for a transmitable simulation task.
Class describing a generic exploration.
virtual SimTask * CreateTask(unsigned int index) const
Creates a task with the parameters on the given index.