crew.cc File Reference
(Revision: 3188)
#include "gecode/set.hh"
#include "examples/support.hh"
Go to the source code of this file.
Classes | |
class | Crew |
Example: Airline crew allocation More... | |
Enumerations | |
enum | Employees { Tom, David, Jeremy, Ron, Joe, Bill, Fred, Bob, Mario, Ed, Carol, Janet, Tracy, Marilyn, Carolyn, Cathy, Inez, Jean, Heather, Juliet } |
Functions | |
const char * | employeeToName (Employees e) |
int | main (int argc, char **argv) |
Variables | |
const Employees | employees [] |
const int | lastEmployee = Juliet |
const Employees | stewards [] |
const int | noOfStewards = 10 |
const Employees | hostesses [] |
const int | noOfHostesses = 10 |
const Employees | frenchSpeaking [] |
const int | noOfFrenchSpeaking = 4 |
const Employees | germanSpeaking [] |
const int | noOfGermanSpeaking = 5 |
const Employees | spanishSpeaking [] |
const int | noOfSpanishSpeaking = 7 |
const int | flights [][7] |
const int | len = 10 |
Enumeration Type Documentation
enum Employees |
Function Documentation
Variable Documentation
const int lastEmployee = Juliet |
const int noOfStewards = 10 |
const int noOfHostesses = 10 |
const Employees frenchSpeaking[] |
const int noOfFrenchSpeaking = 4 |
const Employees germanSpeaking[] |
const int noOfGermanSpeaking = 5 |
const Employees spanishSpeaking[] |
const int noOfSpanishSpeaking = 7 |
const int flights[][7] |