Poprawa
This commit is contained in:
parent
b5aa20748c
commit
9bff7908ee
35
raport.md
35
raport.md
@ -19,6 +19,41 @@ Posiłki, ich nazwa oraz rodzaj.
|
||||
Pizza | | | X | | | X |''')
|
||||
|
||||
|
||||
Za pomocy graphviz możemy narysować grafy z poniższego kodu:
|
||||
#####
|
||||
|
||||
digraph Lattice {
|
||||
node [label="" shape=circle style=filled width=.25]
|
||||
edge [dir=none labeldistance=1.5 minlen=2]
|
||||
c0
|
||||
c1
|
||||
c1 -> c1 [color=transparent headlabel=Pork labelangle=270]
|
||||
c1 -> c1 [color=transparent labelangle=90 taillabel=meat]
|
||||
c1 -> c0
|
||||
c2
|
||||
c2 -> c2 [color=transparent headlabel="Green Tea" labelangle=270]
|
||||
c2 -> c2 [color=transparent labelangle=90 taillabel=cold]
|
||||
c2 -> c0
|
||||
c3
|
||||
c3 -> c3 [color=transparent headlabel="Greek Salad" labelangle=270]
|
||||
c3 -> c3 [color=transparent labelangle=90 taillabel=salad]
|
||||
c3 -> c0
|
||||
c4
|
||||
c4 -> c4 [color=transparent headlabel=Espresso labelangle=270]
|
||||
c4 -> c4 [color=transparent labelangle=90 taillabel=drink]
|
||||
c4 -> c2
|
||||
c5
|
||||
c5 -> c1
|
||||
c5 -> c3
|
||||
c5 -> c4
|
||||
}
|
||||
|
||||
Dane testowe:
|
||||
##
|
||||
func_input = ['meal']
|
||||
Dane wyjściowe:
|
||||
##
|
||||
['Pork', 'Greek Salad', 'Pizza']
|
||||
|
||||
### Implementacja
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user