Source code online books for professionals by professionals


Compression and optimal decision trees



Download 4,67 Mb.
Pdf ko'rish
bet223/266
Sana31.12.2021
Hajmi4,67 Mb.
#213682
1   ...   219   220   221   222   223   224   225   226   ...   266
Bog'liq
2 5296731884800181221

Compression and optimal decision trees. A Huffman tree is a tree whose leaves have weights (frequencies), and the 
sum of their weights multiplied by their depth is as small as possible. This makes such trees useful for constructing 
compression codes and as decision trees when a probability distribution is known for the outcomes. Huffman trees 
can be built using Huffman’s algorithm, described in Chapter 7 (Listing 7-1).
Connected and strongly connected components. An undirected graph is connected if there is a path from every 
node to every other. A directed graph is connected if its underlying undirected graph is connected. A connected 
component is a maximal subgraph that is connected. Connected components can be found using traversal algorithms 
such as DFS (Listing 5-5) or BFS (Listing 5-9), for example. If there is a (directed) path from every node to every other 
in a directed graph, it is called strongly connected. A strongly connected component (SCC) is a maximal subgraph that 
is strongly connected. SCCs can be found using Kosaraju’s algorithm (Listing 5-10).
Convex hulls. A convex hull is the minimum convex region containing a set of points in the Euclidean plane. Convex 
hulls can be found in loglinear time using the divide-and-conquer strategy (see Chapter 6).
1
Facetiously attributed to Lt. Cdr. Geordi La Forge of Star Trek: The Next Generation.


Appendix B 

 List of proBLems And ALgorithms
260

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   219   220   221   222   223   224   225   226   ...   266




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish