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

#include <InputNode.h>

Inheritance diagram for InputNode:
Node

Public Member Functions

 InputNode ()
 
 InputNode (double value)
 
double getOutput ()
 
void setValue (double value)
 

Detailed Description

A node to be used for input to networks. Its output value can be set.

Constructor & Destructor Documentation

InputNode::InputNode ( )

Create a new input Node

InputNode::InputNode ( double  value)

Create a new input Node with the given value

Parameters
valuethe value for the InputNode to output

Member Function Documentation

double InputNode::getOutput ( )
virtual

Get the output value of the input node
inherits:
Get the output of the node

Returns
the node's output

Implements Node.

void InputNode::setValue ( double  value)

Set value of the input node

Parameters
valuethe value for the InputNode to output

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