Commit 5c0bb941 authored by Gijs van Cuyck's avatar Gijs van Cuyck

integrated the hybrid ads code into the main method and added command

line option to use it in addition to the regular code and compare the
the results of the comparison get added to a different file that can be
changed through command line options.
parent d4a2b4e2
No preview for this file type
@echo off
IF EXIST "do_copy" copy ..\cmake-build-debug\main.exe main.exe
IF EXIST "all_benchmarks_compare_results.txt" del "all_benchmarks_compare_results.txt"
for /R "..\benchmarks\" %%i in (*) do (
echo running agorithm for %%~nxi
main.exe -a -f %%i
main.exe -c -C "all_benchmarks_compare_results.txt" -a -f %%i
\ No newline at end of file
// Created by Gijs van Cuyck on 28/11/2018.
// code related to analysing test suites
#include <vector>
#include <string>
namespace analysys{
//calculate the total number of symbols in the test suite where the cost of a reset can be chosen manually.
template<typename T>
int calculate_TS_lenght(const std::vector<std::vector<T>> & TS, int reset_cost = 1)
int result = 0;
for(const std::vector<T> & test : TS)
return result;
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment