MCPcopy Create free account
hub / github.com/GMUEClab/ecj / loadNodes

Method loadNodes

ecj/src/main/java/ec/app/tsp/TSPGraph.java:118–136  ·  view source on GitHub ↗

Load a TSP problem from a file and store it as a Map from IDs to points. The reader should already be advanced one line beyond the occurrence of A_NODE_COORD_SECTION, so that the next line is the first node in the list.

(final BufferedReader r)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TSPGraphMethod · 0.95

Calls 4

readLineMethod · 0.80
sizeMethod · 0.65
equalsMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected