LCOV - code coverage report
Current view: top level - include - NeuronConnection.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 2 100.0 %
Date: 2024-12-28 17:36:05 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /**
       2             :  * @file NeuronConnection.h
       3             :  * @author Damien Balima (www.dams-labs.net)
       4             :  * @brief Connection between neurons
       5             :  * @date 2024-03-10
       6             :  *
       7             :  * @copyright Damien Balima (c) CC-BY-NC-SA-4.0 2024
       8             :  *
       9             :  */
      10             : #pragma once
      11             : #include <opencv2/opencv.hpp>
      12             : 
      13             : namespace sipai {
      14             : class Neuron;
      15             : class NeuronConnection {
      16             : public:
      17             :   Neuron *neuron;
      18             :   cv::Vec4f weight;
      19             : 
      20         346 :   NeuronConnection(Neuron *neuron, cv::Vec4f weight)
      21         346 :       : neuron(neuron), weight(weight) {}
      22             : };
      23             : } // namespace sipai

Generated by: LCOV version 1.16