MineLink
 All Data Structures Functions Variables Pages
delphos::Destination Class Reference

Defines a destination or process. More...

#include <destination.h>

Inheritance diagram for delphos::Destination:
Inheritance graph
Collaboration diagram for delphos::Destination:
Collaboration graph

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

delphos::Destination::Destination ( const string &  destination_name,
const string &  value_attribute_name 
)

Creates a new destination.

Parameters
destination_nameA descriptive name for the destination.
value_attribute_nameThe 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.

Parameters
otherthe given other destination to be copied.

Copy constructor.

Member Function Documentation

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.


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