From 9e6d89eb998bf0233eded23152c0b91b17cfa8d6 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 21 Nov 2016 15:32:43 -0600 Subject: [PATCH] minor changes with Jack --- main.cpp | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/main.cpp b/main.cpp index aac7aa1..f425682 100644 --- a/main.cpp +++ b/main.cpp @@ -210,39 +210,26 @@ void compare(float sigma){ } // writes features of the networks i.e average segment length, tortuosity, branching index, contraction, fractal dimension, number of end and branch points to a csv file -void features(){ +// Pranathi wrote this - saves network features to a CSV file +void features(std::string filename){ double avgL_t, avgL_gt, avgT_t, avgT_gt, avgB_t, avgB_gt, avgC_t, avgC_gt, avgFD_t, avgFD_gt; unsigned int e_t, e_gt, b_gt, b_t; avgL_gt = GT.Lengths(); avgT_gt = GT.Tortuosities(); - //std::cout<