Navigation
| class Modifiable( object ) | Source |
|---|
Class adjoint to Model which implements the modifiable behaviour of some Models.
In the inhertance list is should be before Model as it changes the behaviour of Model.
| Modifiable( modifiable=True ) |
|---|
Constructor for Modifiable
Parameters
- modifiable : bool
True if the Model is to be considered modifiable.
| isModifiable( ) |
|---|
| vary( location=None, rng=None, **kwargs ) |
|---|
Parameters
- location : int
index of the item to be modified; otherwise random - rng : RNG
random number generator - kwargs : keyword arguments
for specific implementations