Crew Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: Airline crew allocationAssign 20 flight attendants to 10 flights. Each flight needs a certain number of cabin crew, and they have to speak certain languages. Every cabin crew member has two flights off after an attended flight.
Definition at line 116 of file crew.cc.
Public Member Functions | |
Crew (const Options &o) | |
Crew (bool share, Crew &s) | |
virtual Space * | copy (bool share) |
Copying member function. | |
virtual void | print (void) |
Public Attributes | |
SetVarArray | root |
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Copying member function. Must create a new object using the constructor for cloning. Implements Gecode::Space. |
|
Reimplemented from Example. |
Member Data Documentation
|
|
The documentation for this class was generated from the following file:
- examples/crew.cc (Revision: 3517)