0.1.26
Loading...
Searching...
No Matches
pyhelios.plant_architecture_params.RandomParameterInt Class Reference

An int-valued parameter with a sampling distribution. More...

Detailed Description

An int-valued parameter with a sampling distribution.

Definition at line 105 of file plant_architecture_params.py.

Public Member Functions

"RandomParameterInt" constant (cls, int value)
 
"RandomParameterInt" uniform (cls, int min_val, int max_val)
 
"RandomParameterInt" discrete (cls, List[int] values)
 
Dict[str, Any] to_dict (self)
 
"RandomParameterInt" from_dict (cls, Dict[str, Any] d)
 

Static Public Attributes

str distribution = "constant"
 
List parameters = field(default_factory=lambda: [0])
 

Member Function Documentation

◆ constant()

"RandomParameterInt" pyhelios.plant_architecture_params.RandomParameterInt.constant ( cls,
int value )

Definition at line 111 of file plant_architecture_params.py.

◆ discrete()

"RandomParameterInt" pyhelios.plant_architecture_params.RandomParameterInt.discrete ( cls,
List[int] values )

Definition at line 121 of file plant_architecture_params.py.

◆ from_dict()

"RandomParameterInt" pyhelios.plant_architecture_params.RandomParameterInt.from_dict ( cls,
Dict[str, Any] d )

Definition at line 131 of file plant_architecture_params.py.

◆ to_dict()

Dict[str, Any] pyhelios.plant_architecture_params.RandomParameterInt.to_dict ( self)

Definition at line 126 of file plant_architecture_params.py.

◆ uniform()

"RandomParameterInt" pyhelios.plant_architecture_params.RandomParameterInt.uniform ( cls,
int min_val,
int max_val )

Definition at line 115 of file plant_architecture_params.py.

Member Data Documentation

◆ distribution

pyhelios.plant_architecture_params.RandomParameterInt.distribution = "constant"
static

Definition at line 107 of file plant_architecture_params.py.

◆ parameters

List pyhelios.plant_architecture_params.RandomParameterInt.parameters = field(default_factory=lambda: [0])
static

Definition at line 108 of file plant_architecture_params.py.


The documentation for this class was generated from the following file: