LCOV - code coverage report
Current view: top level - bayesnet/network - Node.cc (source / functions) Coverage Total Hit
Test: BayesNet Coverage Report Lines: 100.0 % 88 88
Test Date: 2024-05-06 17:54:04 Functions: 100.0 % 20 20
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by function hit count
bayesnet::Node::clear() 9
bayesnet::Node::removeChild(bayesnet::Node*) 17
bayesnet::Node::removeParent(bayesnet::Node*) 17
bayesnet::Node::combinations(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&) 45
bayesnet::Node::minFill() 45
bayesnet::Node::getCPT() 429
bayesnet::Node::graph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 732
auto bayesnet::Node::graph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda(auto:1 const&)#1}::operator()<bayesnet::Node*>(bayesnet::Node* const&) const 1108
bayesnet::Node::getParents() 5087
bayesnet::Node::Node(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 31339
bayesnet::Node::setNumStates(int) 32864
bayesnet::Node::computeCPT(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&, double, at::Tensor const&) 32894
bayesnet::Node::addChild(bayesnet::Node*) 59235
bayesnet::Node::addParent(bayesnet::Node*) 59262
auto bayesnet::Node::computeCPT(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&, double, at::Tensor const&)::{lambda(auto:1 const&)#1}::operator()<bayesnet::Node*>(bayesnet::Node* const&) const 62020
bayesnet::Node::getNumStates() const 64124
bayesnet::Node::getChildren() 77571
bayesnet::Node::getFactorValue(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >&) 69151761
auto bayesnet::Node::getFactorValue(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >&)::{lambda(auto:1 const&)#1}::operator()<bayesnet::Node*>(bayesnet::Node* const&) const 129301512
bayesnet::Node::getName[abi:cxx11]() const 150429643

Generated by: LCOV version 2.0-1