JobShopBase Class Reference
[Example scripts (models)]
Example: Job Shop Scheduling More...
Public Member Functions | |
JobShopBase (const JobShopOptions &o) | |
Actual model. | |
void | nooverload (void) |
Do not overload machines. | |
virtual IntVar | cost (void) const |
Return cost. | |
JobShopBase (JobShopBase &s) | |
Constructor for cloning s. | |
virtual void | print (std::ostream &os) const |
Print solution. | |
Protected Attributes | |
const JobShopOptions & | opt |
Options. | |
const Spec | spec |
Specification. | |
IntVarArray | start |
Start times for each step in a job. | |
IntVar | makespan |
Makespan. |
Detailed Description
Example: Job Shop Scheduling
Definition at line 268 of file job-shop.cpp.
Constructor & Destructor Documentation
JobShopBase::JobShopBase | ( | const JobShopOptions & | o | ) | [inline] |
Actual model.
Definition at line 280 of file job-shop.cpp.
JobShopBase::JobShopBase | ( | JobShopBase & | s | ) | [inline] |
Constructor for cloning s.
Definition at line 324 of file job-shop.cpp.
Member Function Documentation
void JobShopBase::nooverload | ( | void | ) | [inline] |
Do not overload machines.
Definition at line 297 of file job-shop.cpp.
virtual IntVar JobShopBase::cost | ( | void | ) | const [inline, virtual] |
Return cost.
Definition at line 320 of file job-shop.cpp.
virtual void JobShopBase::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Definition at line 331 of file job-shop.cpp.
Member Data Documentation
const JobShopOptions& JobShopBase::opt [protected] |
Options.
Definition at line 271 of file job-shop.cpp.
const Spec JobShopBase::spec [protected] |
Specification.
Definition at line 273 of file job-shop.cpp.
IntVarArray JobShopBase::start [protected] |
Start times for each step in a job.
Definition at line 275 of file job-shop.cpp.
IntVar JobShopBase::makespan [protected] |
Makespan.
Definition at line 277 of file job-shop.cpp.
The documentation for this class was generated from the following file:
- examples/job-shop.cpp