Dynamic C-server Queueing System Simulation  1.0
Simulating data for delay prediction
Functions
station.cpp File Reference
#include "station.h"
Include dependency graph for station.cpp:

Functions

std::vector< float > read_csv (std::string filename, int index=1)
 Reads data from a CSV file. More...
 

Function Documentation

◆ read_csv()

std::vector<float> read_csv ( std::string  filename,
int  index = 1 
)

Reads data from a CSV file.

Will read a particular column from the CSV containing observed values of random variables.

Parameters
filenameThe path of the CSV file from which data is to be read.
indexIndex is the column number to be read.
Default 1. Column 0 is assumed to be the uniform random numbers generated.