crew.cc File Reference
(Revision: 3517)
#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
|
|
|
Function Documentation
|
|
|
|
||||||||||||
|
|
Variable Documentation
|
|
Initial value: |
|
|
|
|
|
Initial value: |
|
|
|
|
|
Initial value: |
|
|
|
|
|
Initial value: |
|
|
|
|
|
Initial value: |
|
|
|
|
|
Initial value: |
|
|
|
|
|
Initial value:
{ {1,4,1,1,1,1,1},
{2,5,1,1,1,1,1},
{3,5,1,1,1,1,1},
{4,6,2,2,1,1,1},
{5,7,3,3,1,1,1},
{6,4,1,1,1,1,1},
{7,5,1,1,1,1,1},
{8,6,1,1,1,1,1},
{9,6,2,2,1,1,1},
{10,7,3,3,1,1,1} }
|
|
|
|
