MCPcopy Create free account
hub / github.com/BirolLab/abyss / PoorSupport

Class PoorSupport

SimpleGraph/SimpleGraph.cpp:653–660  ·  view source on GitHub ↗

Return whether the specified edge has sufficient support. */

Source from the content-addressed store, hash-verified

651
652/** Return whether the specified edge has sufficient support. */
653struct 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
662struct WorkerArg {
663 istream* in;

Callers 1

workerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected