Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
#include <jobshop.h>
Public Types | |
enum | ProblemType { UNDEFINED, JSSP, TAILLARD } |
enum | TaillardState { START, JOBS_READ, MACHINES_READ, SEED_READ, JOB_ID_READ, JOB_LENGTH_READ, JOB_READ } |
Public Member Functions | |
JobShopData () | |
~JobShopData () | |
void | Load (const string &filename) |
Parses a file in jssp or taillard format and loads the model. | |
int | machine_count () const |
The number of machines in the jobshop. | |
int | job_count () const |
The number of jobs in the jobshop. | |
const string & | name () const |
The name of the jobshop instance. | |
int | horizon () const |
The horizon of the workshop (the sum of all durations), which is a trivial upper bound of the optimal make_span. | |
const std::vector< Task > & | TasksOfJob (int job_id) const |
Returns the tasks of a job, ordered by precedence. | |
Classes | |
struct | Task |
A task is the basic block of a jobshop. More... |
A JobShopData parses data files and stores all data internally for easy retrieval.
Definition at line 52 of file jobshop.h.
operations_research::JobShopData::~JobShopData | ( | ) | [inline] |
void operations_research::JobShopData::Load | ( | const string & | filename | ) | [inline] |
int operations_research::JobShopData::machine_count | ( | ) | const [inline] |
int operations_research::JobShopData::job_count | ( | ) | const [inline] |
const string& operations_research::JobShopData::name | ( | ) | const [inline] |
int operations_research::JobShopData::horizon | ( | ) | const [inline] |
const std::vector<Task>& operations_research::JobShopData::TasksOfJob | ( | int | job_id | ) | const [inline] |