<commit_before>A Java library for TSPLIB
===

### About TSPLIB:

[TSPLIB](http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/) is a collection of [Traveling Salesman Problem](http://en.wikipedia.org/wiki/Travelling_salesman_problem) instances and a file format for storing TSP instance data.

Prerequisites:

    * Java 1.5 or later


### Reading TSP Instance Data:

TSPProblem problem = new TSPProblem();
problem.load(new File("./data/tsp/pcb442.tsp"));
problem.addTour(new File("./data/tsp/pcb442.opt.tour"));
		
for (Tour tour : problem.getTours()) {
	System.out.println(tour.distance(problem.getDistanceTable()));
}


Other Open Source Libraries
---
  - [MOEA Framework](http://www.moeaframework.org)
  - [DGantt](http://sourceforge.net/projects/dgantt/)<commit_msg>Updates README file<commit_after>A Java library for TSPLIB
===

### About TSPLIB4J:

[TSPLIB](http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/) is a collection of [Traveling Salesman Problem](http://en.wikipedia.org/wiki/Travelling_salesman_problem) instances and a file format for storing TSP instance data.  TSPLIB4J is a Java library for reading TSPLIB instance data.

Prerequisites:

    * Java 1.5 or later


### Reading TSP Instance Data:

    TSPProblem problem = new TSPProblem();
    problem.load(new File("./data/tsp/pcb442.tsp"));
    problem.addTour(new File("./data/tsp/pcb442.opt.tour"));
    		
    for (Tour tour : problem.getTours()) {
    	System.out.println(tour.distance(problem.getDistanceTable()));
    }


Other Open Source Libraries
---
  - [MOEA Framework](http://www.moeaframework.org)
  - [DGantt](http://sourceforge.net/projects/dgantt/)
{'fraction_non_alphanumeric': 0.14416058394160583, 'fraction_numerical': 0.01338199513381995, 'mean_word_length': 4.255591054313099, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1929830', 'n_tokens_mistral': 608, 'n_tokens_neox': 549, 'n_words': 119}