MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / max

Method max

pyvrp/cpp/Matrix.h:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114template <typename T> size_t Matrix<T>::numRows() const { return rows_; }
115
116template <typename T> T Matrix<T>::max() const
117{
118 return *std::max_element(data_.begin(), data_.end());
119}
120
121template <typename T> size_t Matrix<T>::size() const { return data_.size(); }
122} // namespace pyvrp

Callers 5

_distance_matricesMethod · 0.45
plot_time_windowsFunction · 0.45
test_boundsFunction · 0.45
test_randFunction · 0.45
test_vrpspd_instanceFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 3

test_boundsFunction · 0.36
test_randFunction · 0.36
test_vrpspd_instanceFunction · 0.36