20 #include "../typedef.hpp" 36 #include "../combinatorial_optimization/HillClimbingAlogrithm.hpp" 37 #include "../combinatorial_optimization/SimulatedAnnealingAlgorithm.hpp" 38 #include "../combinatorial_optimization/ExponentialCoolingSchedule.hpp" 47 std::pair<PatternNameToObjectSet, PatternNameToObjectSet> testSets,
48 std::map<std::string, ISM::ObjectRelations> allObjectRelationsPerPattern,
50 bool storeFullyMeshedISM,
51 bool storeStartTopologyISM)
61 std::string errorMessage = std::to_string(treeValidatorParams.
treeValidatorId)
62 +
" is not a valid treeEvaluatorId!";
64 throw std::runtime_error(errorMessage);
78 evaluator =
EvaluatorPtr(
new Tester(objectSetValidator, testSets.first, testSets.second,
82 std::string errorMessage = std::to_string(evaluatorParams.
evaluatorId) +
" is not a valid evaluatorId!";
84 throw std::runtime_error(errorMessage);
104 " is not a valid successorGeneratorId!";
106 throw std::runtime_error(errorMessage);
110 topologyGenerator, documentationHelper));
113 topologyManager, documentationHelper,
114 optimizationAlgorithmParameters, costFunctionParameters,
115 storeFullyMeshedISM, storeStartTopologyISM
unsigned int treeValidatorId
boost::shared_ptr< Recognizer > RecognizerPtr
boost::shared_ptr< TreeValidator > TreeValidatorPtr
unsigned int topologyGeneratorId
boost::shared_ptr< TopologyGenerator > TopologyGeneratorPtr
static void logMessage(const std::string &message, LogLevel logLevel=LOG_INFO, const char *logColor=LOG_COLOR_DEFAULT)
boost::shared_ptr< ObjectSetValidator > ObjectSetValidatorPtr
bool testForFalseNegatives
boost::shared_ptr< DocumentationHelper > DocumentationHelperPtr
boost::shared_ptr< OptimizationRunner > OptimizationRunnerPtr
boost::shared_ptr< TopologyGeneratorPaper > TopologyGeneratorPaperPtr
boost::shared_ptr< TopologyGeneratorNaive > TopologyGeneratorNaivePtr
boost::shared_ptr< Evaluator > EvaluatorPtr
static OptimizationRunnerPtr createOptimizationRunner(EvaluatorParameters evaluatorParams, TopologyGeneratorParameters topologyGeneratorParams, OptimizationAlgorithmParameters optimizationAlgorithmParameters, CostFunctionParameters costFunctionParameters, TreeValidatorParameters treeValidatorParams, std::pair< PatternNameToObjectSet, PatternNameToObjectSet > testSets, std::map< std::string, ISM::ObjectRelations > allObjectRelationsPerPattern, DocumentationHelperPtr documentationHelper, bool storeFullyMeshedISM, bool storeStartTopologyISM)
unsigned int maxTreeHeight
double confidenceThreshold
this namespace contains all generally usable classes.
boost::shared_ptr< TopologyManager > TopologyManagerPtr