Skip to content
Snippets Groups Projects
Transition.hpp 417 B
Newer Older
  • Learn to ignore specific revisions
  • #ifndef TRANSITION__H
    #define TRANSITION__H
    
    #include <vector>
    
    #include "Action.hpp"
    
    
    class Transition
    {
      private :
    
    
      std::string name;
      std::vector<Action> sequence;
    
      std::function<int(const Config & config)> cost;
    
      private :
    
      void initWrite(std::string colName, std::string object, std::string index, std::string value);
    
    
      public :
    
      Transition(const std::string & name);