cellular encoding
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
namespace NeuralNetworks {
|
||||
namespace ConstructiveAlgorithms {
|
||||
namespace CelularEncoding {
|
||||
class Exception : public std::exception {
|
||||
public:
|
||||
Exception (const std::string &e) : _what(e) {
|
||||
|
||||
}
|
||||
|
||||
virtual const char* what() const noexcept override {
|
||||
return _what.c_str();
|
||||
}
|
||||
protected:
|
||||
std::string _what;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user