def read_float(self): return unpack_float(self.file.read(_FLOAT_SIZE))[0]
def get_float(self, position): return unpack_float(self.map[position:position + _FLOAT_SIZE])[0]
def decode_weight(self, v): summedboost = unpack_float(v[_INT_SIZE:_INT_SIZE + _FLOAT_SIZE])[0] return summedboost * self.field_boost
def get_float(self, position): return unpack_float(self.get(position, _FLOAT_SIZE))[0]
def decode_weight(self, valuestring): summedboost = unpack_float(valuestring[_INT_SIZE:_INT_SIZE + _FLOAT_SIZE])[0] return summedboost