GERARDIUM RUSH - MINERAL CIRCUIT OPTIMIZER v1.0.0
"A powerful tool designed to optimize circuit configurations using advanced genetic algorithms." - by Pentlandite
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Private Attributes
CUnit Class Reference

#include <CUnit.h>

Collaboration diagram for CUnit:
Collaboration graph

Public Member Functions

 CUnit ()
 Default constructor for CUnit.
 
 CUnit (int concNum, int interNum, int tailsNum)
 Parameterized constructor for CUnit.
 
bool isMarked () const
 Checks if the unit is marked.
 
void setMarked (bool mark)
 Sets the mark status of the unit.
 
double getFeedGerardium () const
 Gets the feed rate of gerardium.
 
void setFeedGerardium (double feedGerardium)
 Sets the feed rate of gerardium.
 
double getFeedWaste () const
 Gets the feed rate of waste.
 
void setFeedWaste (double feedWaste)
 Sets the feed rate of waste.
 
double getNewFeedGerardium () const
 Gets the new feed rate of gerardium.
 
void setNewFeedGerardium (double newFeedGerardium)
 Sets the new feed rate of gerardium.
 
double getNewFeedWaste () const
 Gets the new feed rate of waste.
 
void setNewFeedWaste (double newFeedWaste)
 Sets the new feed rate of waste.
 
double getDifferenceG () const
 Gets the difference in feed rate of gerardium.
 
double getDifferenceW () const
 Gets the difference in feed rate of waste.
 
void setDifference ()
 Sets the differences in feed rates for gerardium and waste.
 
CUnitgetConcPtr () const
 Gets the pointer to the concentrate connection.
 
void setConcPtr (CUnit *ptr)
 Sets the pointer to the concentrate connection.
 
CUnitgetInterPtr () const
 Gets the pointer to the intermediate connection.
 
void setInterPtr (CUnit *ptr)
 Sets the pointer to the intermediate connection.
 
CUnitgetTailsPtr () const
 Gets the pointer to the tailings connection.
 
void setTailsPtr (CUnit *ptr)
 Sets the pointer to the tailings connection.
 

Data Fields

int concNum
 
int interNum
 
int tailsNum
 

Private Attributes

bool mark
 
double feedGerardium
 
double feedWaste
 
double newFeedGerardium
 
double newFeedWaste
 
double differenceG
 
double differenceW
 
CUnitconcPtr
 
CUnitinterPtr
 
CUnittailsPtr
 

Constructor & Destructor Documentation

◆ CUnit() [1/2]

CUnit::CUnit ( )

Default constructor for CUnit.

Constructs a CUnit object with default values for concentrate, intermediate, and tailings numbers.

◆ CUnit() [2/2]

CUnit::CUnit ( int concNum,
int interNum,
int tailsNum )

Parameterized constructor for CUnit.

Constructs a CUnit object with specified values for concentrate, intermediate, and tailings numbers.

Parameters
concNumThe concentrate number.
interNumThe intermediate number.
tailsNumThe tailings number.

Member Function Documentation

◆ getConcPtr()

CUnit * CUnit::getConcPtr ( ) const

Gets the pointer to the concentrate connection.

Returns
The pointer to the concentrate connection.

◆ getDifferenceG()

double CUnit::getDifferenceG ( ) const

Gets the difference in feed rate of gerardium.

Returns
The difference in feed rate of gerardium.

◆ getDifferenceW()

double CUnit::getDifferenceW ( ) const

Gets the difference in feed rate of waste.

Returns
The difference in feed rate of waste.

◆ getFeedGerardium()

double CUnit::getFeedGerardium ( ) const

Gets the feed rate of gerardium.

Returns
The feed rate of gerardium.

◆ getFeedWaste()

double CUnit::getFeedWaste ( ) const

Gets the feed rate of waste.

Returns
The feed rate of waste.

◆ getInterPtr()

CUnit * CUnit::getInterPtr ( ) const

Gets the pointer to the intermediate connection.

Returns
The pointer to the intermediate connection.

◆ getNewFeedGerardium()

double CUnit::getNewFeedGerardium ( ) const

Gets the new feed rate of gerardium.

Returns
The new feed rate of gerardium.

◆ getNewFeedWaste()

double CUnit::getNewFeedWaste ( ) const

Gets the new feed rate of waste.

Returns
The new feed rate of waste.

◆ getTailsPtr()

CUnit * CUnit::getTailsPtr ( ) const

Gets the pointer to the tailings connection.

Returns
The pointer to the tailings connection.

◆ isMarked()

bool CUnit::isMarked ( ) const

Checks if the unit is marked.

Returns
True if the unit is marked, otherwise false.

◆ setConcPtr()

void CUnit::setConcPtr ( CUnit * ptr)

Sets the pointer to the concentrate connection.

Parameters
ptrThe pointer to the concentrate connection to set.

◆ setDifference()

void CUnit::setDifference ( )

Sets the differences in feed rates for gerardium and waste.

◆ setFeedGerardium()

void CUnit::setFeedGerardium ( double feedGerardium)

Sets the feed rate of gerardium.

Parameters
feedGerardiumThe feed rate of gerardium to set.

◆ setFeedWaste()

void CUnit::setFeedWaste ( double feedWaste)

Sets the feed rate of waste.

Parameters
feedWasteThe feed rate of waste to set.

◆ setInterPtr()

void CUnit::setInterPtr ( CUnit * ptr)

Sets the pointer to the intermediate connection.

Parameters
ptrThe pointer to the intermediate connection to set.

◆ setMarked()

void CUnit::setMarked ( bool mark)

Sets the mark status of the unit.

Parameters
markThe mark status to set.

◆ setNewFeedGerardium()

void CUnit::setNewFeedGerardium ( double newFeedGerardium)

Sets the new feed rate of gerardium.

Parameters
newFeedGerardiumThe new feed rate of gerardium to set.

◆ setNewFeedWaste()

void CUnit::setNewFeedWaste ( double newFeedWaste)

Sets the new feed rate of waste.

Parameters
newFeedWasteThe new feed rate of waste to set.

◆ setTailsPtr()

void CUnit::setTailsPtr ( CUnit * ptr)

Sets the pointer to the tailings connection.

Parameters
ptrThe pointer to the tailings connection to set.

Field Documentation

◆ concNum

int CUnit::concNum

The concentrate number

◆ concPtr

CUnit* CUnit::concPtr
private

Pointer to the concentrate connection

◆ differenceG

double CUnit::differenceG
private

Difference in feed rate of gerardium

◆ differenceW

double CUnit::differenceW
private

Difference in feed rate of waste

◆ feedGerardium

double CUnit::feedGerardium
private

Feed rate of gerardium

◆ feedWaste

double CUnit::feedWaste
private

Feed rate of waste

◆ interNum

int CUnit::interNum

The intermediate number

◆ interPtr

CUnit* CUnit::interPtr
private

Pointer to the intermediate connection

◆ mark

bool CUnit::mark
private

Mark status of the unit

◆ newFeedGerardium

double CUnit::newFeedGerardium
private

New feed rate of gerardium

◆ newFeedWaste

double CUnit::newFeedWaste
private

New feed rate of waste

◆ tailsNum

int CUnit::tailsNum

The tailings number

◆ tailsPtr

CUnit* CUnit::tailsPtr
private

Pointer to the tailings connection


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