polyscip::TwoDProj Class Reference
Detailed Description
Class representing a two-dimensional projection of an outcome.
Definition at line 47 of file polyscip.h.
Class representing a two-dimensional projection of an outcome. More...
#include <polyscip.h>
Public Member Functions | |
TwoDProj (const OutcomeType &outcome, std::size_t first, std::size_t second) | |
ValueType | getFirst () const |
ValueType | getSecond () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TwoDProj &proj) |
Constructor & Destructor Documentation
◆ TwoDProj()
|
explicit |
Default constructor
- Parameters
-
outcome Corresponding outcome to take two-dimensional projection of first First (objective) index of outcome to consider for projection second Second (objective) index of outcome to consider for projection
Definition at line 81 of file polyscip.cpp.
Member Function Documentation
◆ getFirst()
|
inline |
Get first projection value
- Returns
- First value of projection
Definition at line 64 of file polyscip.h.
Referenced by polyscip::NondomProjections::epsilonDominates().
◆ getSecond()
|
inline |
Get second projection value
- Returns
- Second value of projection
Definition at line 70 of file polyscip.h.
References operator<<.
Referenced by polyscip::NondomProjections::epsilonDominates().
Friends And Related Function Documentation
◆ operator<<
|
friend |
Ostream operator
- Parameters
-
os Output stream proj Projection to write to stream
- Returns
- Output stream
Referenced by getSecond().