Оновити 'raport.md'
This commit is contained in:
parent
ce5e1ff549
commit
1b0ee88ead
@ -20,8 +20,8 @@ Posiłki, ich nazwa oraz rodzaj.
|
|||||||
|
|
||||||
|
|
||||||
Za pomocy graphviz możemy narysować grafy z poniższego kodu:
|
Za pomocy graphviz możemy narysować grafy z poniższego kodu:
|
||||||
#####
|
|
||||||
|
|
||||||
|
#####
|
||||||
digraph Lattice {
|
digraph Lattice {
|
||||||
node [label="" shape=circle style=filled width=.25]
|
node [label="" shape=circle style=filled width=.25]
|
||||||
edge [dir=none labeldistance=1.5 minlen=2]
|
edge [dir=none labeldistance=1.5 minlen=2]
|
||||||
@ -49,17 +49,21 @@ Za pomocy graphviz możemy narysować grafy z poniższego kodu:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Dane testowe:
|
Dane testowe:
|
||||||
|
|
||||||
##
|
##
|
||||||
func_input = ['meal']
|
func_input = ['meal']
|
||||||
|
|
||||||
Dane wyjściowe:
|
Dane wyjściowe:
|
||||||
|
|
||||||
##
|
##
|
||||||
['Pork', 'Greek Salad', 'Pizza']
|
['Pork', 'Greek Salad', 'Pizza']
|
||||||
|
|
||||||
|
|
||||||
### Implementacja
|
### Implementacja
|
||||||
|
|
||||||
Główna część:
|
Główna część:
|
||||||
#####
|
|
||||||
|
|
||||||
|
#####
|
||||||
gen_num = 20 #generations
|
gen_num = 20 #generations
|
||||||
gen_sol = 6 #solutions
|
gen_sol = 6 #solutions
|
||||||
gen_par_mating = 2 #how many solutions we select
|
gen_par_mating = 2 #how many solutions we select
|
||||||
|
Loading…
Reference in New Issue
Block a user