createDistribution
public static Distribution createDistribution(java.lang.String name,
java.lang.String distribution,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws java.lang.IllegalArgumentException
Method to generate instances of distributions.
Will return a distribution corresponding to the requested key.
- Parameters:
name
- The name of the distribution (will be preceded by a prefix specific to each concrete type of distribution)
distribution
- The key word for the respective distribution. For a list of valid keywords (and their correspondence to distributions), see the userDocumentation
parameters
- A map that should / needs to contain all relevant parameters to specify the requested distribution
- Returns:
- An instance of the distribution corresponding to the specified key (distribution)
- Throws:
java.lang.IllegalArgumentException
- this exception will be thrown if the necessary parameters for the specified distribution are not contained in the respective parameter