Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Postgres
/
src
/
test
/
isolation
/
expected
/ (
Postgres Database
Version 18.4
©
) Datei vom 11.4.2026 mit Größe 6 kB
Bilddatei
genetic-algorithm.svg
products/Sources/formale Sprachen/C/Postgres/doc/src/sgml/images/genetic-algorithm.svg
%3
a1
INITIALIZE t := 0
a2
INITIALIZE P(t)
a1->a2
a3
evaluate FITNESS of P(t)
a2->a3
a4
STOPPING CRITERION
a3->a4
a9
t := t + 1
a4->a9
end
end
a4->end
true
a5
P'(t) := RECOMBINATION{P(t)}
a4->a5
false
a6
P''(t) := MUTATION{P'(t)}
a5->a6
a7
P(t+1) := SELECTION{P''(t) + P(t)}
a6->a7
a8
evaluate FITNESS of P''(t)
a7->a8
a8->a9
expl
P(t): generation of ancestors at a time t
P''(t): generation of descendants at a time t
2026-08-25