#include <optsense.h>
Inheritance diagram for ABA_OPTSENSE:

Public Types | |
| enum | SENSE { Min, Max, Unknown } |
Public Member Functions | |
| ABA_OPTSENSE (SENSE s=Unknown) | |
| void | sense (SENSE s) |
| This version of the function sense() sets the optimization sense. | |
| SENSE | sense () const |
| bool | min () const |
| bool | max () const |
| bool | unknown () const |
Private Attributes | |
| SENSE | sense_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_OPTSENSE &rhs) |
| The output operator writes the optimization sense on an output stream in the form { maximize}, { minimize}, or { unknown}. | |
Definition at line 43 of file optsense.h.
| enum ABA_OPTSENSE::SENSE |
The enumeration defining the sense of optimization.
| Min | Minimization problem. | |
| Max | Maximization problem. | |
| Unknown | Unknown optimization sense, required to recognize uninitialized object. |
Definition at line 53 of file optsense.h.
| ABA_OPTSENSE::ABA_OPTSENSE | ( | SENSE | s = Unknown |
) | [inline] |
The constructor initializes the optimization sense.
| s | The sense of the optimization. The default value is Unknown. |
Definition at line 106 of file optsense.h.
| void ABA_OPTSENSE::sense | ( | SENSE | s | ) | [inline] |
This version of the function sense() sets the optimization sense.
| s | The new sense of the optimization. |
Definition at line 116 of file optsense.h.
| ABA_OPTSENSE::SENSE ABA_OPTSENSE::sense | ( | ) | const [inline] |
| bool ABA_OPTSENSE::min | ( | ) | const [inline] |
false otherwise.
Definition at line 121 of file optsense.h.
| bool ABA_OPTSENSE::max | ( | ) | const [inline] |
false otherwise.
Definition at line 126 of file optsense.h.
| bool ABA_OPTSENSE::unknown | ( | ) | const [inline] |
false otherwise.
Definition at line 131 of file optsense.h.
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_OPTSENSE & | rhs | |||
| ) | [friend] |
The output operator writes the optimization sense on an output stream in the form { maximize}, { minimize}, or { unknown}.
| out | The output stream. | |
| rhs | The sense being output. |
SENSE ABA_OPTSENSE::sense_ [private] |
The optimization sense.
Definition at line 102 of file optsense.h.
1.5.1