信息检索代写 XML代写 XML document代写 CS代写
725XML 信息检索代写 Question 1. Choose concept(s) from below that are useful in discretionary access control. Explain their usefulness. (a) roles, (b) security classes, Question 1. C...
View detailsSearch the whole station
离散结构代写 Section 5.1 1. Exercise 3.d on page 515. Refer to the graph G2 below. Construct a second graph H with the same number of nodes and edges,
Refer to the graph G_{2} below. Construct a second graph H with the same number of nodes and edges, but having a node with higher degree than any node in G_{2}.
Refer to the graph H_{1} below.
(a) Find a walk from 1 to 8 that uses five edges and is not a trail.
(b) Find a circuit starting and ending at 8 that is not a cycle.
Use Exercise 2 on page 530 and Theorem 7 on page 524 to prove that for any simple, connected graph G, if G has exactly one cycle, then G has the same number of nodes and edges.
Fill in the blanks to complete the proof that goes with Exercise 22 in Section 7.1. Notice that here the induction is on the number of vertices, not on the number of edges in the graph, so the proof looks a bit different.
Proposition: A simple, connected graph with n ≧ 1 vertices must have at least n – 1 edges. Proof by induction. Let P(n) represent the statement “Any simple, connected graph G with n vertices has at least n – 1 edges.” The first statement to be checked is P(1) , which states,
“__________________”
The only graph satisfying the hypothesis of this statement consists of one vertex and 0 edges. Hence, P(1) is true. Now let m ≧ 2 be given such that P(m) is the first statement that has not yet been checked. Let a connected graph G with m vertices be given. Now either G has a vertex of degree 1 or else all its vertices have degree at least 2, so we argue in two cases.
Case 1. If there is a vertex v in G with degree 1, then let G’ be the graph resulting from removing this vertex and its single edge. Now G’ has ___________ vertices, so by statement P(________) (which has already been checked to be true), we know that G’ has at least ________ edges. Since ___________ , G has at least ___________ edges. This verifies statement P(m).
Case 2. If every vertex in G has degree at least 2, then by Exercise __________ in Section 7.1, G has at least m edges. This verifies statement P(m) without even needing to use the induction hypotheses.
In either case, we have verified statement P(m), completing the induction.
Using Proposition 3 on page 520, write an induction proof of the statement “For all n ≧ 0, every connected graph with n edges has a spanning tree.”
Explain why the two graphs below are not isomorphic.
Two of the graphs shown in the following figure are isomorphic to each other. Which ones?
The degree sequence of a graph is the list of degrees of the nodes of the graph, listed from largest degree to smallest. For example, the degree sequence of the graph G_{2} shown below is 4, 4, 3, 3, 2, 2, 1, 1. (There is a typo in the book about the degree sequence of G_{2}.)
In the induction proof of Theorem 5, we used the statement P(n) : “For every embedding of a connected planar graph with n edges, V vertices, and F faces, V + F = n + 2.” Verify the statements P(1), P(2), P(3), and P(4) by drawing every possible graph satisfying the hypothesis and showing that the conclusion is true in each case.
For the following relation on the set A = {1, 2, 3, 4, 5, 6}, draw the graph and give the adjacency matrices for relations R and R ο R.
R = [(1, 3),(3, 1),(1, 5),(5, 1),(3, 5),(5, 3),(1, 1),(3, 3),(5, 5)]
This problem continues the development of ideas for Theorem 1 on page 551.
(a) Repeat the procedure in Exercise 10 on page 565, but using the table below where symbols have replaced the numbers.
(b) The notation in part (a) uses a_{6}_{t} to indicate the number of one-step walks from node 6 to node t, and b_{t}_{3} for the number of four-step walks from node t to node 3. Using the similar notation of a8t to indicate the number of one-step walks from node 8 to node t, and b_{t}_{2} for the number of four-step walks from node t to node 2, write a formula for the number of five-step walks from node 8 to node 2.
(c) Generalize to obtain a formula for the number of five-step walks from node i to node j.
(d) Fill in the blanks. If M is the adjacency matrix for the graph, the first table in part (a) gives row of __________ M, and the second table gives column of ____________ M^{4}.
The smallest transitive relation that extends a given relation R is called the transitive closure of R. If M is the adjacency matrix for a relation R, then the adjacency matrix for the transitive closure of R is
M^{(1) }∨ M^{(2) }∨ M^{(3)} ∨ ··· ∨ M^{(k)}
where k is the length of the longest path in the graph of R. We will see how this procedure works by finding the transitive closure of the following relation on the set A = {1, 2, 3, 4, 5, 6}with the arrow diagram shown in the figure below.
R = {(x, y) ∈ A × A : x + 1 = y}
(a) Use the graph to make a complete list of pairs of nodes (a, b) for which there is a walk from node a to b.
(b) Use the result of part (a) to write the transitive closure of the corresponding relation.
(c) Write the adjacency matrix M for the graph.
更多代写：香港留学生计算机代写 考试助考 英国物理学在线网课代修 香港代写论文 香港留学生英文论文代写 代做功课推荐
合作平台：essay代写 论文代写 写手招聘 英国留学生代写
XML 信息检索代写 Question 1. Choose concept(s) from below that are useful in discretionary access control. Explain their usefulness. (a) roles, (b) security classes, Question 1. C...
View detailsCSCI-UA.0480-009 midterm (47 points) 计算机网络代写 1. (3 points) What are the units of throughput, queueing delay, window size, capacity, RTT, and Bandwidth-Delay Product? Instructi...
View detailsECE/CS 570 – High Performance Computer Architecture Homework #2 高性能计算机架构代写 1.Consider a shared-memory multiprocessor that consists of three processor/cache units and where cache co...
View detailsimage processing python Implementation (50 %) 图像处理代写 1 DoG (20 %) Use two Gaussian filters with suitable kernel sizes to to extract the license plate and remove most of the background ...
View details