prune-trace: added "sampling with fault expansion"
The FESamplingPruner implements the fault-expansion variance reduction technique (FE-VRT) as described in: Smith, D. Todd and Johnson, Barry W. and Andrianos, Nikos and Profeta, III, Joseph A., "A variance-reduction technique via fault-expansion for fault-coverage estimation" (1997), 366--374. Change-Id: I04a0c9bb2622974278bd8c73793e51451119e650
This commit is contained in:
@ -11,6 +11,7 @@ using std::endl;
|
||||
|
||||
#include "Pruner.hpp"
|
||||
#include "BasicPruner.hpp"
|
||||
#include "FESamplingPruner.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
std::string username, hostname, database;
|
||||
@ -59,6 +60,9 @@ int main(int argc, char *argv[]) {
|
||||
} else if (imp == "BasicPrunerLeft" || imp == "basic-left") {
|
||||
LOG << "Using BasicPruner (use left border, instr1)" << endl;
|
||||
pruner = new BasicPruner(true);
|
||||
} else if (imp == "FESamplingPruner" || imp == "sampling") {
|
||||
LOG << "Using FESamplingPruner" << endl;
|
||||
pruner = new FESamplingPruner;
|
||||
|
||||
} else {
|
||||
LOG << "Unknown pruning method: " << imp << endl;
|
||||
|
||||
Reference in New Issue
Block a user