package
Version:
v0.0.0-...-3660825
Opens a new window with list of versions in this module.
Published: Oct 28, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ant : the ant agent
NewAnt : create a new ant
Evaluate : get the score of the tour (it's distance)
GetTour : returns the array of visited vertices
func (a *Ant) IsTravelFinished() bool
IsTravelFinished : Tells wether the ant visited the whole graph or not
Travel : Make the ant travel to the next vertex on the graph
TSP : the TSP problem solver using AS algorithm
NewTSP : create a new TSP problem solver
Run : start the TSP solving with the given parameters
Source Files
¶
Click to show internal directories.
Click to hide internal directories.