diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-24 01:54:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-24 01:54:13 +0300 |
commit | 82a674e409fce161299efeb43e1176f869af64af (patch) | |
tree | 3b544bd96688f3847233e011452c754c38755116 /plot.bat | |
parent | add Pylint configuration (diff) | |
download | sorting-algorithms-82a674e409fce161299efeb43e1176f869af64af.tar.gz sorting-algorithms-82a674e409fce161299efeb43e1176f869af64af.zip |
major refactoring
With the focus on (re)usability.
That includes adding separate modules for plotting, input generation
and things like that.
Diffstat (limited to '')
-rw-r--r-- | plot.bat | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -27,14 +27,17 @@ set max=%DEFAULT_MAX% ) -plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^ - -i ascending -o "%algorithm%_%iterations%_ascending_%min%_%max%.png" ^ +plot.py "%algorithm%" --min "%min%" --max "%max%" ^ + --iterations "%iterations%" --input best ^ + --output "%algorithm%_%iterations%_best_%min%_%max%.png" ^ || exit /b !errorlevel! -plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^ - -i random -o "%algorithm%_%iterations%_random_%min%_%max%.png" ^ +plot.py "%algorithm%" --min "%min%" --max "%max%" ^ + --iterations "%iterations%" --input average ^ + --output "%algorithm%_%iterations%_average_%min%_%max%.png" ^ || exit /b !errorlevel! -plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^ - -i descending -o "%algorithm%_%iterations%_descending_%min%_%max%.png" ^ +plot.py "%algorithm%" --min "%min%" --max "%max%" ^ + --iterations "%iterations%" --input worst ^ + --output "%algorithm%_%iterations%_worst_%min%_%max%.png" ^ || exit /b !errorlevel! @exit /b |