Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Q1. We know that the walk and positive walk relations on a directed graph define relations, and the positive walk relation on a DAG defines a strict partial order. Answer each of the following and explain your answer.

a. What sort of digraph has a walk relation that describes a total (linear) order?

b. Given R is an equivalence relation, what would be the simplest way to draw a digraph that represents R with the walk relation? What would the digraph look like? What would each equivalence class look like?

c. Why does a partial order have to be a DAG?

Q2. Let R be the relation on ordered pairs of positive integers defined below. For each definition determine what properties of relations it has and whether or not it is an equivalence relation.

a. (a, b)R(c, d) ↔ ac = bd

b. (a, b)R(c, d) ↔ ad = bc

Q3. Consider the routing

Input

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Output

12

10

15

6

3

7

4

9

13

8

11

14

1

2

5

16

Showing your work give how to route each packet through a Benes network with 16 inputs to achieve congestion 1.

Q4. Hall's marriage theorem uses an algorithm of men proposing to women, then women rejecting men.

a. Show that it is possible for every woman to be matched with her last choice by giving an example with four men and four women where this happens.

b. Suppose both men and women are given the option of saying that there are unacceptable pairings. i.e. there are potential partners that are worse than being alone. Describe how you would modify the algorithm to handle this situation, and give an example of using your modified algorithm.

Q5. This problem will outline how to prove that any graph with no odd length circuits is 2-colorable.

a. Find a spanning tree of the following graph (LaTeX Hint: Just remove edges until your spanning tree is left)

1821_figure.png

b. Two color your spanning tree (fill the nodes).

c. Put your deleted edges back in with the coloring from part b to show that this is also a two-coloring of the original graph.

d. Explain why a two-coloring of a spanning tree will be a two-coloring of the original graph, given the original graph has no cycles of odd length.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92519609
  • Price:- $45

Guranteed 36 Hours Delivery, In Price:- $45

Have any Question?


Related Questions in Computer Engineering

Create login form to enter user name and a password textbox

Create login form to enter user name and a password textbox to enter password, and write procedure to simulate the process of triggering the login process after hitting the Enter Key.

Suppose that in responding to interrupts from io devicea

Suppose that in responding to interrupts from I/O deviceA the processor consumes 1000 cycles to perform the context switch required to transfer control to the interrupt handler. The interrupt handler takes an additional ...

What is the supply curve how do you apply the law of supply

What is the supply curve, how do you apply the law of supply in economics?

Question answer both question with minimum 150 words each

Question: Answer both question with minimum 150 words each. Provide examples and references. 1. Data Anomalies - Explain in your own words using tables from your lab project. Also describe how such anomalies could be pre ...

Respond to the statement below in at least 100 words or

Respond to the statement below in at least 100 words or more. Original responses only. When the software developments requirements are written in vague language it unlocks the door for interpretation and can be a source ...

Should we be renegotiating nafta yes or no if it is

Should we be renegotiating NAFTA? yes or no? If it is renegotiated, should it be replaced? What reasons would make it better in your point of view? What is the best argument you can make why NAFTA should or should not be ...

Shell scripting -- linuxpart-1 write a script that asks the

Shell Scripting -- Linux Part-1 Write a script that asks the user to enter his name. Read the name. Then asks the user to enter the phone number. Then read the phone number. Append the name and phone number (separated by ...

Describe a ping of death attack as an attack that causes

Describe a ping of death attack as an attack that causes the victim computer to freeze and malfunction.

Suppose that alices rsa parameters are ma91 ea7 and da31

Suppose that Alice's RSA parameters are m_A=91, e_A=7, and d_A=31. And suppose that Bob's RSA modulus is m_B=187. a)If Bob's public exponent is e_B=13 and Alice wants to encrypt the message signature pair (x, delta)=(70, ...

Service set identifier ssid also known as the wireless

Service Set Identifier (SSID), also known as the wireless network name, identifies the wireless network. An SSID is configured on the wireless AP (on the access point for the infrastructure mode) or on an initial wireles ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As