85 return (sense_ == Min);
91 return (sense_ == Max);
97 return (sense_ == Unknown);
SENSE sense_
The optimization sense.
Base class of all other classes of ABACUS.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void sense(SENSE s)
Sets the optimization sense to s.
bool max() const
Returns true if it is maximization problem,, false otherwise.
OptSense(SENSE s=Unknown)
Initializes the optimization sense tos.
SENSE
The enumeration defining the sense of optimization.
bool min() const
Returns true If it is minimization problem,, false otherwise.
SENSE sense() const
Returns the sense of the optimization.
bool unknown() const
Returns true if the optimization sense is unknown,, false otherwise.
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)