My cost function uses the signal to noise parametter, now i am in simulation and i don't know how to implement it, how to compute it, please, your help
SNR is anlog merit parameter t that has trade off with bandwidth and mathematical relation is given by Shannon, with limiting factor channel capacity. In digital world nearest to noise is BER, and equivalent to signal strength is good throughput. So if you want to incorporate SNR fpr routing you may have to see the relation between throughput and BER may be in form of probablity.