ElevatorGroupSimulator Class Reference

#include <elevator_group_simulator.h>

Collaboration diagram for ElevatorGroupSimulator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ElevatorGroupSimulator ()
void setElevators (Elevator **es, int ecount)
int getElevatorCount () const
void setLogic (ElevatorLogic *el)
void spawnPassenger (int startingFloor, int desiredFloor)
int getPassengerCountInElevator (Elevator *e) const
void step ()
void runUntilAllHalted ()
void runUntilHalted (Elevator *e)
void reset ()
int getStepCount () const
int getPassengerCount () const
int getSatisfiedPassengerCount () const
double getAverageCallTime () const
double getAverageInElevatorTime () const
double getAverageSatisfactionTime () const
 ~ElevatorGroupSimulator ()

Constructor & Destructor Documentation

ElevatorGroupSimulator::ElevatorGroupSimulator (  ) 
ElevatorGroupSimulator::~ElevatorGroupSimulator (  ) 

Member Function Documentation

double ElevatorGroupSimulator::getAverageCallTime (  )  const
double ElevatorGroupSimulator::getAverageInElevatorTime (  )  const
double ElevatorGroupSimulator::getAverageSatisfactionTime (  )  const
int ElevatorGroupSimulator::getElevatorCount (  )  const
int ElevatorGroupSimulator::getPassengerCount (  )  const
int ElevatorGroupSimulator::getPassengerCountInElevator ( Elevator e  )  const
int ElevatorGroupSimulator::getSatisfiedPassengerCount (  )  const
int ElevatorGroupSimulator::getStepCount (  )  const
void ElevatorGroupSimulator::reset (  ) 
void ElevatorGroupSimulator::runUntilAllHalted (  ) 
void ElevatorGroupSimulator::runUntilHalted ( Elevator e  ) 
void ElevatorGroupSimulator::setElevators ( Elevator **  es,
int  ecount 
)
void ElevatorGroupSimulator::setLogic ( ElevatorLogic el  ) 
void ElevatorGroupSimulator::spawnPassenger ( int  startingFloor,
int  desiredFloor 
)
void ElevatorGroupSimulator::step (  ) 

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines

Generated on 21 Mar 2019 for Elevator Simulator by  doxygen 1.6.1