#include <slackstat.h>
Inheritance diagram for ABA_SLACKSTAT:

Public Types | |
| enum | STATUS { Basic, NonBasicZero, NonBasicNonZero, Unknown } |
Public Member Functions | |
| ABA_SLACKSTAT (const ABA_GLOBAL *glob) | |
| This constructor initializes the status as Unknown. | |
| ABA_SLACKSTAT (const ABA_GLOBAL *glob, STATUS status) | |
| STATUS | status () const |
| void | status (STATUS stat) |
| This version of the function status() sets the status of the slack variable. | |
| void | status (const ABA_SLACKSTAT *stat) |
| This version of the function status() sets the status to the one of *stat. | |
Private Attributes | |
| const ABA_GLOBAL * | glob_ |
| STATUS | status_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_SLACKSTAT &rhs) |
| The output operator writes the status to an output stream in the format { Basic}, { NonBasicZero}, { Non\-Basic\-Non\-Zero}, or { Unknown}. | |
Definition at line 50 of file slackstat.h.
The different statuses of a slack variable:
| Basic | The slack variable belongs to the basis. | |
| NonBasicZero | The slack variable does not belong to the basis and has value zero. | |
| NonBasicNonZero | The slack variable does not belong to the basis and has a nonzero value. | |
| Unknown | The status of the slack variable is not known since no linear program with the corresponding constraint has been solved. |
Definition at line 64 of file slackstat.h.
| ABA_SLACKSTAT::ABA_SLACKSTAT | ( | const ABA_GLOBAL * | glob | ) | [inline] |
This constructor initializes the status as Unknown.
| glob | A pointer to the corresponding global object. |
Definition at line 137 of file slackstat.h.
| ABA_SLACKSTAT::ABA_SLACKSTAT | ( | const ABA_GLOBAL * | glob, | |
| STATUS | status | |||
| ) | [inline] |
A constructor with initialization.
| glob | A pointer to the corresponding global object. | |
| status | The slack variable receives the status status. |
Definition at line 143 of file slackstat.h.
| ABA_SLACKSTAT::STATUS ABA_SLACKSTAT::status | ( | ) | const [inline] |
| void ABA_SLACKSTAT::status | ( | STATUS | stat | ) | [inline] |
This version of the function status() sets the status of the slack variable.
| stat | The new status of the slack variable. |
Definition at line 154 of file slackstat.h.
| void ABA_SLACKSTAT::status | ( | const ABA_SLACKSTAT * | stat | ) | [inline] |
This version of the function status() sets the status to the one of *stat.
| stat | The status of the slack variable is set to *stat. |
Definition at line 159 of file slackstat.h.
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_SLACKSTAT & | rhs | |||
| ) | [friend] |
The output operator writes the status to an output stream in the format { Basic}, { NonBasicZero}, { Non\-Basic\-Non\-Zero}, or { Unknown}.
| out | The output stream. | |
| rhs | The status being output. |
const ABA_GLOBAL* ABA_SLACKSTAT::glob_ [private] |
A pointer to the corresponding global object.
Definition at line 129 of file slackstat.h.
STATUS ABA_SLACKSTAT::status_ [private] |
The status of the slack variable.
Definition at line 133 of file slackstat.h.
1.5.1