CG_Gen::DataBaseGeneratorParameters class

class DataBaseGeneratorParameters

Constructors, destructors, conversion operators

DataBaseGeneratorParameters(uint32_t i_minInputs, uint32_t i_maxInputs, uint32_t i_minOutputs, uint32_t i_maxOutputs, uint32_t i_eachIteration, GenerationTypes i_gt, GenerationParameters i_gp)

Public functions

void setInputs(uint32_t i_inputs)
setInputs The method sets the number of input signals to generate the database
void setOutputs(uint32_t i_outputs)
setOutputs The method sets the number of output signals to generate the database
void setIteration(uint32_t i_iteration)
setIteration The method sets the iteration number for database generation
void setName(const std::string& i_name)
setName The method is used to set the name for database generation
auto getMinInputs() const -> uint32_t
getMinInputs This method is used to get the minimum number of inputs set in the database generation parameters.
auto getMaxInputs() const -> uint32_t
getMaxInputs This method is used to get the maximum number of inputs set in the database generation parameters.
auto getMinOutputs() const -> uint32_t
getMinOutputs This method is used to get the minimum number of outputs set in the database generation parameters.
auto getMaxOutputs() const -> uint32_t
getMaxOutputs This one is used to get the maximum number of outputs set in the database generation parameters.
auto getEachIteration() const -> uint32_t
getEachIteration This method is used to get the number of iterations that need to be performed for each combination of inputs and outputs when generating a database.
auto getGenerationParameters() const -> GenerationParameters
getGenerationParameters This method is used to get the database generation parameters
auto getGenerationType() const -> GenerationTypes
getGenerationType This method returns a GenerationTypes type variable representing the database generation type

Function documentation

void CG_Gen::DataBaseGeneratorParameters::setInputs(uint32_t i_inputs)

setInputs The method sets the number of input signals to generate the database

Parameters
i_inputs An integer value representing the number of input signals that must be set to generate the database *‍/

void CG_Gen::DataBaseGeneratorParameters::setOutputs(uint32_t i_outputs)

setOutputs The method sets the number of output signals to generate the database

Parameters
i_outputs An integer value representing the number of output signals that must be set to generate the database *‍/

void CG_Gen::DataBaseGeneratorParameters::setIteration(uint32_t i_iteration)

setIteration The method sets the iteration number for database generation

Parameters
i_iteration An integer value representing the iteration number that must be set to generate the database *‍/

void CG_Gen::DataBaseGeneratorParameters::setName(const std::string& i_name)

setName The method is used to set the name for database generation

Parameters
i_name A string containing the name to be set to generate the database *‍/

uint32_t CG_Gen::DataBaseGeneratorParameters::getMinInputs() const

getMinInputs This method is used to get the minimum number of inputs set in the database generation parameters.

Returns Minimum number of inputs for database generation *‍/

uint32_t CG_Gen::DataBaseGeneratorParameters::getMaxInputs() const

getMaxInputs This method is used to get the maximum number of inputs set in the database generation parameters.

Returns Maximum number of inputs for database generation *‍/

uint32_t CG_Gen::DataBaseGeneratorParameters::getMinOutputs() const

getMinOutputs This method is used to get the minimum number of outputs set in the database generation parameters.

Returns The minimum number of outputs for database generation. *‍/

uint32_t CG_Gen::DataBaseGeneratorParameters::getMaxOutputs() const

getMaxOutputs This one is used to get the maximum number of outputs set in the database generation parameters.

Returns Maximum number of outputs for database generation *‍/

uint32_t CG_Gen::DataBaseGeneratorParameters::getEachIteration() const

getEachIteration This method is used to get the number of iterations that need to be performed for each combination of inputs and outputs when generating a database.

Returns The number of iterations for each combination of inputs and outputs during database generation. *‍/

GenerationParameters CG_Gen::DataBaseGeneratorParameters::getGenerationParameters() const

getGenerationParameters This method is used to get the database generation parameters

Returns Database Generation Parameters *‍/

GenerationTypes CG_Gen::DataBaseGeneratorParameters::getGenerationType() const

getGenerationType This method returns a GenerationTypes type variable representing the database generation type

Returns GenerationTypes of the database generation type *‍/