Cambridge SMT System
|
Templated Functor to generate a sparse vector weight from any other representation. More...
#include <tropical-sparse-tuple-weight.makeweight.h>
Public Member Functions | |
MakeSparseVectorWeight (int32_t k) | |
TropicalSparseTupleWeight< float > | operator() (const typename Arc::Weight &w) const |
Templated Functor to generate a sparse vector weight from any other representation.
Definition at line 29 of file tropical-sparse-tuple-weight.makeweight.h.
|
inlineexplicit |
Definition at line 30 of file tropical-sparse-tuple-weight.makeweight.h.
|
inline |
Definition at line 34 of file tropical-sparse-tuple-weight.makeweight.h.