CISC 2200 Project 4
Public Member Functions | Public Attributes | List of all members
EventList Struct Reference

holds arrival and departure events that haven't yet arrived at the bank More...

Public Member Functions

void fill (istream &is)
 fill the event list from an input stream More...
 
void simulate ()
 actually does the bank simulation More...
 

Public Attributes

EventPQType eventListPQ
 priority queue that holds the event list itself
 

Detailed Description

holds arrival and departure events that haven't yet arrived at the bank

Member Function Documentation

void EventList::fill ( istream &  is)

fill the event list from an input stream

Parameters
isthe input stream
Postcondition
the event list has been filled up
void EventList::simulate ( )

actually does the bank simulation

Postcondition
all customers have been processed

The documentation for this struct was generated from the following file: