CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
ctxCortex.h
Go to the documentation of this file.
1//*****************************************************************************
2// File : ctxCortex.h
3// Description : The actual brain
4// Author : Anders Modén
5// Product : CorTeX 2.0.1
6//
7// Copyright © 2015- Anders Modén, Sweden
8//
9// NOTE: CorTeX is a software development kit (SDK)
10// for neural networks and genetic programming.
11// Licensed by Anders Modén.
12//
13//
14// Revision History...
15//
16// Who Date Description
17//
18// AMO 260828 Added shallow lifecycle-adapter ownership (2.0.2)
19// AMO 150708 Created file (1.0.0)
20//
21//******************************************************************************
22#ifndef __CTX_CORTEX_H__
23#define __CTX_CORTEX_H__
24
25#include "ctxBase.h"
26#include "ctxContext.h"
27#include "ctxOutput.h"
28#include "ctxInput.h"
29#include "ctxNeuron.h"
30
31class ctxCortex : public gzObject ,
32 public ctxInputManager,
33 public ctxOutputManager,
35{
36public:
37
38 GZ_DECLARE_TYPE_INTERFACE_EXPORT(CTX_EXPORT);
39
41 CTX_EXPORT virtual gzBool useDeepCopy() override;
42
44
47
49
50 CTX_EXPORT gzBool checkDataConsistency(gzFloat stddev_factor=0.0f);
51
52 GZ_PROPERTY_EXPORT(ctxContextPtr, Context, CTX_EXPORT);
53};
54
55GZ_DECLARE_REFPTR(ctxCortex);
56
57
58#endif //__CTX_CORTEX_H__
gzVoid connectNeurons(ctxNetworkType type=CTX_NETWORK_TYPE_FEED_FORWARD)
virtual gzBool useDeepCopy() override
gzBool optimizeBackpropPrograms()
gzBool checkDataConsistency(gzFloat stddev_factor=0.0f)
gzBool compile(ctxOptimizeFlags optimize=CTX_OPTIMIZE_NONE)
gzBool calculate_errors(gzBool debug=FALSE, ctxCostErrorMethod method=CTX_COST_ERROR_MSE)
#define CTX_EXPORT
Definition ctxBase.h:68
ctxNetworkType
@ CTX_NETWORK_TYPE_FEED_FORWARD
ctxCostErrorMethod
Definition ctxTypes.h:81
@ CTX_COST_ERROR_MSE
Definition ctxTypes.h:82
ctxOptimizeFlags
@ CTX_OPTIMIZE_NONE