Automation of HAP algorithm

Automated the Heterogeneous Assignment with Probability (HAP) model for
optimizing the power consumption in a DSP application using C++. This
solution is for a generalized case where there can be 'n' number of
nodes(entries) and each entry can in turn have 'm' number of
manufacturers