| 71 | typename K |
| 72 | > |
| 73 | void serialize ( |
| 74 | const decision_function<K>& item, |
| 75 | std::ostream& out |
| 76 | ) |
| 77 | { |
| 78 | try |
| 79 | { |
| 80 | serialize(item.alpha, out); |
| 81 | serialize(item.b, out); |
| 82 | serialize(item.kernel_function, out); |
| 83 | serialize(item.basis_vectors, out); |
| 84 | } |
| 85 | catch (serialization_error& e) |
| 86 | { |
| 87 | throw serialization_error(e.info + "\n while serializing object of type decision_function"); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | template < |
| 92 | typename K |
nothing calls this directly
no test coverage detected