Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
min_max.h File Reference
#include <vector>
#include <assert.h>
Include dependency graph for min_max.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  RoutingKit
 

Functions

template<class T >
unsigned RoutingKit::first_max_element_position_of (const std::vector< T > &v)
 
template<class T >
unsigned RoutingKit::first_min_element_position_of (const std::vector< T > &v)
 
template<class T >
const T & RoutingKit::max_element_of (const std::vector< T > &v)
 
template<class T >
const T & RoutingKit::max_element_of (const std::vector< T > &v, const T &empty_value)
 
template<class T >
void RoutingKit::max_to (T &x, const T &y)
 
template<class T >
const T & RoutingKit::min_element_of (const std::vector< T > &v)
 
template<class T >
const T & RoutingKit::min_element_of (const std::vector< T > &v, const T &empty_value)
 
template<class T >
void RoutingKit::min_to (T &x, const T &y)