LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2018, 03:00 AM   #1
still.dedes3
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Rep: Reputation: Disabled
representing a LAN as a graph


A computer network is to be represented as an adjacency list such that each node of the adjacency list will represent one node of the network and to which other nodes it has a direct link with(considering that each node has bidirectional link with its immediate neighbours). The betweenness centrality of each of the nodes needs to be found and the nodes are to be arranged in descending order in an array. Program control needs to transfer to any of the nodes (based on some if condition) and run some commands/program in any node.(This part needs threading?) How to do this entire thing using a C-program -??
 
Old 06-14-2018, 05:22 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,704

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Sounds like homework.

What have youo considered? How have you tried?

Have you done any research on what you might need to anser this question yourself?

What do you already know?
 
Old 06-15-2018, 01:45 AM   #3
still.dedes3
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Well to begin with.. no i haven't tried much. But just came across this link.. mpi and parallel programming. and i was wondering if apart from mpi this could be done using thread programming?? It has to be MORE than the usual taking input of a graph as an adjacency list and then traversing
the graph.. to build the graph the node in which the program would run should have an overall picture of the entire network to which it is connected and build the graph from there. But i dont know how to do that programmatically? Much later comes the program control getting transferred to the different nodes in the graph where programs could be run using threading. Program control getting transferred needs info of which node to get transferred to from the graph. I'm also planning to do this using virtual box and openvswitch (to create different nodes in a network). Please help....


Quote:
Originally Posted by wpeckham View Post
Sounds like homework.

What have youo considered? How have you tried?

Have you done any research on what you might need to anser this question yourself?

What do you already know?

Last edited by still.dedes3; 06-15-2018 at 01:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Representing Linux... rich_c Linux - General 13 07-14-2012 01:58 PM
representing data in computer adamkong Programming 2 05-25-2009 06:52 AM
What is the best software for graphically representing equations? KDHofAvalon Linux - Software 5 01-17-2009 06:16 AM
Representing Canada dward526 LinuxQuestions.org Member Intro 3 01-28-2008 11:18 AM
Need LAN Monitor with graph like XP - help! AcerPowerT8400 Linux - Software 1 03-28-2005 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration