The TspGA type exposes the following members.

Constructors

  NameDescription
Public methodTspGA
Default Constructor

Methods

  NameDescription
Public methodBegin
Starts the TSP algorithm. To stop before all generations are calculated, set Halt to true.
Public methodEquals
Determina si el objeto Object especificado es igual al objeto Object actual.
(Inherited from Object.)
Protected methodFinalize
Permite que un objeto Object intente liberar recursos y realizar otras operaciones de limpieza antes de que el objeto Object sea reclamado por el recolector de elementos no utilizados.
(Inherited from Object.)
Public methodGetHashCode
Actúa como función hash para un tipo concreto.
(Inherited from Object.)
Public methodGetType
Obtiene el objeto Type de la instancia actual.
(Inherited from Object.)
Protected methodMemberwiseClone
Crea una copia superficial del objeto Object actual.
(Inherited from Object.)
Protected methodOnNewBestTourFound
Raise the NewBestTour event.
Public methodToString
Devuelve una clase String que representa la clase Object actual.
(Inherited from Object.)

Properties

  NameDescription
Public propertyHalt
The GUI sets this flag to true to stop the TSP algorithm and allow the Begin() function to return.

Events

  NameDescription
Public eventNewBestTourFound
Event fired when a new best tour is found.

See Also