Package example.loadbalance

Load balancing example described in Peersim tutorial 1.

See:
          Description

Class Summary
AvgBalance This class implements the advanced load balancing scheme: each node is aware of the average load of the system.
BasicBalance This class implements a (simple) load balancing strategy: each node selects its most "distant" neighbor in terms of load difference and exchanges with it an amount of load not exceeding the BasicBalance.PAR_QUOTA parameter.
LBObserver This class monitors the state of the load balancing process at each cycle.
LinearDistributionInitializer This class provides a simple linear distribution in a bounded interval defined by LinearDistributionInitializer.PAR_MIN and LinearDistributionInitializer.PAR_MAX parameters.
QuotaObserver This class prints statistics about the actual quota consumptions.
ResetQuota This class restores the quota value at each node in the topology in order to be able to perform the next cycle.
 

Package example.loadbalance Description

Load balancing example described in Peersim tutorial 1.