Perf (single performance) data structure.
More...
#include <Perf.h>
|
| | Perf (std::string name, std::string criterion, float value) |
| |
| | Perf (std::string name, std::string criterion) |
| |
| | Perf (const Perf &perf) |
| |
| bool | operator== (const Perf &perf2) const |
| |
|
|
std::string | crit_ |
| |
|
float | value_ |
| |
|
std::string | name_ |
| |
|
|
std::ostream & | operator<< (std::ostream &out, const Perf &p) |
| |
Perf (single performance) data structure.
Perf object is the representation of a single performance of an alternative on a criterion: a_i_j A Perf is thus identified by a name (name of the profile or the alternative), the name of the Criterion on which the performance was evaluated, and the value of the performance.
◆ Perf() [1/3]
| Perf::Perf |
( |
std::string |
name, |
|
|
std::string |
criterion, |
|
|
float |
value |
|
) |
| |
Perf standard constructor
- Parameters
-
| name | name of the performance (ex: name of profile or alternative) |
| criterion | criterion id on which the performance in based on |
| value | value of the performance |
◆ Perf() [2/3]
| Perf::Perf |
( |
std::string |
name, |
|
|
std::string |
criterion |
|
) |
| |
Perf standard constructor
- Parameters
-
| name | name of the performance (ex: name of profile or alternative) |
| criterion | criterion id on which the performance in based on |
◆ Perf() [3/3]
| Perf::Perf |
( |
const Perf & |
perf | ) |
|
Performance constructor by copy
- Parameters
-
| perf | Based performance to copy |
◆ operator==()
| bool Perf::operator== |
( |
const Perf & |
perf2 | ) |
const |
Overload of == operator for Perf object
- Parameters
-
| perf2 | Perf object to compare it with |
The documentation for this class was generated from the following file:
- /Users/ThomasVindard 1/Desktop/3A/Projet/fastPL/include/types/Perf.h