32 lines
564 B
C++
32 lines
564 B
C++
#pragma once
|
|
|
|
#include <EvolutionaryAlgorithms/GeneticPrograming/Instruction.h>
|
|
|
|
#include <vector>
|
|
|
|
namespace NeuralNetworks {
|
|
namespace ConstructiveAlgorithms {
|
|
namespace CelularEncoding {
|
|
|
|
class Cell;
|
|
class CelularEncoding;
|
|
|
|
namespace Instruction {
|
|
class Instruction : public EvolutionaryAlgorithm::GeneticPrograming::Instruction {
|
|
public:
|
|
virtual ~Instruction() {
|
|
|
|
}
|
|
|
|
// todo what implement??
|
|
void operator()() {}
|
|
|
|
virtual void run(Cell &, CelularEncoding &, const std::vector<double> &) = 0;
|
|
|
|
protected:
|
|
private:
|
|
};
|
|
}
|
|
}
|
|
}
|
|
} |