Select Git revision
test_configuration.py
-
Baptiste Bauvin authoredBaptiste Bauvin authored
Classifier.cpp 397 B
#include "Classifier.hpp"
Classifier::Classifier(const std::string & name, const std::string & topology, const std::string & tsFile)
{
this->name = name;
this->transitionSet.reset(new TransitionSet(tsFile));
this->nn = TestNetwork(transitionSet->size(), 5);
}
TransitionSet & Classifier::getTransitionSet()
{
return *transitionSet;
}
TestNetwork & Classifier::getNN()
{
return nn;
}