}
}
+
+ public:
+ // make this accumulator serializeable
+ // TODO: do we need to split to load/save and verify that the parameters did not change?
+ template<class Archive>
+ void serialize(Archive & ar, const unsigned int file_version)
+ {
+ ar & probabilities;
+ ar & probability;
+ }
+
private:
array_type probabilities;