/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: ILayer.hpp * Author: jens * * Created on 25. Oktober 2019, 18:33 */ #ifndef ILAYER_HPP #define ILAYER_HPP #include class ILayer { public: ILayer *upper; ILayer *lower; ILayer() : upper(nullptr) , lower(nullptr) {} virtual ~ILayer() {} virtual void up_pass(arma::mat const &v) = 0; virtual void down_pass(arma::mat &dst, arma::mat const &src) = 0; }; #endif /* ILAYER_HPP */