#include <FlowShopBenchmarkParser.h>
Public Member Functions | |
| FlowShopBenchmarkParser (const std::string _benchmarkFileName) | |
| Ctor. | |
| const unsigned int | getM () |
| the number of machines | |
| const unsigned int | getN () |
| the number of jobs | |
|
const std::vector< std::vector< unsigned int > > | getP () |
| the processing times | |
|
const std::vector< unsigned int > | getD () |
| the due-dates | |
| void | printOn (std::ostream &_os) const |
| printing. | |
Private Member Functions | |
| void | init (const std::string _benchmarkFileName) |
| Initialisation of the parameters with the data contained in the benchmark file. | |
Private Attributes | |
| unsigned int | M |
| number of machines | |
| unsigned int | N |
| number of jobs | |
|
std::vector< std::vector< unsigned int > > | p |
| p[i][j] = processing time of job j on machine i | |
| std::vector< unsigned int > | d |
| d[j] = due-date of the job j | |
Definition at line 23 of file FlowShopBenchmarkParser.h.
| FlowShopBenchmarkParser::FlowShopBenchmarkParser | ( | const std::string | _benchmarkFileName | ) |
Ctor.
| _benchmarkFileName | the name of the benchmark file |
Definition at line 16 of file FlowShopBenchmarkParser.cpp.
References init().
| void FlowShopBenchmarkParser::printOn | ( | std::ostream & | _os | ) | const |
| void FlowShopBenchmarkParser::init | ( | const std::string | _benchmarkFileName | ) | [private] |
Initialisation of the parameters with the data contained in the benchmark file.
| _benchmarkFileName | the name of the benchmark file |
Definition at line 64 of file FlowShopBenchmarkParser.cpp.
Referenced by FlowShopBenchmarkParser().
1.4.7