MCPcopy Create free account

hub / github.com/dhadka/TSPLIB4J / functions

Functions163 in github.com/dhadka/TSPLIB4J

MethodgetDistanceBetween
{@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
MethodgetDistanceBetween
(int id1, int id2)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:271
MethodgetDistanceBetween
(int id1, int id2)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:181
MethodgetEdgeDataFormat
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
MethodgetEdgeWeightFormat
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
MethodgetId1
Returns the identifier of the first node. @return the identifier of the first node
src/org/moeaframework/problem/tsplib/Edge.java:55
MethodgetId2
Returns the identifier of the second node. @return the identifier of the second node
src/org/moeaframework/problem/tsplib/Edge.java:64
MethodgetNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/EdgeData.java:182
MethodgetNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:253
MethodgetNeighborsOf
(int id)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:163
MethodgetNodeCoordinateType
Returns the format of node coordinate data. @return the format of node coordinate data
src/org/moeaframework/problem/tsplib/TSPInstance.java:366
MethodgetVehicleRoutingTable
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
MethodhashCode
()
src/org/moeaframework/problem/tsplib/Node.java:83
MethodinitializeInstances
()
test/org/moeaframework/problem/tsplib/TestTSP.java:40
MethodinitializeInstances
()
test/org/moeaframework/problem/tsplib/TestSOP.java:41
MethodinitializeInstances
()
test/org/moeaframework/problem/tsplib/TestATSP.java:41
MethodinitializeInstances
()
test/org/moeaframework/problem/tsplib/TestHCP.java:40
MethodinitializeInstances
()
test/org/moeaframework/problem/tsplib/TestVRP.java:41
MethodisDepot
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
MethodlistNodes
()
src/org/moeaframework/problem/tsplib/EdgeData.java:171
MethodlistNodes
()
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:242
MethodlistNodes
()
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:151
Methodload
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/EdgeData.java:89
Methodload
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
Methodload
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:94
Methodload
(BufferedReader reader)
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:83
Methodmain
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
Methodmain
(String[] args)
src/org/moeaframework/problem/tsplib/TSPPanel.java:336
MethodnewSolution
()
src/org/moeaframework/problem/tsplib/TSPExample.java:134
Methodpaint
(Graphics g)
src/org/moeaframework/problem/tsplib/TSPPanel.java:245
MethodpaintComponent
(Graphics g)
src/org/moeaframework/problem/tsplib/TSPPanel.java:252
MethodremoveTour
Removes the specified tour from this display. @param tour the tour to remove
src/org/moeaframework/problem/tsplib/TSPPanel.java:183
MethodsetInsets
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
MethodsetNodeWidth
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
Methodtest3Node
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
Methodtest4Node
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
MethodtestATT532
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:51
MethodtestDistance
()
test/org/moeaframework/problem/tsplib/TestTSP.java:176
MethodtestEquals1
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:71
MethodtestEquals2
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:80
MethodtestFromToArray
()
test/org/moeaframework/problem/tsplib/TourTest.java:58
MethodtestGR666
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:43
MethodtestGetOppositeEndpoint
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:40
MethodtestGetOppositeEndpointError
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:48
MethodtestHasEndpoint
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:31
MethodtestHashCode1
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:55
MethodtestHashCode2
()
test/org/moeaframework/problem/tsplib/EdgeTest.java:63
MethodtestIsEquivalent1
()
test/org/moeaframework/problem/tsplib/TourTest.java:31
MethodtestIsEquivalent2
()
test/org/moeaframework/problem/tsplib/TourTest.java:40
MethodtestIsEquivalent3
()
test/org/moeaframework/problem/tsplib/TourTest.java:49
MethodtestLoad
()
test/org/moeaframework/problem/tsplib/TestTSP.java:161
MethodtestLoad
()
test/org/moeaframework/problem/tsplib/TestSOP.java:93
MethodtestLoad
()
test/org/moeaframework/problem/tsplib/TestATSP.java:70
MethodtestLoad
()
test/org/moeaframework/problem/tsplib/TestHCP.java:59
MethodtestLoad
()
test/org/moeaframework/problem/tsplib/TestVRP.java:67
MethodtestPCB442
()
test/org/moeaframework/problem/tsplib/DistanceFunctionTest.java:35
MethodtestReverse1
()
test/org/moeaframework/problem/tsplib/TourTest.java:67
MethodtestReverse2
()
test/org/moeaframework/problem/tsplib/TourTest.java:75
MethodtestReverse3
()
test/org/moeaframework/problem/tsplib/TourTest.java:83
MethodtestReverse4
()
test/org/moeaframework/problem/tsplib/TourTest.java:91
MethodtoString
()
src/org/moeaframework/problem/tsplib/EdgeWeightMatrix.java:223
MethodtoString
()
src/org/moeaframework/problem/tsplib/Tour.java:314
MethodtoString
()
src/org/moeaframework/problem/tsplib/NodeCoordinates.java:199
← previous101–163 of 163, ranked by callers