summaryrefslogtreecommitdiff
path: root/impl/main.cpp
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-06-29 13:00:59 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-06-29 13:00:59 +1000
commit9e0d0b59f44d781d2cbbff4f83d2ab71b7dc0121 (patch)
tree3b147e06c3fab46d4086f7ab979b7528edbaa332 /impl/main.cpp
parentfcc4343ddc74fe70aa9e2b2eb3d18e25cdf7b270 (diff)
Speed up IdSet a bit. I think.
Diffstat (limited to 'impl/main.cpp')
-rw-r--r--impl/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/impl/main.cpp b/impl/main.cpp
index 6546444..3f47a7b 100644
--- a/impl/main.cpp
+++ b/impl/main.cpp
@@ -97,6 +97,8 @@ int main (int argc, char* argv[]) {
cout << "Usage: " << argv[0] << " filename naive|smart naive|repeat" << endl;
exit(1);
}
+
+
FixpointAlgorithm<ZBar>* algorithm = NULL;
if (!strcmp(argv[2], "naive")) {
algorithm = new NaiveFixpointAlgorithm<ZBar>();
@@ -107,6 +109,8 @@ int main (int argc, char* argv[]) {
} else {
cout << "Unknown fixpoint algorithm." << endl;
}
+
+
MaxStrategy<ZBar>::ImprovementOperator* naiveImprovement = new MaxStrategy<ZBar>::NaiveImprovementOperator();
MaxStrategy<ZBar>::ImprovementOperator* improvement = NULL;
if (!strcmp(argv[3], "repeat")) {