28 #ifndef BP_CONSTS_ENUMS_ALIASES_H_
29 #define BP_CONSTS_ENUMS_ALIASES_H_
60 template <RunData_ptr T>
71 template <RunData_ptr T>
Define constraints for data type in processing.
Namespace for enums, constants, structures, and functions specific to belief propagation processing.
BpKernel
Enum corresponding to each kernel in belief propagation that can be run in parallel.
std::array< T, kNumCheckerboardParts > DataCostsCheckerboards
Define alias for two-element array with data costs for each bp processing checkerboard....
constexpr unsigned int kNumCheckerboardParts
Number of checkerboard parts for processing.
constexpr unsigned int kNumKernels
constexpr unsigned int kNumMessageArrays
Number of message arrays in each checkerboard part.
CheckerboardPart
Define the two checkerboard "parts" that the image is divided into.
std::array< std::array< T, kNumMessageArrays >, kNumCheckerboardParts > CheckerboardMessages
Define alias for array with message costs for each bp processing checkerboard. Each checkerboard mes...