1.3.49
 
Loading...
Searching...
No Matches
RandomParameter_int Struct Reference

Random architecture model parameter value of type int. More...

#include <PlantArchitecture.h>

Public Member Functions

void initialize (int a_val, std::minstd_rand0 *rand_generator)
 
void initialize (std::minstd_rand0 *rand_generator)
 
RandomParameter_intoperator= (int a)
 
void uniformDistribution (int minval, int maxval)
 
void discreteValues (const std::vector< int > &values)
 
int val ()
 
int resample ()
 

Detailed Description

Random architecture model parameter value of type int.

Definition at line 150 of file PlantArchitecture.h.

Constructor & Destructor Documentation

◆ RandomParameter_int()

RandomParameter_int::RandomParameter_int ( )
inlineexplicit

Definition at line 152 of file PlantArchitecture.h.

Member Function Documentation

◆ discreteValues()

void RandomParameter_int::discreteValues ( const std::vector< int > &  values)
inline

Definition at line 189 of file PlantArchitecture.h.

◆ initialize() [1/2]

void RandomParameter_int::initialize ( int  a_val,
std::minstd_rand0 *  rand_generator 
)
inline

Definition at line 159 of file PlantArchitecture.h.

◆ initialize() [2/2]

void RandomParameter_int::initialize ( std::minstd_rand0 *  rand_generator)
inline

Definition at line 166 of file PlantArchitecture.h.

◆ operator=()

RandomParameter_int & RandomParameter_int::operator= ( int  a)
inline

Definition at line 173 of file PlantArchitecture.h.

◆ resample()

int RandomParameter_int::resample ( )
inline

Definition at line 202 of file PlantArchitecture.h.

◆ uniformDistribution()

void RandomParameter_int::uniformDistribution ( int  minval,
int  maxval 
)
inline

Definition at line 180 of file PlantArchitecture.h.

◆ val()

int RandomParameter_int::val ( )
inline

Definition at line 195 of file PlantArchitecture.h.


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