| 92 | typename K |
| 93 | > |
| 94 | void deserialize ( |
| 95 | decision_function<K>& item, |
| 96 | std::istream& in |
| 97 | ) |
| 98 | { |
| 99 | try |
| 100 | { |
| 101 | deserialize(item.alpha, in); |
| 102 | deserialize(item.b, in); |
| 103 | deserialize(item.kernel_function, in); |
| 104 | deserialize(item.basis_vectors, in); |
| 105 | } |
| 106 | catch (serialization_error& e) |
| 107 | { |
| 108 | throw serialization_error(e.info + "\n while deserializing object of type decision_function"); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | // ---------------------------------------------------------------------------------------- |
| 113 |
nothing calls this directly
no test coverage detected