removed debug output

This commit is contained in:
fros4943 2007-03-23 21:22:37 +00:00
parent 996446e8e3
commit 0c1e8278ed

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: MRM.java,v 1.4 2007/03/23 21:13:43 fros4943 Exp $ * $Id: MRM.java,v 1.5 2007/03/23 21:22:37 fros4943 Exp $
*/ */
package se.sics.mrm; package se.sics.mrm;
@ -308,24 +308,20 @@ public class MRM extends AbstractRadioMedium {
} }
public void addDestination(Radio radio, double signalStrength) { public void addDestination(Radio radio, double signalStrength) {
logger.debug("adding dest for " + radio + " => " + signalStrength);
signalStrengths.put(radio, signalStrength); signalStrengths.put(radio, signalStrength);
addDestination(radio); addDestination(radio);
} }
public void addInterfered(Radio radio, double signalStrength) { public void addInterfered(Radio radio, double signalStrength) {
logger.debug("adding interference for " + radio + " => " + signalStrength);
signalStrengths.put(radio, signalStrength); signalStrengths.put(radio, signalStrength);
addInterfered(radio); addInterfered(radio);
} }
public double getDestinationSignalStrength(Radio radio) { public double getDestinationSignalStrength(Radio radio) {
logger.debug("fetching dest for " + radio + " from " + signalStrengths);
return signalStrengths.get(radio); return signalStrengths.get(radio);
} }
public double getInterferenceSignalStrength(Radio radio) { public double getInterferenceSignalStrength(Radio radio) {
logger.debug("fetching interference for " + radio + " from " + signalStrengths);
return signalStrengths.get(radio); return signalStrengths.get(radio);
} }
} }