Commit 76a0fd44 authored by Martin Beseda's avatar Martin Beseda

ENH: Added serialization to the class NeuronBinary.

parent cd1bf347
......@@ -17,9 +17,13 @@
*/
class NeuronBinary:public Neuron {
friend class boost::serialization::access;
private:
protected:
template<class Archive>
void serialize(Archive & ar, const unsigned int version);
void serialize(Archive & ar, const unsigned int version){
//TODO separate implementation to NeuronLogistic.cpp!
ar & boost::serialization::base_object<Neuron>(*this);
};
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment