crew.cc File Reference
(Revision: 5815)
#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 | Employee { Tom, David, Jeremy, Ron, Joe, Bill, Fred, Bob, Mario, Ed, Carol, Janet, Tracy, Marilyn, Carolyn, Cathy, Inez, Jean, Heather, Juliet } |
| The airline employees. More... | |
Variables | |
| const int | noOfStewards = sizeof(stewards) / sizeof(int) |
| The number of stewards. | |
| const int | noOfHostesses = sizeof(hostesses) / sizeof(int) |
| The number of hostesses. | |
| const int | spanishSpeaking [] |
| The Spanish speaking employees. | |
| const int | noOfSpanishSpeaking = sizeof(spanishSpeaking) / sizeof(int) |
| The number of Spanish speaking employees. | |
| const int | frenchSpeaking [] |
| The French speaking employees. | |
| const int | noOfFrenchSpeaking = sizeof(frenchSpeaking) / sizeof(int) |
| The number of French speaking employees. | |
| const int | germanSpeaking [] |
| The German speaking employees. | |
| const int | noOfGermanSpeaking = sizeof(germanSpeaking) / sizeof(int) |
| The number of German speaking employees. | |
| const Flight | requiredCrew [] |
| The flights to schedule. | |
| const int | noOfFlights = sizeof(requiredCrew) / sizeof(Flight) |
| The number of flights to schedule. | |
Enumeration Type Documentation
| enum Employee |
Variable Documentation
| const int stewards |
| const int hostesses |
| int spanish |
| const int noOfStewards = sizeof(stewards) / sizeof(int) |
| const int noOfHostesses = sizeof(hostesses) / sizeof(int) |
| const int spanishSpeaking |
| const int noOfSpanishSpeaking = sizeof(spanishSpeaking) / sizeof(int) |
| const int frenchSpeaking |
| const int noOfFrenchSpeaking = sizeof(frenchSpeaking) / sizeof(int) |
| const int germanSpeaking |
| const int noOfGermanSpeaking = sizeof(germanSpeaking) / sizeof(int) |
| const Flight requiredCrew |
| const int noOfFlights = sizeof(requiredCrew) / sizeof(Flight) |
