Answered step by step
Verified Expert Solution
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
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>20Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started