20 #include <boost/filesystem/path.hpp> 21 #include <boost/shared_ptr.hpp> 23 #include "../combinatorial_optimization/CostFunction.hpp" 24 #include "../combinatorial_trainer/CombinatorialTrainerParameters.hpp" 25 #include "../combinatorial_trainer/Topology.hpp" 26 #include "../combinatorial_trainer/EvaluationResult.hpp" 33 using boost::filesystem::path;
39 std::map<std::string, ISM::TracksPtr>& tracksPerPattern) :
51 void storeOptimizationRun(std::vector<std::vector<std::pair<TopologyPtr, unsigned int>>>& history,
53 double elapsedRuntime,
const std::string&
patternName);
56 const std::string& topologyName,
57 std::map<std::string, std::vector<ISM::VoteSpecifierPtr>> objectDefinitons);
83 const std::string& patternNames);
86 unsigned int numOptimizationRounds,
double elapsedRuntime,
87 const std::string& patternName);
89 void writeToFile(path filePath,
const std::string& content);
boost::shared_ptr< DotHelper > DotHelperPtr
boost::shared_ptr< CostFunction< InstanceType >> CostFunctionPtr
void storeTopologiesToCSV(std::vector< TopologyPtr > selectedTopologies, const std::string &patternNames)
void writeIsmToDB(path dbPath, const IsmPtr &ism)
void writeToFile(path filePath, const std::string &content)
void storeTopology(TopologyPtr toStore, const std::string &patternName, const std::string &topologyName, std::map< std::string, std::vector< ISM::VoteSpecifierPtr >> objectDefinitons)
void storeMetadataToCSV(unsigned int numEvaluatedTopologies, unsigned int numOptimizationRounds, double elapsedRuntime, const std::string &patternName)
boost::shared_ptr< Topology > TopologyPtr
unsigned int mSelectedTopologyCounter
boost::shared_ptr< SVGHelper > SVGHelperPtr
void storeOptimizationRun(std::vector< std::vector< std::pair< TopologyPtr, unsigned int >>> &history, CostFunctionPtr< TopologyPtr > globalCostFunction, double elapsedRuntime, const std::string &patternName)
boost::shared_ptr< ImplicitShapeModel > IsmPtr
boost::shared_ptr< DocumentationHelper > DocumentationHelperPtr
const std::string SVG_SUBFOLDER_NAME
const std::string SELECTED_TOPOLOGIES_FOLDER
const std::string CSV_SUBFOLDER_NAME
const std::string TOPOLOGIES_SUBFOLDER_NAME
DocumentationHelper(path outputPath, path dbPath, std::map< std::string, ISM::TracksPtr > &tracksPerPattern)
this namespace contains all generally usable classes.
TopologyPtr mReferenceTopology
void storeIsm(const std::string &filename, const IsmPtr &ism)
void setReferenceTopology(TopologyPtr topology, const std::string &patternName)