MCPcopy Create free account

hub / github.com/LazoVelko/Genetic-Algorithm-for-the-Traveling-Salesman-Problem / functions

Functions149 in github.com/LazoVelko/Genetic-Algorithm-for-the-Traveling-Salesman-Problem

↓ 1 callersMethodsetRandom
(Random random)
GeneticAlgorithms/GeneticAlgorithm.java:123
↓ 1 callersMethodsetScale
Sets the scale for the drawing so that all the cities are drawn inside the window.
Display/WindowTSP.java:70
↓ 1 callersMethodsetScale
Sets the scale of graph so that none of the values are drawn outside of the window. @param yValues the values to plot
Display/WindowGraph.java:76
↓ 1 callersMethodsetScale
(int scale)
Utility/WindowHeatMap.java:28
↓ 1 callersMethodsetWindowProperties
()
Display/WindowTSP.java:53
↓ 1 callersMethodsetWindowProperties
()
Display/WindowGraph.java:105
↓ 1 callersMethodsetWindowProperties
()
Utility/WindowHeatMap.java:59
↓ 1 callersMethodshowGraphInWindow
()
GeneticAlgorithms/GeneticAlgorithm.java:227
↓ 1 callersMethodshowInWindow
()
Utility/HeatMap.java:234
↓ 1 callersMethodshowInputValuesInWindow
(int scale)
Utility/HeatMap.java:249
↓ 1 callersMethodshuffle
Shuffles the cities in the Chromosome.
GeneticObjects/Chromosome.java:38
↓ 1 callersMethodswap
Helper method for swapping two Cities in a Chromosome to change the tour. @param array the array of Cities to do the swap in @param i the
GeneticAlgorithms/GeneticAlgorithm.java:403
↓ 1 callersMethodswap
Helper method for shuffling the cities. Swaps two cities. @param i the index of the first city @param j the index of the second city
GeneticObjects/Chromosome.java:49
↓ 1 callersMethoduniformOrder
Uses a bit mask to perform a uniform order crossover. @param p1 the first parent Chromosome @param p2 the second parent Chromosome @param r
GeneticAlgorithms/Crossover.java:27
MethodAveragingTool
(GeneticAlgorithm geneticAlgorithm, int numOfTimesToRun)
Utility/AveragingTool.java:19
MethodChromosome
Construct the Chromosome from an array. The cities are in the same order as they are in the array. No shuffling is done. @param cities the array of
GeneticObjects/Chromosome.java:20
MethodCity
Constructs the City. @param name the name of the city @param x the x coordinate @param y the y coordinate
GeneticObjects/City.java:20
MethodCrossover
Class cannot be instantiated, as there would be no point, since all the methods are static.
GeneticAlgorithms/Crossover.java:18
MethodGeneticAlgorithm
Construct the GeneticAlgorithm object with default values.
GeneticAlgorithms/GeneticAlgorithm.java:49
MethodHeatMap
()
Utility/HeatMap.java:23
MethodMutation
Class cannot be instantiated, as there would be no point, since all the methods are static.
GeneticAlgorithms/Mutation.java:17
MethodPopulation
Constructs an empty population with a maximum size. @param maxSize the maximum size of the Population
GeneticObjects/Population.java:23
MethodPreset
()
GeneticAlgorithms/Preset.java:12
MethodSelection
Class cannot be instantiated, as there would be no point, since all the methods are static.
GeneticAlgorithms/Selection.java:18
MethodWindowGraph
Construct WindowGraph. @param yValues the values to be plotted @param legend the the identifier of each set of values, example:
Display/WindowGraph.java:50
MethodWindowHeatMap
(HeatMap heatMap)
Utility/WindowHeatMap.java:15
MethodWindowTSP
Construct the WindowTSP and draw the cities to the screen. @param cities the cities to draw to the screen
Display/WindowTSP.java:29
MethodaddItemToLegend
(String item)
Utility/AveragingTool.java:72
Methodclear
Removes all the Chromosomes.
GeneticObjects/Population.java:77
MethodcompareTo
(Chromosome chromosome)
GeneticObjects/Chromosome.java:59
Methoddebug
()
Utility/WindowHeatMap.java:42
Methoddisplay
()
Utility/AveragingTool.java:76
MethoddrawRotate
(Graphics2D g2d, double x, double y, int angle, String text)
Display/WindowGraph.java:251
Methodequals
(Object o)
GeneticObjects/City.java:93
MethodgetCities
Read the specified data set and return an array of City objects based on the set. @param dataSet the data set to read @return the City obje
IO/Import.java:17
MethodhashCode
()
GeneticObjects/City.java:106
MethodhashCode
()
GeneticObjects/Chromosome.java:64
Methoditerator
()
GeneticObjects/Population.java:165
Methodmain
(String[] args)
Main.java:6
Methodmain
(String[] args)
GeneticAlgorithms/Crossover.java:284
Methodmain
(String[] args)
Utility/HeatMap.java:328
MethodpaintComponent
(Graphics graphics)
Display/WindowTSP.java:88
MethodpaintComponent
(Graphics graphics)
Display/WindowGraph.java:118
MethodpaintComponent
(Graphics graphics)
Utility/WindowHeatMap.java:72
Methodrun
()
Utility/AveragingTool.java:26
MethodshowInWindow
()
GeneticAlgorithms/GeneticAlgorithm.java:219
MethodtoString
()
GeneticObjects/City.java:114
MethodtoString
()
GeneticObjects/Chromosome.java:102
MethodtoString
()
GeneticObjects/Population.java:175
← previous101–149 of 149, ranked by callers