Miscellaneous scripts
This repository contains miscellaneous scripts that does not fit in one repository, yet I will use them sometimes for my personal use. Note that some of the scripts might contain hardcoded paths and opinionated presets, and you are advised to inspect them before actually using.
|
Public Member Functions | |
Lift (unsigned int _id, unsigned int _meanWaitingTime, unsigned int _stdDevWaitingTime) | |
auto | generateWaitingTime () const -> unsigned int |
auto | getAvailableTime (unsigned int currentTime) const -> unsigned int |
Public Attributes | |
const unsigned int | capacity = liftCapacity |
const unsigned int | id |
const unsigned int | meanWaitingTime |
const unsigned int | stdDevWaitingTime |
Friends | |
auto | operator<< (std::ostream &os, const Lift &lift) -> std::ostream & |
|
inline |
Definition at line 47 of file lift.cpp.
References id, meanWaitingTime, and stdDevWaitingTime.
Referenced by operator<<.
|
inlinenodiscard |
Definition at line 58 of file lift.cpp.
References meanWaitingTime, normDistSDBound, and stdDevWaitingTime.
Referenced by getAvailableTime().
|
inlinenodiscard |
Definition at line 76 of file lift.cpp.
References generateWaitingTime().
|
friend |
const unsigned int Lift::capacity = liftCapacity |
const unsigned int Lift::meanWaitingTime |
Definition at line 43 of file lift.cpp.
Referenced by Lift(), and generateWaitingTime().
const unsigned int Lift::stdDevWaitingTime |
Definition at line 44 of file lift.cpp.
Referenced by Lift(), and generateWaitingTime().