NNetCpp
Neural network implementation in C++
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
ConstantWeightGenerator Class Reference

#include <ConstantWeightGenerator.h>

Inheritance diagram for ConstantWeightGenerator:
WeightGenerator

Public Member Functions

 ConstantWeightGenerator (double weight)
 
double getWeight ()
 

Detailed Description

WeightGenerator that always outputs a constant weight

Constructor & Destructor Documentation

ConstantWeightGenerator::ConstantWeightGenerator ( double  weight)

Create a new ConstantWeightGenerator that always outputs weight

Parameters
weightthe constant weight to output

Member Function Documentation

double ConstantWeightGenerator::getWeight ( )
virtual

Get the constant weight
Inherits:
Get a new weight from the generator

Returns
the new weight

Implements WeightGenerator.


The documentation for this class was generated from the following files: