Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Binary Decision Diagrams - Data Structures - Lecture Slides, Slides of Data Structures and Algorithms

In the subject of the Data Structures, the key concept and the main points, which are very important in the context of the data structures are listed below:Binary Decision Diagrams, Advanced Form, Binary Tree, Boolean Functions, Dealing, Large Databases, Inefficient, Memory Consuming, Reduction Process, Redundant Nodes

Typology: Slides

2012/2013

Uploaded on 04/23/2013

saratey
saratey 🇮🇳

4.3

(10)

87 documents

1 / 31

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Binary Decision Diagrams (BDD)
1
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Binary Decision Diagrams - Data Structures - Lecture Slides and more Slides Data Structures and Algorithms in PDF only on Docsity!

Binary Decision Diagrams (BDD)

1

What are they?

• BDDs are an advanced form of a binary tree

2

Binary Tree Representation of Boolean Function

4

How does a BDD remedy this memory problem?

  • BDDs use reduction process in order to

eliminate redundant nodes and terminals.

5

Decision Structures  Vertex represents decision  Follow green (dashed) line for value 0  Follow red (solid) line for value 1  Function value determined by leaf value. Truth Table Decision Tree 0 0 x 3 0 1 x 3 x 2 0 1 x 3 0 1 x 3 x 2 x 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 x 1 x 2 x 3 f

Reduction Rule # Merge equivalent leaves a a 0 0 x 3 0 1 x 3 x 2 0 1 x 3 0 1 x 3 x 2 x 1 x 3 x 3 x 2 x 3 0 1 x 3 x 2 x 1 a

Reduction Rule # x 3 x 2 0 1 x 3 x 2 x 1 Eliminate Redundant Tests y x y x 2 0 1 x 3 x 1

Example BDD Initial Graph Reduced Graph x 2 0 1 x 3 x 1 0 0 x 3 0 1 x 3 x 2 0 1 x 3 0 1 x 3 x 2 x 1 (x1+x2)x

Binary Decision Diagrams

  • Graphical encoding of a truth table. 13 x x x3 x x4 x4 x 0 0 0 1 0 0 0 0 x x x3 x x4 x4 x 0 1 1 1 0 0 0 1 x1 0 edge 1 edge

Binary Decision Diagrams

  • Collapse redundant nodes. 14 x x x3 x x4 x4 x 0 0 0 0 0 0 0 x x x3 x x4 x4 x 0 0 0 0 x 1 1 1 1 1

Binary Decision Diagrams

  • Collapse redundant nodes. 16 x x x3 x x x3 x x4 x 0 x 1

Binary Decision Diagrams

  • Collapse redundant nodes. 17 x x x3 x x x x4 x 0 x 1

Binary Decision Diagrams

  • Eliminate unnecessary nodes. 19 x x x x x 0 x 1

Yoga BABY!!!

20