Create HEC Search class
File: /prrt/hec_search.py
class AbstractSearch():
def search(self, channelParameters, systemParameters, applicationParameters):
raise NotImplemented()
class HECFullSearch(AbstractSearch):
def __init__(self, np_max):
self.n_max = 255
pass
def search(self, channelParameters, systemParameters, applicationParameters):
self.k_lim = somewhat(applicationParameters.loss_tolerance, self.n_max)
# magic happens here
return CodingConfiguration()