java.lang.Object
org.jgrapht.nio.tsplib.TSPLIBImporter.Specification
- Enclosing class:
- TSPLIBImporter<V,
E>
Container for the entry values read from the specification part of a file in
TSPLIB95 format.
- Author:
- Hannes Wellmann
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the CAPACITY keyword in the imported file.Returns theList
of values for the COMMENT keyword in the imported file.Returns the value of the DIMENSION keyword in the imported file.Returns the value of the DISPLAY_DATA_TYPE keyword in the imported file.Returns the value of the EDGE_DATA_FORMAT keyword in the imported file.Returns the value of the EDGE_WEIGHT_FORMAT keyword in the imported file.Returns the value of the EDGE_WEIGHT_TYPE keyword in the imported file.getName()
Returns the value of the NAME keyword in the imported file.Returns the value of the NODE_COORD_TYPE keyword in the imported file.getType()
Returns the value of the TYPE keyword in the imported file.
-
Method Details
-
getName
Returns the value of the NAME keyword in the imported file.- Returns:
- the value of the NAME keyword
-
getType
Returns the value of the TYPE keyword in the imported file.- Returns:
- the value of the TYPE keyword
-
getComments
Returns theList
of values for the COMMENT keyword in the imported file.- Returns:
- the value of the COMMENT keyword
-
getDimension
Returns the value of the DIMENSION keyword in the imported file.- Returns:
- the value of the DIMENSION keyword
-
getCapacity
Returns the value of the CAPACITY keyword in the imported file.- Returns:
- the value of the CAPACITY keyword
-
getEdgeWeightType
Returns the value of the EDGE_WEIGHT_TYPE keyword in the imported file.- Returns:
- the value of the EDGE_WEIGHT_TYPE keyword
-
getEdgeWeightFormat
Returns the value of the EDGE_WEIGHT_FORMAT keyword in the imported file.- Returns:
- the value of the EDGE_WEIGHT_FORMAT keyword
-
getEdgeDataFormat
Returns the value of the EDGE_DATA_FORMAT keyword in the imported file.- Returns:
- the value of the EDGE_DATA_FORMAT keyword
-
getNodeCoordType
Returns the value of the NODE_COORD_TYPE keyword in the imported file.- Returns:
- the value of the NODE_COORD_TYPE keyword
-
getDisplayDataType
Returns the value of the DISPLAY_DATA_TYPE keyword in the imported file.- Returns:
- the value of the DISPLAY_DATA_TYPE keyword
-