Template Struct CostTraits

Struct Documentation

template<class T>
struct brille::CostTraits

Type information for cost-matrix elements used by Linear Assignment Problem solvers.

Linear Assignment Problem algorithms can only handle real-valued costs. Since it is desirable to make assignments of complex-valued data we need means by which to identify the underlying real data type.

| template typename | type | max | | T | T | std::numeric_limits<T>::max() | | std::complex<T> | T | std::numeric_limits<T>::max() |

Public Types

using type = T

Public Static Attributes

constexpr T max = (std::numeric_limits<T>::max)()