/usr/include/opengm/functions/function_registration.hxx is in libopengm-dev 2.3.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #pragma once
#ifndef OPENGM_FUNCTION_REGISTRATION_HXX
#define OPENGM_FUNCTION_REGISTRATION_HXX
namespace opengm {
/// \var FUNCTION_TYPE_ID_OFFSET
///
/// User-defined function have ids smaller than FUNCTION_TYPE_ID_OFFSET
///
const size_t FUNCTION_TYPE_ID_OFFSET = 16000;
/// FunctionRegistration
///
/// assigns a unique index to each I/O-comatible function
///
template<class FUNCTION_TYPE> struct FunctionRegistration;
/// FunctionSerialization
///
/// used to serialize a function into two vectors,
/// a vector of values and a vector of indices
///
template<class T> class FunctionSerialization;
} // namespace opengm
#endif // OPENGM_FUNCTION_REGISTRATION_HXX
|