Template Function ADS::shortestJobFirst

Function Documentation

template<class T>
std::vector<std::size_t> ADS::shortestJobFirst(const std::vector<T> &t)

the order of the programs, by increasing duration

Pre:

no time negative

Post:

the places by increasing time