Return whether the specified edge has sufficient support. */
| 651 | |
| 652 | /** Return whether the specified edge has sufficient support. */ |
| 653 | struct PoorSupport { |
| 654 | PoorSupport(unsigned minEdgeWeight) : m_minEdgeWeight(minEdgeWeight) { } |
| 655 | bool operator()(const Estimates::value_type& estimate) const |
| 656 | { |
| 657 | return estimate.second.numPairs < m_minEdgeWeight; |
| 658 | } |
| 659 | const unsigned m_minEdgeWeight; |
| 660 | }; |
| 661 | |
| 662 | struct WorkerArg { |
| 663 | istream* in; |