This function performs three type of experiments. Test specifies the type of comparison to perform.
test
can be exact or appr or enum,
exact
refers to executing the set of steiner tree algorithms including the exact algorithm.
appr
forces to executing the set of steiner tree algorithms without the exact algorithm.
enum
refers to to executing the set of steiner tree enumeration algorithms.
listofterminaltest
in our study was made of 5, 8, 20, 50, 70 for comparing approximate algorithms and it was 5, 8 for experiments that included exact Steiner tree algorithm. [1]
If testfolder
is NULL, it will use default value "steinerdata2" for folder when test
is exact
and "steinerdataenum" when test
is enum
.
In our study, we repeated the tests 50 times, and we made the random walk to select a node to be terminal with 0.5 probability. Therefore repetition
in our comparison was a list of fifty 0.5 values. We also survied the behavior of the algorithms when selection probability was and 0.2
and 0.8.