}
else if (algType.equals("greedy2")) {
a = new GreedyAlgorithm2(model);
}
else if (algType.equals("greedy3_delta1")) {
a = new GreedyAlgorithm3(model, 1);
}
else if (algType.equals("greedy3_delta2")) {
a = new GreedyAlgorithm3(model, 2);
}
else if (algType.equals("greedy3_delta3")) {
a = new GreedyAlgorithm3(model, 3);
}
if (a == null) {
log += "no such algorithm\n";
return;
}