Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C++ Graph Data Structure Application Clique in community Explanation In the figure, it is seen who the numbered people follow on a social

image text in transcribed

Please use C++

Graph Data Structure Application Clique in community Explanation In the figure, it is seen who the numbered people follow on a social network such as Twither or lnstagram. This structure is a clique, that is, a sub-part of a community. This is a directional and costless graph (Directed and Weighted Graph). This data structure is located in the network tat file. Node (N) and edge (E) numbers are written in the frst two Ines, and who follows whom in the next E lines. Input File nebwork.tat. 10W N : Node number J E: edge ie follow number W Person 15 1 follows 2 12 19 82 Tasks 1. Read the graph from the network.bet file. Your codes should operate on a NaN matrix, and should be able to read up to E connections by itself. 2. Find Selfieh nodes i.e. people followed but unfollowed. Translated by Google 3. Find antisocial (desctive) people on Clique, ie neither followed nor unfollowed. 4. Find pairs of friends who follow esch other. 5. Transfer another script you developed to a file named Network2. tut and try your codes on it. In this scenario N>15 should be E>20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

Calculate v w. v = (1, 2, 1), w = (3, 1, 1)

Answered: 1 week ago

Question

3. What are potential solutions?

Answered: 1 week ago