test_elevator.cpp File Reference

#include "common_defs.h"
#include "elevator.h"
#include "elevator_logic_updown.h"
#include "elevator_group_simulator.h"
#include <iostream>
#include <initializer_list>
#include <list>
#include <fstream>
Include dependency graph for test_elevator.cpp:

Defines

#define NUM_RUNS   10
#define LOGIC   ElevatorLogicUpdown

Functions

void printLog (list< int > &log)
void logsMatch (Elevator *e, initializer_list< int > floors)
void printStats (ElevatorGroupSimulator *esim)
void writeStats (ElevatorGroupSimulator *esim, int seed, ofstream &f)
int main ()

Define Documentation

#define LOGIC   ElevatorLogicUpdown
#define NUM_RUNS   10

Function Documentation

void logsMatch ( Elevator e,
initializer_list< int >  floors 
)
int main (  ) 
void printLog ( list< int > &  log  ) 
void printStats ( ElevatorGroupSimulator esim  ) 
void writeStats ( ElevatorGroupSimulator esim,
int  seed,
ofstream &  f 
)
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines

Generated on 21 Mar 2019 for Elevator Simulator by  doxygen 1.6.1