# LCOV - BayesNet Coverage Report - bayesnet/classifiers/SPnDE.h

LCOV - code coverage report

Current view: | top level - bayesnet/classifiers - SPnDE.h (source / functions) |  |  | Coverage | Total | Hit
Test: | BayesNet Coverage Report |  | Lines: | 100.0 % | 1 | 1
Test Date: | 2024-05-06 17:54:04 |  | Functions: | 100.0 % | 1 | 1
Legend: | Lines: hit not hit |

                Line data    Source code

           1              : // ***************************************************************
           2              : // SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez
           3              : // SPDX-FileType: SOURCE
           4              : // SPDX-License-Identifier: MIT
           5              : // ***************************************************************
           6              :
           7              : #ifndef SPnDE_H
           8              : #define SPnDE_H
           9              : #include <vector>
          10              : #include "Classifier.h"
          11              :
          12              : namespace bayesnet {
          13              :     class SPnDE : public Classifier {
          14              :     public:
          15              :         explicit SPnDE(std::vector<int> parents);
          16          912 :         virtual ~SPnDE() = default;
          17              :         std::vector<std::string> graph(const std::string& name = "SPnDE") const override;
          18              :     protected:
          19              :         void buildModel(const torch::Tensor& weights) override;
          20              :     private:
          21              :         std::vector<int> parents;
          22              :
          23              :
          24              :     };
          25              : }
          26              : #endif

Generated by: LCOV version 2.0-1