Beschreibung
Produktdetails
trees using new types of rotations. Each of the newly
proposed rotations is permitted only at nodes on the
left-arm or the right-arm of a tree. Consequently, we
develop a linear time algorithm with at most n 1
rotations for converting weight sequences between any
two binary trees.
we use right distance sequences (or RD-sequences for
short), to describe all t-ary trees with n internal
nodes. Using a t-ary recursion tree and its
concomitant tables, a systematical way can help us to
investigate the structural representation of t-ary
trees. Consequently, we develop efficient algorithms
for determining the rank of a given t-ary tree in
lexicographic order (i.e., the ranking algorithm),
and for converting a positive integer to its
corresponding RD-sequence (i.e., the unranking
algorithm). Both the ranking and unranking algorithms
can be run in O(tn) time and without really building
any auxiliary table. In addition, we also present a
loopless algorithm to enumerate Gray-codes of t-ary
trees using RD-sequences.
Ein neues Kapitel für Ihre Bücher
Ein neues Kapitel für Ihre Bücher
Schenken Sie Ihren alten Schätzen ein zweites Leben: Einfach Barcode scannen, Versandetikett ausdrucken, Bücher verschicken und Thalia Geschenkkarte erhalten.
Jetzt verkaufenNoch keine Bewertungen vorhanden
Verfassen Sie die erste Bewertung zu diesem Artikel
Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.
Kurze Frage zu unserer Seite
Vielen Dank für Ihr Feedback
Wir nutzen Ihr Feedback, um unsere Produktseiten zu verbessern. Bitte haben Sie Verständnis, dass wir Ihnen keine Rückmeldung geben können. Falls Sie Kontakt mit uns aufnehmen möchten, können Sie sich aber gerne an unseren Kund*innenservice wenden.
zum Kundenservice