Newer
Older

Michal Kravcenko
committed
/**
* DESCRIPTION OF THE FILE
*
* @author Michal Kravčenko
* @date 14.6.18 -
*/
#ifndef INC_4NEURO_CONNECTIONWEIGHT_H
#define INC_4NEURO_CONNECTIONWEIGHT_H
#include <functional>

Michal Kravcenko
committed

Michal Kravcenko
committed
protected:
/**
*
*/
std::vector<unsigned int> *param_indices = nullptr;

Michal Kravcenko
committed
public:
/**
*
*/

Michal Kravcenko
committed
/**
*
* @param param_count
* @param f
*/
ConnectionFunctionGeneral(std::vector<double>* w_array, std::vector<unsigned int> ¶m_indices, std::string &function_string);

Michal Kravcenko
committed
/**
*
*/

Michal Kravcenko
committed
/**
*
* @return
*/

Michal Kravcenko
committed
/**
* Performs partial derivative of this transfer function according to all parameters. Adds the values multiplied
* by alpha to the corresponding gradient vector

Michal Kravcenko
committed
*/
virtual void eval_partial_derivative(std::vector<double> &weight_gradient, double alpha);

Michal Kravcenko
committed
};
#endif //INC_4NEURO_CONNECTIONWEIGHT_H