File indexing completed on 2026-06-02 08:48:23
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef NEURALNETWORKLAYER_H_
0009 #define NEURALNETWORKLAYER_H_
0010
0011 #include <string>
0012 #include <vector>
0013
0014 #include "../neural_network_cell/NeuralNetworkCell.h"
0015
0016 namespace NumA {
0017
0018 class NeuralNetworkLayer {
0019
0020 public:
0021
0022 NeuralNetworkLayer();
0023 NeuralNetworkLayer(const NeuralNetworkLayer& other);
0024 virtual ~NeuralNetworkLayer();
0025 virtual NeuralNetworkLayer* clone() const;
0026 virtual std::string toString() const;
0027
0028 const std::vector<NeuralNetworkCell*>& getCells() const;
0029 void setCells(const std::vector<NeuralNetworkCell*>& cells);
0030 void addCell(NeuralNetworkCell* const cell);
0031
0032 void evaluate() const;
0033
0034 private:
0035
0036 std::vector<NeuralNetworkCell*> m_cells;
0037 };
0038
0039 }
0040
0041 #endif