blob: 8ff896bb3732ba32e395ed99152658726ae204de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef UTILS__BEST_H
#define UTILS__BEST_H
#include "max_plus.h"
typedef MaxPlus<double> best_t;
inline bool operator <(best_t const& a,best_t const& b) {
return a.v_>b.v_; // intentionally reversed, so default min-heap, sort, etc. put best first.
}
#endif
|