5#ifndef IMAGO_BV_UTILS_H
6#define IMAGO_BV_UTILS_H
9#include "routing_table.h"
72uint8_t valid_entry_count;
uint8_t maximum(void)
Returns the largest block value from neighboring blocks.
uint8_t inverse(uint8_t bv)
Returns the inverse of the supplied block value.
uint8_t get_block_value(uint32_t id)
Get the block value of a remote Cubelet.
uint8_t weighted_average(void)
Calculates a block value based on the on the weighted average of neighbors block values.
uint8_t minimum(void)
Returns the smallest block value from neighboring blocks.
void set_block_value(uint32_t id, uint8_t bv)
Manually override the block value of a specific block in the construction.