Skip to content
Snippets Groups Projects
ConnectionFunctionConstant.cpp 592 B
Newer Older
  • Learn to ignore specific revisions
  • /**
     * DESCRIPTION OF THE FILE
     *
     * @author Michal Kravčenko
     * @date 15.3.19 -
     */
    
    #include "ConnectionFunctionConstant.h"
    
    ConnectionFunctionConstant::ConnectionFunctionConstant(double w) {
        this->weight = w;
    }
    
    ConnectionFunctionConstant::~ConnectionFunctionConstant() {
    
    }
    
    double ConnectionFunctionConstant::eval(std::vector<double> &parameter_space) {
        return this->weight;
    }
    
    void ConnectionFunctionConstant::eval_partial_derivative(std::vector<double> &parameter_space,
                                                     std::vector<double> &weight_gradient, double alpha) {
    
    }