de.cesr.more.param
Enum MRandomPa

java.lang.Object
  extended by java.lang.Enum<MRandomPa>
      extended by de.cesr.more.param.MRandomPa
All Implemented Interfaces:
de.cesr.parma.core.PmParameterDefinition, Serializable, Comparable<MRandomPa>

public enum MRandomPa
extends Enum<MRandomPa>
implements de.cesr.parma.core.PmParameterDefinition

Definition of random streams related parameters for MORe

Date:
27.09.2011

Enum Constant Summary
RANDOM_SEED
          Random seed used for all random streams throughout the model that not a specialised random stream defined.
RANDOM_SEED_NETWORK_BUILDING
          Random seed used for network building processes.
RANDOM_SEED_NETWORK_DYNAMICS
          Random seed used for network building processes.
RND_STREAM
          The name of the random stream used for network building processes.
RND_STREAM_NETWORK_BUILDING
          The name of the random stream used for network building processes.
RND_STREAM_NETWORK_DYNAMICS
          The name of the random stream used for network building processes.
RND_STREAM_RANDOM_NETWORK_BUILDING
          Used for MRandomNetworkGenerator.
RND_UNIFORM_DIST_NETWORK_BUILDING
          The name of the random stream used for network building processes.
RND_UNIFORM_DIST_NETWORK_DYNAMICS
           
 
Field Summary
static String RND_STREAM_NETWORK_BUILDING_CUSTOMISED
           
static String RND_STREAM_NETWORK_DYNAMICS_CUSTOMISED
           
static String RND_STREAM_RANDOM_NETWORK_BUILDING_CUSTOMISED
           
 
Method Summary
 Object getDefaultValue()
           
 Class<?> getType()
           
static MRandomPa valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MRandomPa[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.cesr.parma.core.PmParameterDefinition
getDeclaringClass
 

Enum Constant Detail

RANDOM_SEED

public static final MRandomPa RANDOM_SEED
Random seed used for all random streams throughout the model that not a specialised random stream defined. Default: 0.


RANDOM_SEED_NETWORK_BUILDING

public static final MRandomPa RANDOM_SEED_NETWORK_BUILDING
Random seed used for network building processes. Default: 0.


RANDOM_SEED_NETWORK_DYNAMICS

public static final MRandomPa RANDOM_SEED_NETWORK_DYNAMICS
Random seed used for network building processes. Default: 0.


RND_STREAM

public static final MRandomPa RND_STREAM
The name of the random stream used for network building processes. Default: Network-Building stream.


RND_STREAM_NETWORK_BUILDING

public static final MRandomPa RND_STREAM_NETWORK_BUILDING
The name of the random stream used for network building processes. Default: Network-Building stream.


RND_STREAM_NETWORK_DYNAMICS

public static final MRandomPa RND_STREAM_NETWORK_DYNAMICS
The name of the random stream used for network building processes. Default: Network-Dynamics Stream.


RND_STREAM_RANDOM_NETWORK_BUILDING

public static final MRandomPa RND_STREAM_RANDOM_NETWORK_BUILDING
Used for MRandomNetworkGenerator.


RND_UNIFORM_DIST_NETWORK_BUILDING

public static final MRandomPa RND_UNIFORM_DIST_NETWORK_BUILDING
The name of the random stream used for network building processes. Default: Uniform network-building .


RND_UNIFORM_DIST_NETWORK_DYNAMICS

public static final MRandomPa RND_UNIFORM_DIST_NETWORK_DYNAMICS
Field Detail

RND_STREAM_NETWORK_BUILDING_CUSTOMISED

public static final String RND_STREAM_NETWORK_BUILDING_CUSTOMISED
See Also:
Constant Field Values

RND_STREAM_NETWORK_DYNAMICS_CUSTOMISED

public static final String RND_STREAM_NETWORK_DYNAMICS_CUSTOMISED
See Also:
Constant Field Values

RND_STREAM_RANDOM_NETWORK_BUILDING_CUSTOMISED

public static final String RND_STREAM_RANDOM_NETWORK_BUILDING_CUSTOMISED
See Also:
Constant Field Values
Method Detail

values

public static MRandomPa[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MRandomPa c : MRandomPa.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MRandomPa valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public Class<?> getType()
Specified by:
getType in interface de.cesr.parma.core.PmParameterDefinition
See Also:
PmParameterDefinition.getType()

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in interface de.cesr.parma.core.PmParameterDefinition
See Also:
PmParameterDefinition.getDefaultValue()