![]() |
MineLink
|
Defines a destination or process. More...
#include <destination.h>
Public Member Functions | |
Destination (const string &destination_name, const string &value_attribute_name) | |
Creates a new destination. More... | |
Destination (const Destination &other) | |
Copy constructor. More... | |
const string & | ValueAttributeName () const |
Retrieves the name of the attribute containing the block values sent to the destination. More... | |
const string & | GetValueAttributeName () const |
Retrieves the name of the attribute containing the block values sent to the destination. More... | |
Defines a destination or process.
In a scheduling instance, there may be several possible destination or processes for each block. This class allows to specify a destination.
A destination or process is specified by: a name and a attribute name. The name is a description of the destination, and the attribute indicates the block attribute that contains the values for the blocks that are sent to that destination.
delphos::Destination::Destination | ( | const string & | destination_name, |
const string & | value_attribute_name | ||
) |
Creates a new destination.
destination_name | A descriptive name for the destination. |
value_attribute_name | The name of the attribute that contains the economic values perceived for the blocks sent to the given destination. |
delphos::Destination::Destination | ( | const Destination & | other | ) |
Copy constructor.
other | the given other destination to be copied. |
Copy constructor.
const string & delphos::Destination::GetValueAttributeName | ( | ) | const |
Retrieves the name of the attribute containing the block values sent to the destination.
Retrieves the name of the attribute containing the block values sent to the destination.
const string & delphos::Destination::ValueAttributeName | ( | ) | const |
Retrieves the name of the attribute containing the block values sent to the destination.
Retrieves the name of the attribute containing the block values sent to the destination. Deprecated.