| 24 | |
| 25 | template <storage::Ownership Ownership> |
| 26 | inline void write(storage::tar::FileWriter &writer, |
| 27 | const std::string &name, |
| 28 | const detail::CellMetricImpl<Ownership> &metric) |
| 29 | { |
| 30 | storage::serialization::write(writer, name + "/weights", metric.weights); |
| 31 | storage::serialization::write(writer, name + "/durations", metric.durations); |
| 32 | storage::serialization::write(writer, name + "/distances", metric.distances); |
| 33 | } |
| 34 | |
| 35 | template <typename EdgeDataT, storage::Ownership Ownership> |
| 36 | inline void read(storage::tar::FileReader &reader, |
no outgoing calls
no test coverage detected