maintenance_problem_generator.h 609 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "Maintenance_Problem.h"
#include "../Graph_Specialization/CircSelect_Network.h"
#include "../../Graphtheory/Generators/random_graph_generator.h"

class maintenance_problem_generator{
  random_graph_generator<CircSelectNodeFields, CircSelectEdgeFields> _graph_generator;
  size_t _number_of_critical_edges;
  size_t _length_of_interval;
public:
  maintenance_problem_generator(random_graph_generator<CircSelectNodeFields, CircSelectEdgeFields> graph_generator, size_t number_of_critical_edges, size_t length_of_interval);

  Maintenance_Problem next();
  void operator>>(Maintenance_Problem& mp);

};