/** * * Ricky Estevez * University of Colorado at Colorado Springs * CS 526, Spring 2005, Dr. Chow * * Based on DiscModel provided in TinyViz implemenation */ package net.tinyos.sim; public class WiFiModel implements PropagationModel { // attributes private String version; public WiFiModel(String version) { this.version = version; } public String toString() { return "WiFi Model 802.11" + version; } /** * getBitLossRate * * @param packetLossRate double * @return double */ public double getBitLossRate(double packetLossRate) { return 0.0; } /** * getPacketLossRate * * @param distance double * @param scalingFactor double * @return double */ public double getPacketLossRate(double distance, double scalingFactor) { return 0.0; } }