/*
* extension of Link to include constraints and Graph weight
*/
- // double capacity = 1;
double weight = 0;
spanOsnrLu = Math.pow(10, (spanOsnrDb / 10.0));
sum = PceConstraints.CONST_OSNR / spanOsnrLu;
linkOsnrLu = sum;
- //link_OSNR_dB = 10 * Math.log10(1 / sum);
LOG.debug("In retrieveOSNR: link OSNR is {} dB", linkOsnrLu);
return linkOsnrLu;
}