Math Notes
Math Notes
Le
Le) X
post
tevels
tongt:tia lett
rom filed&trctty be
must levee tat )
Cndikons
to bySat re
Bineng
Binary 1Atmost
plte com
4
cBT
(evet notest
Bme
EruetY Tee: Binany atComplete Leaf
3
F.BT
child eactya
nodes Iotnal tre Binany (strict Ful
FBTX
BT
hanode eoeh Dhich en tre t6
Tre’ BÓnoy
tree TPes
of
Lt eoeh chile trrom a nodefons vs
Parentnodeas
Sebtru
In OTder: BDAGECHFI
fre orde ’
ABDLEG FL
post ooder’ DB GEHTCA
Gbea Conneeted Tooth. Asy
s () tree on ecfed ond no Cydes )
miinal maumal
Spannine
4-2
skye's
ACom petegraph kn hel
tsee
a. select net ed wth mininal
2 wught trom enainng eolg such
that no any cycle es fornd.
3. Go on
On repeating the sep-2
Unelndge hawe be seleetad.
B weght lt2t2+3 =
2
minimalD
*6Pennng tsee toucuret may be ibtrerent bsf
Ba
2
2 D
342t1
a p&nd minimal Bpannirg. tree UMng Prim's
8 Kru8ha's agortth m
2
b
4
3|
2 S
2
2
Primb KrUsh ay
2
d.
b 2
4 2
2
2 weyht 2t3+2t2
TYt5t4 = 22
Wesht= 2t3+2t2 +y +sty
22
sd Late. tree
8s'8, sa o be lat eljed in Dhcl, ewery
Vete o4 tre has atne a unique label
Any albebic enprio cen be reprent oi
the hetp of tadeleg binary tree.
i ) Root of tre ladeled othicentrl
construct the
(7+()-())
(eaf nodeunstont
varuab[9
E0eenalnadl opto
Cong trvttree oY
3-(
Poltsh Notattong
Evaluaf te_pos-bia
posf hia to m t n t t s
-61
4‘93+
Iq3,t
933
Neto
Oiof
On tte famovs algort thn to Calclet
maimUm fow Cn thee netlork
Ford- fuhorson agorithm
soUce o8 a vertea ha only outwarde .
48nk Es a verten that has ony inward ege.
sto s-a
4 frod=Stg
DO tlow=t3
maminum tow t ren nehoor Useng
DfiKstra's algortten
Wle) s
3
and shostet paty fromá'to '
Shustest path
2 path a’bCe
|2
2 3
(2 Sheste path= Qc
5 |3 (2 doslnee =5
5
maima ftow problem ford fet Kegsonrde)
e Forg futkercdon methad &s'aeor Sojveng
marimum fto pnlen.
.Basic tens
sourcce:The, SourLee varte hay a Qutuo
cendte m a v u m T O 0 0 2
netoork Uigtoret fulKDon alorithn
2
o2 path Botte
lto
5
1-2-5-t
57
(-3-6 4
to=5 2
N
43
Staek
ste2: vgct any adjacent vetea of'A hech
sk
SApushon to Bfaek
sfaek. ttoon’push
Steps
taeL thes from Dpop
backteoking. D
Tere
is 6ept
vertices,to none
be
A
0to Push
staes
D
Dsleps:
P
A
A
Ataek toon puhE
(E) vösitted not a¯CC). bit stepd:v
there & no new vertea
be vibiken
6ep-
So Ug baeutralk
’ pop fron sfeck
omB. e
None Vetea to be vesed
slep-
baiktoeeking
A A
stecK.so taks
’ pop A from tae
AG
te
Slep-s: vib8t al te adaent veeties of
Vertea whiche o t o h e awue @w,
net vesttedandAnsert them into T duy
Hep-4: Qhen tereo no 02 vetea to ba va
S quee ten delete
fsom the vetea at frontof te
Hat vutea tom te aule.
s84 until gulw becomeg
Ske5; Repeet slep 984,
skes
from tgreph
EaampleH
A
(c,F)
însert nelg vebtteo (
JSolete E
Netees <
’
steps
G
sler
v&sst all
vutea)
’ Dlete, F from quee.