void PairwiseEvaluation<Chord>::printVerboseOutput(std::ostream& inVerboseOStream, const double theStartTime, const double theEndTime, const Chord& theRefLabel, const Chord& theTestLabel, const Chord& theMappedRefLabel, const Chord& theMappedTestLabel, const double theScore, const double theSegmentLength) const { inVerboseOStream << theStartTime << "," << theEndTime << ",\"" << ChordQMUL(theRefLabel) << "\",\"" << ChordQMUL(theTestLabel) << "\"," << theScore << "," << theSegmentLength << ",\"" << ChordQMUL(theMappedRefLabel) << "\",\"" << ChordQMUL(theMappedTestLabel) << "\",[ "; set<Chroma> refChromas = theRefLabel.chromas(); set<Chroma> testChromas = theTestLabel.chromas(); for (set<Chroma>::const_iterator it = refChromas.begin(); it != refChromas.end(); ++it) inVerboseOStream << it->str() << " "; inVerboseOStream << "],[ "; for (set<Chroma>::const_iterator it = testChromas.begin(); it != testChromas.end(); ++it) inVerboseOStream << it->str() << " "; inVerboseOStream << "],"; inVerboseOStream << theRefLabel.commonChromas(theTestLabel).size(); inVerboseOStream << ","; inVerboseOStream << theRefLabel.bass(true); inVerboseOStream << ","; inVerboseOStream << theTestLabel.bass(true); inVerboseOStream << endl; // set<Chroma> common = theRefLabel.commonChromas(theTestLabel); // for (set<Chroma>::const_iterator it = common.begin(); it != common.end(); ++it) // inVerboseOStream << it->str() << " "; // inVerboseOStream << std::endl; }