Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhadka/TSPLIB4J
/ functions
Functions
163 in github.com/dhadka/TSPLIB4J
⨍
Functions
163
◇
Types & classes
36
Method
getDistanceBetween
{@inheritDoc} The distance between two nodes is {@code 1} when an edge exists, or {@code Double.POSITIVE_INFINITY} when no such edge exists.
src/org/moeaframework/problem/tsplib/EdgeData.java:212
Method
getDistanceBetween
(int id1, int id2)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:271
Method
getDistanceBetween
(int id1, int id2)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:181
Method
getEdgeDataFormat
Returns the format of edge data; or {@code null} if edge data is not explicitly defined. @return the format of edge data; or {@code null} if edge dat
src/org/moeaframework/problem/tsplib/TSPInstance.java:357
Method
getEdgeWeightFormat
Returns the format of the edge weight matrix when explicit weights are used; or {@code null} if edge weights are not explicit. @return the format of
src/org/moeaframework/problem/tsplib/TSPInstance.java:346
Method
getId1
Returns the identifier of the first node. @return the identifier of the first node
src/org/moeaframework/problem/tsplib/Edge.java:55
Method
getId2
Returns the identifier of the second node. @return the identifier of the second node
src/org/moeaframework/problem/tsplib/Edge.java:64
Method
getNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/EdgeData.java:182
Method
getNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:253
Method
getNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:163
Method
getNodeCoordinateType
Returns the format of node coordinate data. @return the format of node coordinate data
src/org/moeaframework/problem/tsplib/TSPInstance.java:366
Method
getVehicleRoutingTable
Returns the demands and depot nodes for vehicle routing problems; or {@code null} if this is not a vehicle routing problem instance. @return the dema
src/org/moeaframework/problem/tsplib/TSPInstance.java:428
Method
hashCode
()
src/org/moeaframework/problem/tsplib/Node.java:83
Method
initializeInstances
()
test/org/moeaframework/problem/tsplib/TestTSP.java:40
Method
initializeInstances
()
test/org/moeaframework/problem/tsplib/TestSOP.java:41
Method
initializeInstances
()
test/org/moeaframework/problem/tsplib/TestATSP.java:41
Method
initializeInstances
()
test/org/moeaframework/problem/tsplib/TestHCP.java:40
Method
initializeInstances
()
test/org/moeaframework/problem/tsplib/TestVRP.java:41
Method
isDepot
Returns {@code true} if this is a depot node; {@code false} otherwise. @param id the identifier of the node @return {@code true} if this is a depot n
src/org/moeaframework/problem/tsplib/VehicleRoutingTable.java:134
Method
listNodes
()
src/org/moeaframework/problem/tsplib/EdgeData.java:171
Method
listNodes
()
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:242
Method
listNodes
()
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:151
Method
load
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/EdgeData.java:89
Method
load
Loads the distance table from the specified reader. @param reader the reader containing the distance table @throws IOException if an I/O error occurr
src/org/moeaframework/problem/tsplib/DistanceTable.java:76
Method
load
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:94
Method
load
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:83
Method
main
Runs the example TSP optimization problem. @param args the command line arguments; none are defined @throws IOException if an I/O error occurred
src/org/moeaframework/problem/tsplib/TSPExample.java:152
Method
main
(String[] args)
src/org/moeaframework/problem/tsplib/TSPPanel.java:336
Method
newSolution
()
src/org/moeaframework/problem/tsplib/TSPExample.java:134
Method
paint
(Graphics g)
src/org/moeaframework/problem/tsplib/TSPPanel.java:245
Method
paintComponent
(Graphics g)
src/org/moeaframework/problem/tsplib/TSPPanel.java:252
Method
removeTour
Removes the specified tour from this display. @param tour the tour to remove
src/org/moeaframework/problem/tsplib/TSPPanel.java:183
Method
setInsets
Sets the border around the graphical display. This border should be at least half the node width to ensure nodes are fully contained inside the panel
src/org/moeaframework/problem/tsplib/TSPPanel.java:213
Method
setNodeWidth
Sets the width of nodes in the graphical display. @param nodeWidth the width of nodes in the graphical display
src/org/moeaframework/problem/tsplib/TSPPanel.java:198
Method
test3Node
Tests the boundary case of 3 nodes; no change to the tour should occur. @throws IOException should not occur
test/org/moeaframework/problem/tsplib/TSP2OptHeuristicTest.java:67
Method
test4Node
Tests if a simple tour with intersecting edges is correctly improved by the 2-opt heuristic. Because TSPLIB rounds to integers, the node coordinates
test/org/moeaframework/problem/tsplib/TSP2OptHeuristicTest.java:97
Method
testATT532
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:51
Method
testDistance
()
test/org/moeaframework/problem/tsplib/TestTSP.java:176
Method
testEquals1
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:71
Method
testEquals2
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:80
Method
testFromToArray
()
test/org/moeaframework/problem/tsplib/TourTest.java:58
Method
testGR666
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:43
Method
testGetOppositeEndpoint
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:40
Method
testGetOppositeEndpointError
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:48
Method
testHasEndpoint
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:31
Method
testHashCode1
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:55
Method
testHashCode2
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:63
Method
testIsEquivalent1
()
test/org/moeaframework/problem/tsplib/TourTest.java:31
Method
testIsEquivalent2
()
test/org/moeaframework/problem/tsplib/TourTest.java:40
Method
testIsEquivalent3
()
test/org/moeaframework/problem/tsplib/TourTest.java:49
Method
testLoad
()
test/org/moeaframework/problem/tsplib/TestTSP.java:161
Method
testLoad
()
test/org/moeaframework/problem/tsplib/TestSOP.java:93
Method
testLoad
()
test/org/moeaframework/problem/tsplib/TestATSP.java:70
Method
testLoad
()
test/org/moeaframework/problem/tsplib/TestHCP.java:59
Method
testLoad
()
test/org/moeaframework/problem/tsplib/TestVRP.java:67
Method
testPCB442
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:35
Method
testReverse1
()
test/org/moeaframework/problem/tsplib/TourTest.java:67
Method
testReverse2
()
test/org/moeaframework/problem/tsplib/TourTest.java:75
Method
testReverse3
()
test/org/moeaframework/problem/tsplib/TourTest.java:83
Method
testReverse4
()
test/org/moeaframework/problem/tsplib/TourTest.java:91
Method
toString
()
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:223
Method
toString
()
src/org/moeaframework/problem/tsplib/Tour.java:314
Method
toString
()
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:199
← previous
101–163 of 163, ranked by callers