com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams
Class NodeLifetime
java.lang.Object
com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams.NodeLifetime
public class NodeLifetime
- extends Object
- Author:
- pradip de pradip.de@sun.com
incBytesTransCount
public void incBytesTransCount(int bytes)
incBytesRecvdCount
public void incBytesRecvdCount(int bytes)
calcTransEnergyForBytes
public double calcTransEnergyForBytes(long byteSize)
calcRecvEnergyForBytes
public double calcRecvEnergyForBytes(long byteSize)
updateBytesProcInSlot
public void updateBytesProcInSlot()
calcNodeEnergyBurnRate
public void calcNodeEnergyBurnRate()
getNormNodeLifetime
public double getNormNodeLifetime()
Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.