Skip to content
Snippets Groups Projects
ReadingMachine.hpp 398 B
Newer Older
  • Learn to ignore specific revisions
  • #ifndef READING_MACHINE__H
    #define READING_MACHINE__H
    
    #include <memory>
    #include "Classifier.hpp"
    
    Franck Dary's avatar
    Franck Dary committed
    #include "Strategy.hpp"
    
    
    class ReadingMachine
    {
      private :
    
      std::string name;
      std::unique_ptr<Classifier> classifier;
    
    Franck Dary's avatar
    Franck Dary committed
      std::unique_ptr<Strategy> strategy;
    
      TransitionSet & getTransitionSet();
      Strategy & getStrategy();