#include <Miic.h>
|
bool | operator() (const std::tuple< std::tuple< NodeId, NodeId, NodeId > *, double, double, double > &e1, const std::tuple< std::tuple< NodeId, NodeId, NodeId > *, double, double, double > &e2) const |
|
Definition at line 78 of file Miic.h.
◆ operator()()
bool gum::learning::GreaterTupleOnLast::operator() |
( |
const std::tuple< std::tuple< NodeId, NodeId, NodeId > *, double, double, double > & |
e1, |
|
|
const std::tuple< std::tuple< NodeId, NodeId, NodeId > *, double, double, double > & |
e2 |
|
) |
| const |
Definition at line 92 of file Miic.cpp.
99 double p1xz = std::get< 2 >(e1);
100 double p1yz = std::get< 3 >(e1);
101 double p2xz = std::get< 2 >(e2);
102 double p2yz = std::get< 3 >(e2);
103 double I1 = std::get< 1 >(e1);
104 double I2 = std::get< 1 >(e2);
105 if (std::max(p1xz, p1yz) == std::max(p2xz, p2yz)) {
108 return std::max(p1xz, p1yz) > std::max(p2xz, p2yz);
The documentation for this class was generated from the following files: