Skip to content

Commit

Permalink
Remove TSP Optimiser
Browse files Browse the repository at this point in the history
Unused, and introduced incompatibly licensed libraries.
  • Loading branch information
pelrun committed Sep 25, 2016
1 parent d9e985c commit 5d5d7f3
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 283 deletions.
6 changes: 1 addition & 5 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ LibLaserCut itself is licensed under the GNU Lesser Public License (see COPYING.

However, it contains some 3rd Party files, which are listed below.

GPL v2 (These are incompatible with the LGPL and will be replaced shortly):
- GLPK (http://www.gnu.org/software/glpk/)
- SCPSolver (http://scpsolver.org/), GPLed due to use of GPLK

Eclipse Public License 1.0:
- JUnit (http://junit.org/), see http://junit.org/junit4/license.html

Expand All @@ -18,4 +14,4 @@ Mozilla Public License 2.0:
- Rhino JS interpreter (https://github.com/mozilla/rhino)

BSD Licensed:
- Purejavacomm by Kustaa "Kusti" Nyholm (https://github.com/nyholku/purejavacomm)
- Purejavacomm by Kustaa "Kusti" Nyholm (https://github.com/nyholku/purejavacomm)
Binary file removed lib/GLPKSolverPack.jar
Binary file not shown.
Binary file removed lib/SCPSolver.jar
Binary file not shown.
5 changes: 1 addition & 4 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,23 @@ endorsed.classpath=
excludes=
file.reference.commons-net-3.1.jar=lib/commons-net-3.1.jar
file.reference.corn-httpclient-1.0.12.jar=lib/corn-httpclient-1.0.12.jar
file.reference.GLPKSolverPack.jar=lib/GLPKSolverPack.jar
file.reference.jna-4.0.0.jar=lib/jna-4.0.0.jar
file.reference.js.jar=lib/js.jar
file.reference.purejavacomm-0.0.22.jar=lib/purejavacomm-0.0.22.jar
file.reference.SCPSolver.jar=lib/SCPSolver.jar
includes=**
jar.archive.disabled=${jnlp.enabled}
jar.compress=false
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.commons-net-3.1.jar}:\
${file.reference.js.jar}:\
${file.reference.GLPKSolverPack.jar}:\
${file.reference.SCPSolver.jar}:\
${file.reference.jna-4.0.0.jar}:\
${file.reference.purejavacomm-0.0.22.jar}:\
${file.reference.corn-httpclient-1.0.12.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.external.vm=false
javac.processorpath=\
${javac.classpath}
javac.source=1.6
Expand Down
270 changes: 0 additions & 270 deletions src/com/t_oster/liblasercut/vectoroptimizers/TSPOptimizer.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public enum OrderStrategy
NEAREST,
INNER_FIRST,
SMALLEST_FIRST,
DELETE_DUPLICATE_PATHS,
TSP_OPTIMIZER
DELETE_DUPLICATE_PATHS
}

protected class Element
Expand Down Expand Up @@ -142,8 +141,6 @@ public static VectorOptimizer create(OrderStrategy s)
return new SmallestFirstVectorOptimizer();
case DELETE_DUPLICATE_PATHS:
return new DeleteDuplicatePathsOptimizer();
case TSP_OPTIMIZER:
return new TSPOptimizer();
}
throw new IllegalArgumentException("Unknown Order Strategy: " + s);
}
Expand Down

0 comments on commit 5d5d7f3

Please sign in to comment.