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

Method controlDiscoverBubbles

Parallel/NetworkSequenceCollection.cpp:1085–1100  ·  view source on GitHub ↗

Discover bubbles to pop. */

Source from the content-addressed store, hash-verified

1083
1084/** Discover bubbles to pop. */
1085size_t NetworkSequenceCollection::controlDiscoverBubbles()
1086{
1087 SetState(NAS_DISCOVER_BUBBLES);
1088 m_comm.sendControlMessage(APC_SET_STATE, NAS_DISCOVER_BUBBLES);
1089
1090 size_t numDiscovered = performNetworkDiscoverBubbles();
1091 EndState();
1092
1093 m_numReachedCheckpoint++;
1094 while (!checkpointReached())
1095 pumpNetwork();
1096 numDiscovered += m_checkpointSum;
1097 if (numDiscovered > 0 && opt::verbose > 0)
1098 cout << "Discovered " << numDiscovered << " bubbles.\n";
1099 return numDiscovered;
1100}
1101
1102/** Pop the bubbles discovered previously. */
1103size_t NetworkSequenceCollection::controlPopBubbles(ostream& out)

Callers

nothing calls this directly

Calls 1

sendControlMessageMethod · 0.45

Tested by

no test coverage detected