14 #include <mrpt/serialization/CArchive.h>
15 #include <mrpt/serialization/optional_serialization.h>
16 #include <mrpt/version.h>
19 WeightParameters, mrpt::serialization::CSerializable,
mp2p_icp)
24 uint8_t WeightParameters::serializeGetVersion()
const {
return 1; }
25 void WeightParameters::serializeTo(mrpt::serialization::CArchive&
out)
const
32 void WeightParameters::serializeFrom(
33 mrpt::serialization::CArchive& in, uint8_t version)
44 bool dummy_use_robust_kernel;
45 in >> dummy_use_robust_kernel;
54 double dummy_robust_kernel_scale;
55 in >> dummy_robust_kernel_scale;
61 MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(version);
80 #if MRPT_VERSION >= 0x020b03
88 mrpt::containers::yaml a = mrpt::containers::yaml::Map();
90 p[
"pair_weights"] = a;