this class store as a distance: More...
#include <capacitated_voronoi.hpp>
Public Types | |
typedef metric_traits< Metric > ::DistanceType | DistI |
Public Member Functions | |
Dist (DistI real, DistI distToFullAssign) | |
constructor More... | |
Dist | operator- (Dist d) |
operator- More... | |
DistI | get_dist_to_full_assignment () const |
how many vertices are not covered | |
DistI | get_real_dist () const |
sum of distances from vertices to facilities | |
bool | operator== (Dist d) const |
operator== More... | |
bool | operator> (Dist d) const |
operator> More... | |
const Dist & | operator+= (Dist d) |
operator+= More... | |
Dist | operator+ (Dist d) |
operator+ More... | |
Dist | operator- () |
unary -operator More... | |
Friends | |
Dist | operator+ (DistI di, Dist d) |
Dist + scalar (interpreted as real distance) More... | |
template<typename Stream > | |
Stream & | operator<< (Stream &s, Dist d) |
operator<< More... | |
this class store as a distance:
Definition at line 55 of file capacitated_voronoi.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Dist + scalar (interpreted as real distance)
di | |
d |
Definition at line 155 of file capacitated_voronoi.hpp.
|
friend |
operator<<
Stream |
s | |
d |
Definition at line 169 of file capacitated_voronoi.hpp.