A B C D E F G I K L M N P R S T U

A

actionPerformed(ActionEvent) - Method in class pga.PGAApplet
Reakce na udalosti od tlacitek.
actionStop() - Method in class pga.GAParallelGA
Pozastavi geneticky algoritmus.
actionStop() - Method in class pga.GASteadyStateGA
Pozastavi geneticky algoritmus.
addCity(int, int) - Method in class pga.TSPProblem
Prida nove mesto o zadanych souradnicich.
addCity(Point) - Method in class pga.TSPProblem
 

B

badIndex - Variable in class pga.GAPopulation
Index vybraneho reseni, ktere bude nahrazeno
bornRate - Variable in class pga.GAParallelGA
procento narozenych v jedne generaci
bornRate - Variable in class pga.GASteadyStateGA
procento narozenych v jedne generaci
BSF - Variable in class pga.GAStatistics
Nejlepsi nalezene reseni

C

canTerminate() - Method in class pga.GAParallelGA
Test, zda se muze geneticky algoritmus ukocit.
canTerminate() - Method in class pga.GASteadyStateGA
Test, zda se muze geneticky algoritmus ukocit.
clearCities() - Method in class pga.TSPProblem
Vymaze vsechna mesta.
clearStats() - Method in class pga.GAStatistics
Vymaze statistiky
clone() - Method in class pga.GAGenome
Vytvori kopii objektu
clone() - Method in class pga.GATSPGenome
Vrati svoji kopii.
cloneGen() - Method in class pga.GAGenome
Vytvori kopii genomu
cloneGen() - Method in class pga.GATSPGenome
Vrati svoji kopii.
computeDistanceMatrix() - Method in class pga.TSPProblem
Spocita matici nejkratsich vzdalenosti.
countFitness() - Method in class pga.GAParallelGA
Vypocita ohodnoceni nove generace.
countFitness() - Method in class pga.GASteadyStateGA
Vypocita ohodnoceni nove generace.
cross(GAGenome) - Method in class pga.GAGenome
Provede krizeni v nahodnych bodech a ohodnoti nove vznikleho jedince
cross(GAGenome, int, int) - Method in class pga.GAGenome
Provede krizeni v urcenych bodech a ohodnoti nove vznikleho jedince
changed() - Method in class pga.NumberField
Vraci, zda bylo cislo zmeneno od posledniho cteni
changeNDemes(int) - Method in class pga.GAParallelGA
Zmeni pocet subpopulaci algoritmu
chooseMigrants(GAPopulation) - Method in class pga.GAMigrator
Zvoli a zkopiruje migrujici jedince z dane populace
chooseParents() - Method in class pga.GASteadyStateGA
Vybere rodice z populace reseni.
chooseParents(int) - Method in class pga.GAParallelGA
Vybere rodice z populace reseni.

D

delay(int) - Static method in class pga.Globals
Pokusi se uspat thread na zadany pocet milisekund
destroy() - Method in class pga.PGAApplet
Ukoncovaci prace - zastaveni vlaken.
drawPath - Variable in class pga.TSPPresentationCanvas
zda se ma kreslit cesta

E

evaluate() - Method in class pga.GAGenome
Ohodnoti genom
evaluate() - Method in class pga.GATSPGenome
Spocita kvalitu genomu.
eventChanged - Variable in class pga.TSPPresentationCanvas
zda posledni akce uzivatele zmenila stav komponenty
exchange(int, int) - Method in class pga.GAPopulation
Vymeni dve reseni dle indexu.

F

finalize() - Method in class pga.PGAApplet
Ukoncovaci prace - zastaveni vlaken.
fitness - Variable in class pga.GAGenome
Kvalita jedince
focusGained(FocusEvent) - Method in class pga.PGAApplet
Prazdne - definovano kvuli implementaci FocusListeneru
focusLost(FocusEvent) - Method in class pga.PGAApplet
Zpracuje udalosti v textovych polich.

G

GAGenome - class pga.GAGenome.
Abstraktni trida, od ktere se musi odvodit vsechny tridy genomu, ktere by mel GA vyuzivat
GAGenome() - Constructor for class pga.GAGenome
 
GAMigrator - class pga.GAMigrator.
Trida predstavujici migrujici jedince mezi populacemi u PGA
GAMigrator(int) - Constructor for class pga.GAMigrator
Konstruktor
GAParallelGA - class pga.GAParallelGA.
Trida geneticky algoritmus.
GAParallelGA() - Constructor for class pga.GAParallelGA
 
GAPopulation - class pga.GAPopulation.
Trida pro uchovani populace reseni v genetickem algoritmu.
GAPopulation(GAPopulation) - Constructor for class pga.GAPopulation
Vyvori novou populaci o zadanem poctu reseni dle prikladu.
GAPopulation(int, GAGenome) - Constructor for class pga.GAPopulation
Vyvori novou populaci o zadanem poctu reseni dle prikladu.
GAStatistics - class pga.GAStatistics.
GAStatistics - trida udrzujici statisticke udaje o behu GA.
GAStatistics() - Constructor for class pga.GAStatistics
 
GASteadyStateGA - class pga.GASteadyStateGA.
Trida geneticky algoritmus.
GASteadyStateGA() - Constructor for class pga.GASteadyStateGA
 
GATSPGenome - class pga.GATSPGenome.
Třída představující genom (chromozom) pro problém obchodního cestujícího.
GATSPGenome(TSPProblem) - Constructor for class pga.GATSPGenome
Vytvori nove reseni instance TSP dle parametru.
gen - Variable in class pga.TSPPresentationCanvas
pro uchovavani souradnic mest
generation - Variable in class pga.GAParallelGA
Cislo generace
generation - Variable in class pga.GAPopulation
Generace, ve ktere se populace nachazi
generation - Variable in class pga.GASteadyStateGA
Cislo generace
generationOfBSF - Variable in class pga.GAStatistics
BSF nalezeno v generaci
generationStep() - Method in class pga.GAParallelGA
Provede jeden vnitrni cyklus - pro jednu generaci.
generationStep() - Method in class pga.GASteadyStateGA
Provede jeden vnitrni cyklus - pro jednu generaci.
genomes - Variable in class pga.GAPopulation
Pole reseni - usporadano od nejlepsiho k nejhorsimu.
getBad() - Method in class pga.GAPopulation
Vrati reseni, ktere lze nahradit.
getBestGenome() - Method in class pga.GAPopulation
Vrati nejlepsi reseni v populaci.
getBestGenomeFitness() - Method in class pga.GAPopulation
Vrati ohodnoceni nejlepsiho reseni v populaci.
getBestGenomeInPop() - Method in class pga.GAParallelGA
Vrati nejlepsi genom v populaci
getBestGenomeInPop() - Method in class pga.GASteadyStateGA
Vrati nejlepsi reseni v populaci
getBornRate() - Static method in class pga.Globals
 
getBSF() - Method in class pga.GAParallelGA
Vrati nejlepsi dosud nalezene reseni
getBSF() - Method in class pga.GAPopulation
Vrati nejlepsi reseni dosazene v prubehu vyvoje populace
getBSF() - Method in class pga.GAStatistics
Zjisti nejlepsi reseni
getBSF() - Method in class pga.GASteadyStateGA
Vrati nejlepsi dosud nalezene reseni
getBSFFitness() - Method in class pga.GAPopulation
Vrati ohodnoceni nejlepsiho reseni dosazeneho v prubehu vyvoje populace
getCity(int) - Method in class pga.TSPProblem
Vrati souradnice i-teho mesta.
getCityAtIndex(int) - Method in class pga.GATSPGenome
Vrati cislo mesta i-teho v poradi
getCount() - Method in class pga.GATSPGenome
Vrati pocet mest v TSP.
getCount() - Method in class pga.TSPProblem
Vrati skutecny pocet mest.
getCountry() - Static method in class pga.Globals
 
getCrossoverPoint() - Method in class pga.GAGenome
Vrati vhodny bod pro krizeni
getCrossoverPoint() - Method in class pga.GATSPGenome
Vrati vhodny bod rekombinace.
getCrossovers() - Method in class pga.GAStatistics
Vrati pocet krizeni
getDemesCount() - Static method in class pga.Globals
 
getDistance(int, int) - Method in class pga.TSPProblem
Vrati nejkratsi vzdalenost mezi mesty [a,b].
getFitness() - Method in class pga.GAGenome
Vrati kvalitu jedince
getGenerationOfBSF() - Method in class pga.GAStatistics
Zjisti generaci, ve ktere ho bylo dosazeno
getGenome(int) - Method in class pga.GAPopulation
Vrati genom na danem indexu.
getGenomeIndex(GAGenome) - Method in class pga.GAPopulation
Vrati prvni index daneho reseni.
getMaxGenerations() - Static method in class pga.Globals
 
getMigrationRate() - Static method in class pga.Globals
 
getMinSize() - Method in class pga.PGAApplet
Minimalni rozmery appletu = preferovane rozmery
getMinSize() - Method in class pga.PGAPresentationCanvas
Vrati minimalni velikost komponenty
getMinSize() - Method in class pga.TSPPresentationCanvas
Vrati minimalni velikost komponenty
getMutationRate() - Static method in class pga.Globals
 
getMutations() - Method in class pga.GAStatistics
Vrati pocet mutaci
getNumber() - Method in class pga.NumberField
Vraci cislo v textovem poli
getParent(int) - Method in class pga.GAPopulation
Vrati rodice dle zadane parentRate.
getParentRate() - Static method in class pga.Globals
 
getPreferredSize() - Method in class pga.PGAApplet
Preferovane rozmery apletu
getPreferredSize() - Method in class pga.PGAPresentationCanvas
Vrati pozadovanou velikost komponenty
getPreferredSize() - Method in class pga.TSPPresentationCanvas
Vrati pozadovanou velikost komponenty
getR() - Static method in class pga.Globals
 
getSize() - Method in class pga.GAPopulation
Vrati velikost populace
getTSP() - Method in class pga.GATSPGenome
Vrati instanci problemu TSP
getTSP() - Method in class pga.TSPPresentationCanvas
Vrati instanci problemu - souradnice mest
Globals - class pga.Globals.
Trida obsahujici globalni konstanty
Globals() - Constructor for class pga.Globals
 

I

incCrossovers() - Method in class pga.GAStatistics
Zvysi pocet krizeni o 1.
incMutations() - Method in class pga.GAStatistics
Zvysi pocet mutaci o 1.
init() - Method in class pga.PGAApplet
Inicializace appletu
init(GAPopulation) - Method in class pga.GASteadyStateGA
Vytvori geneticky algoritmus se zadanou populaci.
init(GATSPGenome) - Method in class pga.TSPPresentationCanvas
Reinicializuje canvas
init(int, GAPopulation, PGAPresentationCanvas) - Method in class pga.GAParallelGA
Vytvori geneticky algoritmus se zadanou populaci.
initCanvases() - Method in class pga.PGAApplet
Inicializace obou canvasu pro zobrazeni reseni SGA a PGA
initGAs() - Method in class pga.PGAApplet
Inicializace oboi GA
initialize() - Method in class pga.GAParallelGA
Inicializuje geneticky algoritmus pro reseni.
initialize() - Method in class pga.GASteadyStateGA
Inicializuje geneticky algoritmus pro reseni.
initialize(int, int) - Method in class pga.TSPProblem
Vyplni strukturu nahodne zvolenymi mesty.
insertMigrants(GAPopulation) - Method in class pga.GAMigrator
Zaradi migrujici jedince do dane populace
isEnough() - Method in class pga.GASteadyStateGA
Test, zda jiz bylo dost potomku a lze ukoncit cyklus pro generaci.

K

keyPressed(KeyEvent) - Method in class pga.NumberField
Zpracuje stisklou klavesu.
keyReleased(KeyEvent) - Method in class pga.NumberField
Zpracuje uvolnenou klavesu.
keyTyped(KeyEvent) - Method in class pga.NumberField
Prazdne - kvuli rozhrani KeyListener.

L

lastParentIndex() - Method in class pga.GAPopulation
Vrati index posledniho vybraneho rodice.

M

main(String[]) - Static method in class pga.PGAApplet
Metoda main Kvuli spusteni appletu jako aplikace.
makeCrossover(GAGenome) - Method in class pga.GAGenome
Provede krizeni v nahodnych mistech
makeCrossover(GAGenome) - Method in class pga.GATSPGenome
Provede krizeni se zadanym resenim.
makeCrossover(GAGenome, int, int) - Method in class pga.GAGenome
Provede krizeni v urcenych mistech
makeCrossover(GAGenome, int, int) - Method in class pga.GATSPGenome
Provede krizeni.
makeMutation() - Method in class pga.GAGenome
Provede mutaci
makeMutation() - Method in class pga.GATSPGenome
Provede mutaci reseni.
makeRandom() - Method in class pga.GAPopulation
Vytvori novou nahodnou populaci.
migrants - Variable in class pga.GAMigrator
Migrujici jedinci
migrate() - Method in class pga.GAParallelGA
Provede migraci mezi subpopulacemi
migrationRate - Variable in class pga.GAParallelGA
pocet jedincu migrujicich mezi populacemi
mutate() - Method in class pga.GAParallelGA
Zmutuje potomka po rekombinaci.
mutate() - Method in class pga.GASteadyStateGA
Zmutuje potomka po rekombinaci.
mutate(int) - Method in class pga.GAGenome
Provede mutaci genomu podle zadane pravdepodobnosti mutace
mutationRate - Variable in class pga.GAParallelGA
procento pravdepodobnosti mutace
mutationRate - Variable in class pga.GASteadyStateGA
procento pravdepodobnosti mutace

N

nCrossovers - Variable in class pga.GAStatistics
Pocet krizeni
nDemes - Variable in class pga.GAParallelGA
pocet kmenu
newGeneration() - Method in class pga.GAPopulation
Signalizuje populaci, ze zacina nova generace
newRandom() - Method in class pga.GAGenome
Vytvori novy, n8hodne zinicializovany genom
newRandom() - Method in class pga.GATSPGenome
Vytvori nove reseni.
nMutations - Variable in class pga.GAStatistics
Pocet mutaci
notEnough() - Method in class pga.TSPPresentationCanvas
Test, zda je instance vyhovujici pro reseni genetickym algoritmem.
nPops - Variable in class pga.PGAPresentationCanvas
Pocet populaci
number(int) - Static method in class pga.Random
Vrati nahodne cele cislo v rozmezi 0 - zadana mez.
NumberField - class pga.NumberField.
Textove pole umoznujici vstup cisla (pouze cisla).
NumberField(int) - Constructor for class pga.NumberField
Vytvori pole se zadanou sirkou.
NumberField(int, int) - Constructor for class pga.NumberField
Vytvori pole se zadanou sirkou a inicializuje na dane cislo.

P

paint(Graphics) - Method in class pga.PGAApplet
Vykresleni appletu
paint(Graphics) - Method in class pga.PGAPresentationCanvas
Prekresli plochu komponenty.
paint(Graphics) - Method in class pga.TSPPresentationCanvas
Prekresli plochu komponenty.
parentIndex - Variable in class pga.GAPopulation
Index posledniho vybraneho rodice
parentRate - Variable in class pga.GAParallelGA
procento populace, ze ktere se vybiraji rodice
parentRate - Variable in class pga.GASteadyStateGA
procento populace, ze ktere se vybiraji rodice
PGAApplet - class pga.PGAApplet.
Vlastni trida appletu demonstrujiciho rozdily mezi SGA a PGA
PGAApplet() - Constructor for class pga.PGAApplet
 
PGAPresentationCanvas - class pga.PGAPresentationCanvas.
Komponenta umoznujici zobrazeni migrace v PGA.
PGAPresentationCanvas(int) - Constructor for class pga.PGAPresentationCanvas
Vytvori novou instanci dle danych bodu.
pops - Variable in class pga.PGAPresentationCanvas
pro uchovavani souradnic kmenu

R

Random - class pga.Random.
Trida pro vytvareni nahodnych cisel.
Random() - Constructor for class pga.Random
 
randomize() - Method in class pga.GAGenome
Znahodni jiz vytvoreny genom
randomize() - Method in class pga.GAParallelGA
Znahodni populaci reseni.
randomize() - Method in class pga.GASteadyStateGA
Znahodni populaci reseni.
randomize() - Method in class pga.GATSPGenome
Znahodni reseni.
recombine() - Method in class pga.GAParallelGA
Zkrizi vybrane rodice.
recombine() - Method in class pga.GASteadyStateGA
Zkrizi vybrane rodice.
recombine(int, int) - Method in class pga.GAParallelGA
Zkrizi vybrane rodice v danych bodech krizeni.
recombine(int, int) - Method in class pga.GASteadyStateGA
Zkrizi vybrane rodice v danych bodech krizeni.
replace(GAGenome) - Method in class pga.GAPopulation
Nahradi nevhodne reseni zadanym resenim.
replaceBad() - Method in class pga.GASteadyStateGA
Nahradi vybrane reseni nove vzniklym potomkem.
replaceBad(int) - Method in class pga.GAParallelGA
Nahradi vybrane reseni novym vzniklym potomkem.
replaced - Variable in class pga.GAPopulation
Pocet genomu nahrazenych v jedne generaci
resize(int) - Method in class pga.GAMigrator
Zmeni velikost pametoveho mista vyhrazeneho pro migrujici jedince
resize(int) - Method in class pga.GAPopulation
Zmeni velikost populace.
resize(int) - Method in class pga.PGAPresentationCanvas
Zmen pocet znazornenych populaci
resize(int) - Method in class pga.TSPProblem
Zmeni velikost instance na zadanou hodnotu.
resizeDemes(int) - Method in class pga.GAParallelGA
Zmeni velikost subpopulaci
resizePop(int) - Method in class pga.GASteadyStateGA
Zmeni velikost populace
run() - Method in class pga.GAParallelGA
Spusti geneticky algoritmus.
run() - Method in class pga.GASteadyStateGA
Spusti geneticky algoritmus.
run() - Method in class pga.PGAApplet
Rozbehnuti algoritmu jako dalsiho vlakna.

S

sample - Variable in class pga.GAPopulation
Jedno reseni, ze ktereho se klonuji nove prvky.
selectBad() - Method in class pga.GASteadyStateGA
Vybere reseni, ktere se vyhodi a bude nahrazeno novym.
selectBad(int) - Method in class pga.GAParallelGA
Vybere reseni, ktere se vyhodi a bude nahrazeno novym.
setMigrationRate(int) - Method in class pga.GAParallelGA
Nastavi pocet migrujicich jedincu
setNumber(int) - Method in class pga.NumberField
Nastavi dane cislo do textoveho pole.
setTSPGenome(GATSPGenome) - Method in class pga.TSPPresentationCanvas
Nastavi instanci problemu - souradnice mest
size - Variable in class pga.GAMigrator
Pocet migrujicich jedincu
size - Variable in class pga.GAPopulation
velikost populace
sort() - Method in class pga.GAPopulation
Seradi populaci dle kvality.
startMigration(int, int) - Method in class pga.PGAPresentationCanvas
Zpusobi vykresleni migrace
stats - Variable in class pga.GAParallelGA
Statistiky o behu GA.
stats - Variable in class pga.GAPopulation
Statistiky o vyvoji populace
stats - Variable in class pga.GASteadyStateGA
Statistiky o behu GA.
stopMigration() - Method in class pga.PGAPresentationCanvas
Znazorneni migrace se smaze

T

toString() - Method in class pga.GATSPGenome
Vrati textovou reprezentaci reseni se zobrazenymi body rekombinace.
toString(int, int) - Method in class pga.GAGenome
Vrati textovou reprezentaci genomu s vyznacenymi body krizeni
toString(int, int) - Method in class pga.GATSPGenome
Vrati textovou reprezentaci reseni se zobrazenymi body rekombinace.
toStringGenAt(int) - Method in class pga.GAPopulation
Vrati textovou reprezentaci reseni s danym indexem.
tryToSetBSF(GAGenome, int) - Method in class pga.GAStatistics
Nastav nejlepsi nalezene reseni
TSPPresentationCanvas - class pga.TSPPresentationCanvas.
Komponenta umoznujici zobrazeni mest a cesty.
TSPPresentationCanvas(GAGenome) - Constructor for class pga.TSPPresentationCanvas
Vytvori novou instanci dle danych bodu.
TSPProblem - class pga.TSPProblem.
Instance problemu obchodniho cestujiciho.
TSPProblem(int) - Constructor for class pga.TSPProblem
Vytvori novou instanci o zadanem maximalnim poctu mest.

U

update(Graphics) - Method in class pga.PGAPresentationCanvas
Pretizeni metudy update().
updateCanvases() - Method in class pga.PGAApplet
Aktualizace obou canvasu

A B C D E F G I K L M N P R S T U