364 lines
23 KiB
HTML
364 lines
23 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>LCOV - BayesNet Coverage Report - bayesnet/network/Network.cc - functions</title>
|
|
<link rel="stylesheet" type="text/css" href="../../gcov.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table width="100%" border=0 cellspacing=0 cellpadding=0>
|
|
<tr><td class="title">LCOV - code coverage report</td></tr>
|
|
<tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
|
|
|
<tr>
|
|
<td width="100%">
|
|
<table cellpadding=1 border=0 width="100%">
|
|
<tr>
|
|
<td width="10%" class="headerItem">Current view:</td>
|
|
<td width="10%" class="headerValue"><a href="../../index.html" target="_parent">top level</a> - <a href="index.html" target="_parent">bayesnet/network</a> - Network.cc<span style="font-size: 80%;"> (<a href="Network.cc.gcov.html">source</a> / functions)</span></td>
|
|
<td width="5%"></td>
|
|
<td width="5%"></td>
|
|
<td width="5%" class="headerCovTableHead">Coverage</td>
|
|
<td width="5%" class="headerCovTableHead" title="Covered + Uncovered code">Total</td>
|
|
<td width="5%" class="headerCovTableHead" title="Exercised code only">Hit</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="headerItem">Test:</td>
|
|
<td class="headerValue">BayesNet Coverage Report</td>
|
|
<td></td>
|
|
<td class="headerItem">Lines:</td>
|
|
<td class="headerCovTableEntryHi">100.0 %</td>
|
|
<td class="headerCovTableEntry">295</td>
|
|
<td class="headerCovTableEntry">295</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="headerItem">Test Date:</td>
|
|
<td class="headerValue">2024-05-06 17:54:04</td>
|
|
<td></td>
|
|
<td class="headerItem">Functions:</td>
|
|
<td class="headerCovTableEntryHi">100.0 %</td>
|
|
<td class="headerCovTableEntry">40</td>
|
|
<td class="headerCovTableEntry">40</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="headerItem">Legend:</td>
|
|
<td class="headerValueLeg"> Lines:
|
|
<span class="coverLegendCov">hit</span>
|
|
<span class="coverLegendNoCov">not hit</span>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr><td><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
|
</table>
|
|
|
|
<center>
|
|
<table cellpadding=1 cellspacing=1 border=0>
|
|
<tr><td><br></td></tr>
|
|
<tr>
|
|
<td class="tableHead">Function Name <span title="Click to sort table by function name" class="tableHeadSort"><img src="../../glass.png" width=10 height=14 alt="Sort by function name" title="Click to sort table by function name" border=0></span></td>
|
|
|
|
<td class="tableHead">Hit count <span title="Click to sort table by function hit count" class="tableHeadSort"><a href="Network.cc.func-c.html"><img src="../../updown.png" width=10 height=14 alt="Sort by function hit count" title="Click to sort table by function hit count" border=0></a></span></td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L11">bayesnet::Network::Network()</a></td>
|
|
|
|
<td class="coverFnHi">2332</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L18">bayesnet::Network::Network(bayesnet::Network const&)</a></td>
|
|
|
|
<td class="coverFnHi">2244</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L14">bayesnet::Network::Network(float)</a></td>
|
|
|
|
<td class="coverFnHi">8</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L93">bayesnet::Network::addEdge(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&)</a></td>
|
|
|
|
<td class="coverFnHi">59152</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L44">bayesnet::Network::addNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)</a></td>
|
|
|
|
<td class="coverFnHi">31216</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L118">bayesnet::Network::checkFitData(int, int, int, 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&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&, at::Tensor const&)</a></td>
|
|
|
|
<td class="coverFnHi">1888</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L188">bayesnet::Network::completeFit(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&, at::Tensor const&)</a></td>
|
|
|
|
<td class="coverFnHi">1824</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L194">bayesnet::Network::completeFit(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&, at::Tensor const&)::{lambda()#1}::operator()() const</a></td>
|
|
|
|
<td class="coverFnHi">32828</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L312">bayesnet::Network::computeFactor(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> > >&)</a></td>
|
|
|
|
<td class="coverFnHi">3734984</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L418">bayesnet::Network::dump_cpt[abi:cxx11]() const</a></td>
|
|
|
|
<td class="coverFnHi">8</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L320">bayesnet::Network::exactInference(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> > >&)</a></td>
|
|
|
|
<td class="coverFnHi">896208</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L326">bayesnet::Network::exactInference(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()#1}::operator()() const</a></td>
|
|
|
|
<td class="coverFnHi">3734984</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L339">bayesnet::Network::exactInference(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(double const&)#1}::operator()(double const&) const</a></td>
|
|
|
|
<td class="coverFnHi">3734984</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L156">bayesnet::Network::fit(at::Tensor const&, at::Tensor const&, 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&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">4</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L167">bayesnet::Network::fit(at::Tensor const&, 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&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">1792</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L175">bayesnet::Network::fit(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<double, std::allocator<double> > 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&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">92</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L73">bayesnet::Network::getClassName[abi:cxx11]() const</a></td>
|
|
|
|
<td class="coverFnHi">3735008</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L61">bayesnet::Network::getClassNumStates() const</a></td>
|
|
|
|
<td class="coverFnHi">2616</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L369">bayesnet::Network::getEdges[abi:cxx11]() const</a></td>
|
|
|
|
<td class="coverFnHi">408</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L57">bayesnet::Network::getFeatures[abi:cxx11]() const</a></td>
|
|
|
|
<td class="coverFnHi">380</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L36">bayesnet::Network::getMaxThreads() const</a></td>
|
|
|
|
<td class="coverFnHi">2256</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L114">bayesnet::Network::getNodes[abi:cxx11]()</a></td>
|
|
|
|
<td class="coverFnHi">3735276</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L381">bayesnet::Network::getNumEdges() const</a></td>
|
|
|
|
<td class="coverFnHi">364</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L40">bayesnet::Network::getSamples()</a></td>
|
|
|
|
<td class="coverFnHi">48</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L65">bayesnet::Network::getStates() const</a></td>
|
|
|
|
<td class="coverFnHi">48</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L355">bayesnet::Network::graph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const</a></td>
|
|
|
|
<td class="coverFnHi">112</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L27">bayesnet::Network::initialize()</a></td>
|
|
|
|
<td class="coverFnHi">1740</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L77">bayesnet::Network::isCyclic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<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> > > >&, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<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> > > >&)</a></td>
|
|
|
|
<td class="coverFnHi">70324</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L228">bayesnet::Network::predict(at::Tensor const&)</a></td>
|
|
|
|
<td class="coverFnHi">1844</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L235">bayesnet::Network::predict(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">48</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L222">bayesnet::Network::predict_proba(at::Tensor const&)</a></td>
|
|
|
|
<td class="coverFnHi">1476</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L257">bayesnet::Network::predict_proba(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">552</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L299">bayesnet::Network::predict_sample(at::Tensor const&)</a></td>
|
|
|
|
<td class="coverFnHi">781712</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L285">bayesnet::Network::predict_sample(std::vector<int, std::allocator<int> > const&)</a></td>
|
|
|
|
<td class="coverFnHi">114512</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L203">bayesnet::Network::predict_tensor(at::Tensor const&, bool)</a></td>
|
|
|
|
<td class="coverFnHi">3320</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L273">bayesnet::Network::score(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > const&, std::vector<int, std::allocator<int> > const&)</a></td>
|
|
|
|
<td class="coverFnHi">20</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L147">bayesnet::Network::setStates(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&)</a></td>
|
|
|
|
<td class="coverFnHi">1824</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L150">bayesnet::Network::setStates(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<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, std::vector<int, std::allocator<int> > > > > const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const</a></td>
|
|
|
|
<td class="coverFnHi">32828</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L342">bayesnet::Network::show[abi:cxx11]() const</a></td>
|
|
|
|
<td class="coverFnHi">28</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="coverFn"><a href="Network.cc.gcov.html#L385">bayesnet::Network::topological_sort[abi:cxx11]()</a></td>
|
|
|
|
<td class="coverFnHi">220</td>
|
|
|
|
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
</center>
|
|
<table width="100%" border=0 cellspacing=0 cellpadding=0>
|
|
<tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
|
<tr><td class="versionInfo">Generated by: <a href="https://github.com//linux-test-project/lcov" target="_parent">LCOV version 2.0-1</a></td></tr>
|
|
</table>
|
|
<br>
|
|
|
|
</body>
|
|
</html>
|