question: public boolean hasNext ( ) { if ( isBruteForce ) { return ( currentIndex < numEdges ) ; } else { return currentIndexInCandidates < candidates . size ( ) ; } }
target:  False if there are no more candidates; true otherwise.