| 36 | public: |
| 37 | |
| 38 | void setup( |
| 39 | const potts_problem& p |
| 40 | ) |
| 41 | { |
| 42 | flows.resize(p.number_of_nodes()); |
| 43 | for (unsigned long i = 0; i < flows.size(); ++i) |
| 44 | { |
| 45 | flows[i].resize(p.number_of_neighbors(i)); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | edge_type& operator() ( |
| 50 | const long r, |
no test coverage detected