Skip to content
Snippets Groups Projects
Commit fad7bd9e authored by Thomas Oster's avatar Thomas Oster
Browse files

add TSP Optimizer

parent 0451a0ba
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,8 @@ public abstract class VectorOptimizer
NEAREST,
INNER_FIRST,
SMALLEST_FIRST,
DELETE_DUPLICATE_PATHS
DELETE_DUPLICATE_PATHS,
TSP_OPTIMIZER
}
protected class Element
......@@ -141,6 +142,8 @@ public abstract class VectorOptimizer
return new SmallestFirstVectorOptimizer();
case DELETE_DUPLICATE_PATHS:
return new DeleteDuplicatePathsOptimizer();
case TSP_OPTIMIZER:
return new TSPOptimizer();
}
throw new IllegalArgumentException("Unknown Order Strategy: " + s);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment