40 for (
unsigned int i = 0; i < (infectionCounts.size() - 1); i++) {
43 m_fstream << infectionCounts[infectionCounts.size() - 1] << endl;
Utilities for the project.
static filesys::path BuildPath(const std::string &output_prefix, const std::string &filename)
Interpret prefix (directory or filename prefix) and return appropriate path.
Header for the InfectedFile class.
InfectedFile(const std::string &output_dir="output")
Constructor: initialize.
~InfectedFile()
Destructor: close the file stream.
std::ofstream m_fstream
The file stream.
Interface for install directory queries.
Namespace for the simulator and related classes.
void Print(const std::vector< unsigned int > &infectionCounts)
Print the given cases with corresponding tag.