|
Operational Research Library
1.0
|
#include <FlowShopSchedulingProblem.h>


Public Member Functions | |
| FlowShopSchedulingProblem (unsigned int jobs, unsigned int machines, const std::vector< std::vector< double > > &processingTimes) | |
| Constructor. More... | |
| FlowShopSchedulingProblem (unsigned int jobs, unsigned int machines, double minProcessingTime, double maxProcessingTime, bool integerValues=false) | |
| Constructor. More... | |
| FlowShopSchedulingProblem (const std::string &filename) | |
| Constructor. More... | |
| void | readDataFromFile (const std::string &filename) |
| Reads flow shop scheduling problem data from a file with a filename. More... | |
| void | writeDataToFile (const std::string &filename) |
| Writes flow shop scheduling problem data to a file with a filename. More... | |
| void | showData () |
| Shows flow shop scheduling problem data. More... | |
| void | setData (unsigned int jobs, unsigned int machines, const std::vector< std::vector< double > > &processingTimes) |
| Setter for flow shop scheduling problem data. More... | |
| void | generateData (unsigned int jobs, unsigned int machines, double minProcessingTime, double maxProcessingTime, bool integerValues=false) |
| Generates flow shop scheduling problem data according to setup. More... | |
| double | evaluatePFSSP (const std::vector< unsigned int > &schedule) |
| Evaluates permutative flow shop scheduling problem with unlimited intermediate storage (permutative flow shop scheduling problem). More... | |
| double | evaluatePFSSP (const std::vector< unsigned int > &schedule, const std::string &filename) |
| Evaluates permutative flow shop scheduling problem with unlimited intermediate storage (permutative flow shop scheduling problem) to file with a filename. More... | |
| double | evaluateFSSPB (const std::vector< unsigned int > &schedule) |
| Evaluates flow shop scheduling problem with limited intermediate storage (flow shop scheduling problem with blocking). More... | |
| double | evaluateFSSPB (const std::vector< unsigned int > &schedule, const std::string &filename) |
| Evaluates flow shop scheduling problem with limited intermediate storage (flow shop scheduling problem with blocking) to file with a filename. More... | |
| double | evaluateFSSPNW (const std::vector< unsigned int > &schedule) |
| Evaluates flow shop scheduling problem with no-wait. More... | |
| double | evaluateFSSPNW (const std::vector< unsigned int > &schedule, const std::string &filename) |
| Evaluates flow shop scheduling problem with no-wait to file with a filename. More... | |
| unsigned int | getJobs () const |
| Getter for number of jobs. More... | |
| unsigned int | getMachines () const |
| Getter for number of machines. More... | |
| const std::vector< std::vector< double > > & | getProcessingTimes () const |
| Getter for number of processing times. More... | |
Public Member Functions inherited from operational_research::IData | |
| virtual | ~IData () |
| Virtual destructor. More... | |
| operational_research::FlowShopSchedulingProblem::FlowShopSchedulingProblem | ( | unsigned int | jobs, |
| unsigned int | machines, | ||
| const std::vector< std::vector< double > > & | processingTimes | ||
| ) |
Constructor.
| jobs | Number of jobs. |
| machines | Number of machines. |
| processingTimes | Processing times of jobs on machines. |
| std::invalid_argument | exception. |
| operational_research::FlowShopSchedulingProblem::FlowShopSchedulingProblem | ( | unsigned int | jobs, |
| unsigned int | machines, | ||
| double | minProcessingTime, | ||
| double | maxProcessingTime, | ||
| bool | integerValues = false |
||
| ) |
Constructor.
| jobs | Number of machines. |
| machines | Number of jobs. |
| minProcessingTime | Minimal processing time of job on machine. |
| maxProcessingTime | Maximal processing time of job on machine. |
| integerValues | True if generated data is integer values, false if generated data is real values. |
| std::invalid_argument | exception. |
| operational_research::FlowShopSchedulingProblem::FlowShopSchedulingProblem | ( | const std::string & | filename | ) |
Constructor.
| filename | Filename. |
| std::runtime_error | exception. |
| std::invalid_argument | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluateFSSPB | ( | const std::vector< unsigned int > & | schedule | ) |
Evaluates flow shop scheduling problem with limited intermediate storage (flow shop scheduling problem with blocking).
| schedule | Schedule. |
| std::invalid_argument | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluateFSSPB | ( | const std::vector< unsigned int > & | schedule, |
| const std::string & | filename | ||
| ) |
Evaluates flow shop scheduling problem with limited intermediate storage (flow shop scheduling problem with blocking) to file with a filename.
| schedule | Schedule. |
| filename | Filename. |
| std::invalid_argument | exception. |
| std::runtime_error | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluateFSSPNW | ( | const std::vector< unsigned int > & | schedule | ) |
Evaluates flow shop scheduling problem with no-wait.
| schedule | Schedule. |
| std::invalid_argument | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluateFSSPNW | ( | const std::vector< unsigned int > & | schedule, |
| const std::string & | filename | ||
| ) |
Evaluates flow shop scheduling problem with no-wait to file with a filename.
| schedule | Schedule. |
| filename | Filename. |
| std::invalid_argument | exception. |
| std::runtime_error | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluatePFSSP | ( | const std::vector< unsigned int > & | schedule | ) |
Evaluates permutative flow shop scheduling problem with unlimited intermediate storage (permutative flow shop scheduling problem).
| schedule | Schedule. |
| std::invalid_argument | exception. |
| double operational_research::FlowShopSchedulingProblem::evaluatePFSSP | ( | const std::vector< unsigned int > & | schedule, |
| const std::string & | filename | ||
| ) |
Evaluates permutative flow shop scheduling problem with unlimited intermediate storage (permutative flow shop scheduling problem) to file with a filename.
| schedule | Schedule. |
| filename | Filename. |
| std::invalid_argument | exception. |
| std::runtime_error | exception. |
| void operational_research::FlowShopSchedulingProblem::generateData | ( | unsigned int | jobs, |
| unsigned int | machines, | ||
| double | minProcessingTime, | ||
| double | maxProcessingTime, | ||
| bool | integerValues = false |
||
| ) |
Generates flow shop scheduling problem data according to setup.
| jobs | Number of machines. |
| machines | Number of jobs. |
| minProcessingTime | Minimal processing time of job on machine. |
| maxProcessingTime | Maximal processing time of job on machine. |
| integerValues | True if generated data is integer values, false if generated data is real values. |
| std::invalid_argument | exception. |
|
inline |
Getter for number of jobs.
|
inline |
Getter for number of machines.
|
inline |
Getter for number of processing times.
|
virtual |
Reads flow shop scheduling problem data from a file with a filename.
| filename | Filename. |
| std::runtime_error | exception. |
| std::invalid_argument | exception. |
Implements operational_research::IData.
| void operational_research::FlowShopSchedulingProblem::setData | ( | unsigned int | jobs, |
| unsigned int | machines, | ||
| const std::vector< std::vector< double > > & | processingTimes | ||
| ) |
Setter for flow shop scheduling problem data.
| jobs | Number of jobs. |
| machines | Number of machines. |
| processingTimes | Processing times of jobs on machines. |
| std::invalid_argument | exception. |
|
virtual |
Shows flow shop scheduling problem data.
Implements operational_research::IData.
|
virtual |
Writes flow shop scheduling problem data to a file with a filename.
| filename | Filename. |
| std::runtime_error | exception. |
Implements operational_research::IData.
1.8.9.1