| 103 | } |
| 104 | |
| 105 | value_type factor_value_disagreement (unsigned long idx1, unsigned long idx2) const |
| 106 | { |
| 107 | DLIB_TEST(idx1 != idx2); |
| 108 | DLIB_TEST(idx1 < number_of_nodes()); |
| 109 | DLIB_TEST(idx2 < number_of_nodes()); |
| 110 | DLIB_TEST(get_neighbor_idx(idx1,idx2) < number_of_neighbors(idx1)); |
| 111 | DLIB_TEST(get_neighbor_idx(idx2,idx1) < number_of_neighbors(idx2)); |
| 112 | |
| 113 | return factors2(idx1, idx2); |
| 114 | } |
| 115 | |
| 116 | }; |
| 117 |
nothing calls this directly
no outgoing calls
no test coverage detected