generator  1.2
Generator.h
Go to the documentation of this file.
1 /*
2  This file is part of the GeneratorOfDatasets program.
3 
4  GeneratorOfDatasets is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  GeneratorOfDatasets is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with GeneratorOfDatasets. If not, see <http://www.gnu.org/licenses/>.
16 */
17 #ifndef HLIDAC_PES_GENERATOR_H
18 #define HLIDAC_PES_GENERATOR_H
19 
26 #include <string>
27 #include <vector>
28 #include "Settings.h"
29 #include "RoboticLine.h"
30 #include "ProjectParameters.h"
31 
37 class Generator {
38  public:
39  Generator() { }
40  void setParameters(const ProjectParameters& par) {
41  mParameters = par;
42  }
43 
48  void generateProblems(uint32_t numberOfProblems = Settings::NUMBER_OF_INSTANCES);
49  private:
52 };
53 
54 #endif
ProjectParameters mParameters
Desired properties of the generated instances.
Definition: Generator.h:51
The structure with desired properties for the generated instances.
void generateProblems(uint32_t numberOfProblems=Settings::NUMBER_OF_INSTANCES)
It generates the specified number of instances and writes them to the xml file.
Definition: Generator.cpp:30
The file declares the structure for storing the properties of generated instances.
It declares the namespace for program settings.
It encapsulates the RoboticLine and XmlWriter classes and adds the additional features.
Definition: Generator.h:37
The file contains various classes devoted to abstract representation of the robotic cell...