64 std::ostream& out = std::cerr,
65 bool logOnSuccess =
false)
66 :
LALogger(la, out), logOnSuccess(logOnSuccess)
100 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
121 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
Class used to control the learning steps of a TPGGraph within a given LearningEnvironment.
Definition learningAgent.h:67
Detector for connected cycles in TPGs.
Definition cycleDetectionLALogger.h:47
virtual void logEndOfTraining() override
Does nothing in this logger.
Definition cycleDetectionLALogger.cpp:142
CycleDetectionLALogger(Learn::LearningAgent &la, std::ostream &out=std::cerr, bool logOnSuccess=false)
Same constructor as LALogger. Default output is cerr.
Definition cycleDetectionLALogger.h:63
virtual void logAfterPopulateTPG() override
Checks the presence of directed cyclic path in the TPG. Loggs an output if there is one.
Definition cycleDetectionLALogger.cpp:53
virtual void logNewGeneration(uint64_t &generationNumber) override
Does nothing in this logger.
Definition cycleDetectionLALogger.cpp:48
virtual void logHeader() override
Does nothing in this logger.
Definition cycleDetectionLALogger.cpp:43
virtual void logAfterValidate(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results) override
Logs the min, avg and max score of the generation.
Definition cycleDetectionLALogger.cpp:135
virtual void logAfterEvaluate(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results) override
Does nothing in this logger.
Definition cycleDetectionLALogger.cpp:123
virtual void logAfterDecimate() override
Does nothing in this logger.
Definition cycleDetectionLALogger.cpp:130
Learning Agent logger class that will be called during LearningAgent executions.
Definition laLogger.h:66
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition cycleDetectionLALogger.h:38