Purchase Solution

Using C++

Not what you're looking for?

Ask Custom Question

Graph 1
A B C D E F G
A 0 0 1 1 0 1 0
B 0 0 0 1 1 0 0
C 1 0 0 0 0 1 0
D 1 1 0 0 1 1 0
E 0 1 0 1 0 0 0
F 1 0 1 1 0 0 1
G 0 0 0 0 0 1 0

Graph 2
A B C D E F G
A 0 0 0 1 0 1 1
B 0 0 0 1 1 0 0
C 0 0 0 0 0 0 0
D 1 1 0 0 1 1 0
E 0 1 0 1 0 0 0
F 1 0 0 1 0 0 1
G 1 0 0 0 0 1 0

(1) Determine if the graph is connected
(2) Find a minimal spanning tree of the connected portions of the graph.

Display both graphs, then I need to display which portions of the 2 graphs are "connected" or the same. The areas that are the same need to be put into a minimal spanning tree.

This program would need to be used in visual studio using C++ programming language.

Purchase this Solution

Solution Summary

The expert examines using C++.

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

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.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.