# LCOV - BayesNet Coverage Report - bayesnet/utils/BayesMetrics.cc - functions

LCOV - code coverage report

Current view: | top level - bayesnet/utils - BayesMetrics.cc (source / functions) |  |  | Coverage | Total | Hit
Test: | BayesNet Coverage Report |  | Lines: | 98.2 % | 114 | 112
Test Date: | 2024-05-06 17:54:04 |  | Functions: | 100.0 % | 11 | 11
Legend: | Lines: hit not hit |

Function Name | Hit count
bayesnet::Metrics::Metrics(at::Tensor const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) | 2123

bayesnet::Metrics::Metrics(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > const&, std::vector<int, std::allocator<int> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)

96

bayesnet::Metrics::SelectKBestWeighted(at::Tensor const&, bool, unsigned int) | 478
bayesnet::Metrics::SelectKBestWeighted(at::Tensor const&, bool, unsigned int)::{lambda(int, int)#1}::operator()(int, int) const | 2088
bayesnet::Metrics::SelectKBestWeighted(at::Tensor const&, bool, unsigned int)::{lambda(int, int)#2}::operator()(int, int) const | 64808
bayesnet::Metrics::conditionalEdge(at::Tensor const&) | 152
bayesnet::Metrics::conditionalEntropy(at::Tensor const&, at::Tensor const&, at::Tensor const&) | 34276
bayesnet::Metrics::entropy(at::Tensor const&, at::Tensor const&) | 41732
bayesnet::Metrics::getScoresKBest() const | 48
bayesnet::Metrics::maximumSpanningTree(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, at::Tensor const&, int) | 148
bayesnet::Metrics::mutualInformation(at::Tensor const&, at::Tensor const&, at::Tensor const&) | 34276

Generated by: LCOV version 2.0-1