Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages   Examples  

Shop.cpp File Reference


Detailed Description

Shop example with ODEMx.

Author:
Ralf Gerstenberger
Date:
created at 2003/07/15

This example shows techniques how to realise a simulation with ODEMx.

Since:
1.0s


Functions

int main (int argc, char *argv[])

Variables

const char * GOODS []
const int NUMBER_OF_GOODS = sizeof(GOODS) / sizeof(const char*)
const int INIT_STOCK = 50
const int INIT_TILLS = 5
const int INIT_PERSONAL = 8
const int SHELF_CAPACITY = 15
const int ACCEPTED_QUEUE_LENGTH = 5
const int ACCEPTED_SHELF_STOCK = 5
const SimTime PAYMENT_DELAY = 5.0
const SimTime RESTOCK_DELAY = 15.0
const SimTime TAKE_DELAY = 1.0
const SimTime MOVE_DELAY = 1.0
const SimTime STOCKKEEPER_DELAY = 60.0


Variable Documentation

const char* GOODS[] [static]
 

Initial value:

 {"Apple", "Bananas", "Bread", "Butter", "Candies",
                                                          "Cheese", "Chips", "Chocolate", "Mixed-pickles", "Fish",
                                                          "Jam", "Juice", "Lemon", "Lemonade", "Marmalade",
                                                          "Milk", "Orange", "Pepper", "Pineapples", "Pork",
                                                          "Salami", "Salt", "Sugar", "Tomatoes", "Water"}


Generated on Mon Aug 11 10:36:06 2003 for ODEMx by doxygen1.3