public interface BarabasiAlbertModel extends NetworkModel
Defines an interface for the BarabasiAbert Network Model of preferential attachment. This interface defines a more specific configure method that receives the expected model configuration parameters.
You can either use the method configure(int, int, long)
present in the current interface or the general
configure
method from the NetworkModel
interface.
Modifier and Type | Method and Description |
---|---|
void |
configure(int numNodes,
int d,
long seed)
Configures the model to be executed with a given number of nodes and a
number of links to be added with each new node addition
|
configure, generate, getConfiguration
void configure(int numNodes, int d, long seed) throws org.apache.commons.configuration.ConfigurationException
numNodes
- the number of nodes to be created in this modelseed
- the random number generator seed to be used with this
NetworkModelorg.apache.commons.configuration.ConfigurationException