20 #include <boost/filesystem/path.hpp> 21 #include <boost/date_time/posix_time/posix_time.hpp> 32 #include "../combinatorial_optimization/OptimizationAlgorithm.hpp" 33 #include "../combinatorial_optimization/CostFunction.hpp" 43 using boost::posix_time::ptime;
44 using boost::posix_time::time_duration;
54 bool storeFullyMeshedISM,
bool storeStartTopologyISM)
76 std::uniform_real_distribution<double>
mDistribution = std::uniform_real_distribution<double>(0.0, 1.0);
void logSelectedStartTopology(TopologyPtr bestStartTopology)
bool mStoreStartTopologyISM
OptimizationAlgorithmPtr< TopologyPtr > mOptimizationAlgorithm
void logStartTopologies(const std::vector< TopologyPtr > &startTopologies)
boost::shared_ptr< CostFunction< InstanceType >> CostFunctionPtr
unsigned int mMaxFalsePositives
std::pair< double, TreePtr > runOptimization(const std::string &pattern, TopologyPtr startTopology=NULL)
void analyzeStarAndFullyMeshedTopologies()
CostFunctionParameters mCostFunctionParameters
double mMinAverageRecognitionRuntime
TopologyPtr mFullyMeshedTopology
void logOptimizationFinish(TopologyPtr bestTopology)
void logStarsAndFullyMeshedResult()
double mMaxAverageRecognitionRuntime
void logInvalidStartTopology()
void prepareOptimizationRun(std::vector< TopologyPtr > &startTopologies)
boost::shared_ptr< Topology > TopologyPtr
TopologyPtr selectStartTopology(std::vector< TopologyPtr > &startTopologies)
OptimizationRunner(TopologyManagerPtr topologyManager, DocumentationHelperPtr documentationHelper, OptimizationAlgorithmParameters optimizationAlgorithmParameters, CostFunctionParameters costFunctionParameters, bool storeFullyMeshedISM, bool storeStartTopologyISM)
static const char * LOG_COLOR_DEFAULT
boost::shared_ptr< OptimizationAlgorithm< InstanceType >> OptimizationAlgorithmPtr
TopologyManagerPtr mTopologyManager
unsigned int mMinFalsePositives
bool mStoreFullyMeshedISM
boost::shared_ptr< DocumentationHelper > DocumentationHelperPtr
boost::shared_ptr< OptimizationRunner > OptimizationRunnerPtr
CostFunctionPtr< TopologyPtr > mCostFunction
void initOptimizationAlgorithm()
DocumentationHelperPtr mDocumentationHelper
void logOptimizationStart(const std::string &patternName)
OptimizationAlgorithmParameters mOptimizationAlgorithmParameters
std::vector< TopologyPtr > mStarTopologies
std::uniform_real_distribution< double > mDistribution
void logAnalysingStarAndFullyMeshedTopologies()
this namespace contains all generally usable classes.
void documentOptimzationRun(TopologyPtr bestTopology)
std::string mCurrentPatternName
boost::shared_ptr< TopologyManager > TopologyManagerPtr
std::default_random_engine mGenerator
const char * LOG_COLOR_OPTIMIZATION_STRATEGY