| 37 | |
| 38 | template < typename feature_extractor > |
| 39 | void serialize (const process_sample<feature_extractor>& item, std::ostream& out) |
| 40 | { |
| 41 | serialize(item.state, out); |
| 42 | serialize(item.action, out); |
| 43 | serialize(item.next_state, out); |
| 44 | serialize(item.reward, out); |
| 45 | } |
| 46 | |
| 47 | template < typename feature_extractor > |
| 48 | void deserialize (process_sample<feature_extractor>& item, std::istream& in) |
nothing calls this directly
no test coverage detected