Home | Trees | Indices | Help |
|
---|
|
SCA_ILogicBrick.SCA_ILogicBrick --+ | SCA_IActuator.SCA_IActuator --+ | SCA_RandomActuator
Instance Methods | |||
|
|||
integer |
|
||
float |
|
||
float |
|
||
distribution type |
|
||
|
|||
string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Method Details |
Sets the seed of the random number generator. Equal seeds produce equal series. If the seed is 0, the generator will produce the same value on every call. |
Returns the first parameter of the active distribution. Refer to the documentation of the generator types for the meaning of this value.
|
Returns the second parameter of the active distribution. Refer to the documentation of the generator types for the meaning of this value.
|
|
Set the property to which the random value is assigned. If the generator and property types do not match, the assignment is ignored.
|
|
Sets this generator to produce a uniform boolean distribution. The generator will generate True or False with 50% chance. |
|
|
|
Generate a Poisson-distributed number. This performs a series of Bernouilli tests with parameter value. It returns the number of tries needed to achieve succes. |
|
|
|
Generate negative-exponentially distributed numbers. The half-life 'time' is characterized by half_life. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Tue May 20 07:56:37 2008 | http://epydoc.sourceforge.net |