Discover bubbles to pop. */
| 1083 | |
| 1084 | /** Discover bubbles to pop. */ |
| 1085 | size_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. */ |
| 1103 | size_t NetworkSequenceCollection::controlPopBubbles(ostream& out) |
nothing calls this directly
no test coverage detected