Rev 329 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#include "controller.h"
Controller::Controller (int num_floors, int num_elevators) : num_floors (num_floors), num_elevators (num_elevators)
{
assert (num_floors > 2);
assert (num_elevators > 0);
elevators = vector<Elevator> (num_elevators, Elevator (num_floors));
}
Controller::~Controller ()
{
}
void Controller::request_elevator (int on_floor)
{
}