1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00
graphhopper-jsprit/docs/Getting-Started.md
2016-09-01 09:55:06 +02:00

1.7 KiB

####Requirements jsprit requires the Java 2 platform (JDK version 1.7.0 or later).

####Modules jsprit is a multi-module project and consists of:

  • jsprit-core
  • jsprit-analysis
  • jsprit-instances
  • jsprit-examples
  • jsprit-io

####Maven way To use jsprit-core, add the following lines to your pom:

<dependency>
   <groupId>com.graphhopper</groupId>
   <artifactId>jsprit-core</artifactId>
   <version>1.7-RC1</version>
</dependency>

####If you do not have an IDE and you want to use Maven

the following documentation is recommended:

GeoTools - Quickstart

Here you learn to setup the Java environment and an Integrated Development Environment (IDE). In the subsection Adding Jars to your Project you learn to integrate external libraries in your project. Just copy/paste the above jsprit releases/snapshots to your pom.xml instead of the GeoTools-artifacts.

If you do not want Maven

to manage your dependencies, go to snapshot-jars or release-jars to download jsprit-binaries directly. Just click on the jar-file you want to download and use the 'Raw'-button to actually download it. Put the jars into your classpath. Note that you then need to put all dependencies jsprit relies on manually to your classpath as well.

Go ahead and show me a simple example of how to setup and solve a vehicle routing problem.