Skip to content

Commit

Permalink
write linkstats to output folder (if linkstats were written in the la…
Browse files Browse the repository at this point in the history
…st iteration)
  • Loading branch information
markusstraub committed Mar 5, 2024
1 parent ad79705 commit 78d51ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ public void notifyIterationStarts(IterationStartsEvent event) {

@Override
public void notifyShutdown(ShutdownEvent event) {
if (createLinkStatsInIteration(event.getIteration())) {
linkStats.writeFile(this.controlerIO.getOutputFilename(Controler.DefaultFiles.linkstats));
}

String fileName = this.controlerIO.getOutputFilename(Controler.DefaultFiles.linkscsv);
CSVFormat format = CSVFormat.DEFAULT.builder()
Expand Down

0 comments on commit 78d51ed

Please sign in to comment.