aGrUM  0.20.2
a C++ library for (probabilistic) graphical models
gum::learning::GreaterAbsPairOn2nd Class Reference

#include <Miic.h>

Public Member Functions

bool operator() (const std::pair< std::tuple< NodeId, NodeId, NodeId > *, double > &e1, const std::pair< std::tuple< NodeId, NodeId, NodeId > *, double > &e2) const
 

Detailed Description

Definition at line 69 of file Miic.h.

Member Function Documentation

◆ operator()()

bool gum::learning::GreaterAbsPairOn2nd::operator() ( const std::pair< std::tuple< NodeId, NodeId, NodeId > *, double > &  e1,
const std::pair< std::tuple< NodeId, NodeId, NodeId > *, double > &  e2 
) const

Definition at line 84 of file Miic.cpp.

References gum::learning::genericBNLearner::Database::Database().

87  {
88  return std::abs(e1.second) > std::abs(e2.second);
89  }
Potential< GUM_SCALAR > abs(const Potential< GUM_SCALAR > &arg)
Definition: potential.h:617
+ Here is the call graph for this function:

The documentation for this class was generated from the following files: