Genetic algorithm solving TSP with various settings

- Main Page
- Classes

- Class List
- Class Index
- Class Members

Public Member Functions | List of all members
TspParser Class Reference

Trida slouzici k nacitani souboru z knihovny TSPLib. More...

## Public Member Functions
| TspParser (String path) throws IOException
double[][] | getDistances ()
int | getSize ()

## Detailed Description

Trida slouzici k nacitani souboru z knihovny TSPLib.

Author
  nemec

## Constructor & Destructor Documentation

TspParser.TspParser | ( | String | path | ) | throws IOException

Konstruktor, ktery zaroven nacita potrebna data, funguje pouze s daty typu EUC_2D.

Parameters

  path | Cesta ke vstupnimu souboru

Exceptions

  IOException |

## Member Function Documentation

double [][] TspParser.getDistances | ( |  | ) |

Vraci tabulku obsahujici vzdalenosti mezi vsemi mesty z nacteneho souboru

Returns
  Tabulka vzdalenosti

int TspParser.getSize | ( |  | ) |

Funkce, ktera vraci pocet mest

Returns
  Pocet mest

The documentation for this class was generated from the following file:

- src/TspParser.java