Purchase Solution

Graph and describe adjacency matrix

Not what you're looking for?

Ask Custom Question

Assume that a graph uses and adjacency matrix to represent the edges. Describe how you would update the matrix for the following algorithms.

(a). Insert an edge
(b). Insert a new vertex
(c). Delete and edge
(d). Delete a vertex.

Purchase this Solution

Solution Summary

The expert graphs and describes adjacency matrix.

Solution Preview

(a) If you insert an edge, you should update the corresponding entry of the matrix to the value of the edge.
(b) If you insert a new vertex, you should resize the ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Networking Questions

This quiz consists of some basic networking questions.