Partition converter. More...
#include <PWDecisionRule.hpp>
Public Member Functions | |
| PartitionConverter (uint numEls) | |
| Constructor of the PartitionConverter class. More... | |
| ~PartitionConverter () | |
| Destructor of the PartitionConverter class. More... | |
| string | convertPartitionToString (uint partition) const |
| string | convertPartitionToString (const map< string, uint > &partitionIn, ROCPPOptModelIF_Ptr pModel) const |
| Convert the partition of the uncertainty in the input map to a string based on the order of each uncertainty in the uncertainty container in the input model. More... | |
| string | getBasicPartition (const map< string, uint > &partitionIn, uint t, ROCPPOptModelIF_Ptr pModel, uint memory) const |
| Get the basic partition to reduce the amount of euqal constraints. More... | |
| uint | getNumEls () const |
Private Attributes | |
| uint | m_numEls |
Partition converter.
Class for converting partition to a string
|
inline |
Constructor of the PartitionConverter class.
|
inline |
Destructor of the PartitionConverter class.
| string PartitionConverter::convertPartitionToString | ( | const map< string, uint > & | partitionIn, |
| ROCPPOptModelIF_Ptr | pModel | ||
| ) | const |
Convert the partition of the uncertainty in the input map to a string based on the order of each uncertainty in the uncertainty container in the input model.
| string PartitionConverter::convertPartitionToString | ( | uint | partition | ) | const |
| string PartitionConverter::getBasicPartition | ( | const map< string, uint > & | partitionIn, |
| uint | t, | ||
| ROCPPOptModelIF_Ptr | pModel, | ||
| uint | memory | ||
| ) | const |
Get the basic partition to reduce the amount of euqal constraints.
|
inline |
|
private |