public abstract class AbstractNetworkModel extends java.lang.Object implements NetworkModel
Modifier and Type | Method and Description |
---|---|
Network |
generate()
Generates a
Network instance. |
org.apache.commons.configuration.Configuration |
getConfiguration()
Returns a configuration object which can be used to set parameter values
for the network model.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public Network generate()
NetworkModel
Network
instance. Note that this method should only
be called after the NetworkModel
is configured properly.
To correctly configure a model, you should refer to the documentation of
each model. The various models should supply enough information in their
documentation about what kind of parameters are expected and the valid
values for each parameter.generate
in interface NetworkModel
public org.apache.commons.configuration.Configuration getConfiguration()
NetworkModel
Returns a configuration object which can be used to set parameter values
for the network model. After getting a configuration object and setting
the appropriate values, one can configure the model with the method
NetworkModel.configure(Configuration)
.
getConfiguration
in interface NetworkModel