Neuron Net
Public Member Functions | List of all members
CLayer Class Reference

Class of neurons collection in one layer of Neural Net. More...

Inheritance diagram for CLayer:

Public Member Functions

 CLayer (uint outputs=0, int handle=INVALID_HANDLE, COpenCLMy *OpenCL=NULL)
 Constructor. More...
 
 ~CLayer (void)
 Destructor. More...
 
virtual bool CreateElement (int const index)
 Method for creating new element in layer. More...
 
virtual void IncreaseTotal ()
 Method for increase number of items in layer. More...
 
virtual int Type (void) const
 Identificator of class. More...
 
virtual bool Load (const int file_handle)
 Load method. More...
 

Detailed Description

Class of neurons collection in one layer of Neural Net.

Detailed description on the link.

Definition at line 640 of file NeuroNet.mqh.

Constructor & Destructor Documentation

◆ CLayer()

CLayer::CLayer ( uint  outputs = 0,
int  handle = INVALID_HANDLE,
COpenCLMy OpenCL = NULL 
)

Constructor.

Parameters
[in]outputsNumber of output connections from 1 neuron to neurons in next layer
[in]handleFile handle for download result of previous study
[in]OpenCLPointer to class for working with OpenCL

Definition at line 2729 of file NeuroNet.mqh.

◆ ~CLayer()

CLayer::~CLayer ( void  )
inline

Destructor.

Definition at line 650 of file NeuroNet.mqh.

Member Function Documentation

◆ CreateElement()

bool CLayer::CreateElement ( int const  index)
virtual

Method for creating new element in layer.

Definition at line 660 of file NeuroNet.mqh.

◆ IncreaseTotal()

virtual void CLayer::IncreaseTotal ( )
inlinevirtual

Method for increase number of items in layer.

Definition at line 653 of file NeuroNet.mqh.

◆ Load()

bool CLayer::Load ( const int  file_handle)
virtual

Load method.

Parameters
[in]file_handlehandle of file
Returns
logical result of operation

Definition at line 2738 of file NeuroNet.mqh.

◆ Type()

virtual int CLayer::Type ( void  ) const
inlinevirtual

Identificator of class.

Returns
Type of class

Definition at line 654 of file NeuroNet.mqh.


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