antsim
Interface ResourceDistribution

All Superinterfaces:
Clearable
All Known Implementing Classes:
GenericResourceDistribution, GnutantResourceDistribution, GnutantResourceDistribution, MessorResourceDistribution

public interface ResourceDistribution
extends Clearable

Classes implementing this interface are used to generate pre-defined resources at the beginning of a simulation.

Version:
$Revision: 1.2 $
Author:
Alberto Montresor

Field Summary
static String NAME
          Identifier used in the configuration files
 
Method Summary
 void distributeResources(ResourceSet resources, Peernet peernet)
          Distributes resources in a P2P network.
 
Methods inherited from interface anthill.util.Clearable
clear
 

Field Detail

NAME

public static final String NAME
Identifier used in the configuration files

See Also:
Constant Field Values
Method Detail

distributeResources

public void distributeResources(ResourceSet resources,
                                Peernet peernet)
Distributes resources in a P2P network.