|
| Crew (const Options &) |
| The actual model. More...
|
|
virtual void | print (std::ostream &os) const |
| Print solution. More...
|
|
| Crew (bool share, Crew &s) |
| Constructor for cloning s. More...
|
|
virtual Space * | copy (bool share) |
| Copy during cloning. More...
|
|
| ScriptBase (void) |
| Default constructor. More...
|
|
| ScriptBase (bool share, ScriptBase &e) |
| Constructor used for cloning. More...
|
|
virtual void | compare (const Space &, std::ostream &os) const |
| Compare with s. More...
|
|
template<class Script , template< class > class Engine, class Options > |
void | run (const Options &o, Script *s) |
|
template<class Script , template< class > class Engine, class Options , template< template< class > class, class > class Meta> |
void | runMeta (const Options &o, Script *s) |
|
Example: Airline crew allocation
Assign 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 94 of file crew.cpp.