iLand
Public Member Functions | List of all members
RandomWeighted Class Reference

#include <random.h>

Public Member Functions

 RandomWeighted ()
 
 ~RandomWeighted ()
 
void setup (const int gridSize)
 
void setWeight (const int index, const int value)
 
int get ()
 
double getRelWeight (const int index)
 
double getRelWeight (const int from, const int to)
 

Constructor & Destructor Documentation

◆ RandomWeighted()

RandomWeighted::RandomWeighted ( )

◆ ~RandomWeighted()

RandomWeighted::~RandomWeighted ( )

Member Function Documentation

◆ get()

int RandomWeighted::get ( )

◆ getRelWeight() [1/2]

double RandomWeighted::getRelWeight ( const int  from,
const int  to 
)

◆ getRelWeight() [2/2]

double RandomWeighted::getRelWeight ( const int  index)

◆ setup()

void RandomWeighted::setup ( const int  gridSize)

◆ setWeight()

void RandomWeighted::setWeight ( const int  index,
const int  value 
)

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