mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
rm ToDos
This commit is contained in:
parent
7b578d3ce6
commit
4757753f26
14 changed files with 25 additions and 56 deletions
|
|
@ -46,7 +46,7 @@ public class TSPLIB95Reader {
|
|||
|
||||
public void read(String filename){
|
||||
BufferedReader reader = getBufferedReader(filename);
|
||||
String line;
|
||||
String line_;
|
||||
Coordinate[] coords = null;
|
||||
int[] demands = null;
|
||||
Integer capacity = null;
|
||||
|
|
@ -61,7 +61,8 @@ public class TSPLIB95Reader {
|
|||
int dimensions = 0;
|
||||
int coordIndex = 0;
|
||||
Map<Integer,Integer> indexMap = new HashMap<Integer, Integer>();
|
||||
while( ( line = getLine(reader) ) != null ){
|
||||
while( ( line_ = getLine(reader) ) != null ){
|
||||
String line = line_.trim();
|
||||
if(line.startsWith("EOF") || line.contains("EOF")){
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue