Dynamic C-server Queueing System Simulation  1.0
Simulating data for delay prediction
Classes | Functions
station.h File Reference
#include "./../includes.h"
Include dependency graph for station.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  station
 

Functions

std::vector< float > read_csv (std::string filename, int index)
 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.