Now, suppose a node’s willingness to forward packets is a
function of its remaining battery capacity. The less capacity
it has, the more reluctant it is. As the battery capacity
decreases, the value of cost function for node ni will
increase. The battery cost Rj for route i, consisting of D
nodes, is