Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction The Internet can be viewed from both physical and logical perspectives. From a physical point of view, the Internet is a collection of web

Introduction
The Internet can be viewed from both physical and logical perspectives. From a physical point of view, the Internet is a collection of web servers connected together with fibre optic cables. From a logical point of view, the Internet is a collection of webpages connected together with hyperlinks. For this assignment, both perspectives are modeled as graphs in the following ways.
Server Graph
The collection of servers, on one hand, is represented by an undirected, unweighted server graph S=(V,E) where:
each vertex sinV represents a web server and each undirected edge (s,t)inE represents the physical connection between server s and Each server has a unique name and a list of the webpages that it hosts. Also, there is no hard limit on the number of servers.
Web Graph
The collection of webpages, on the other hand, is represented by a directed, unweighted web graph W=(V,E) where:
each vertex uinV is a webpage and
each directed edge (u,v)inE is a hyperlink from webpage u to webpage v. To simplify our discussion, there is at most one hyperlink from u to v.
Each webpage has a unique name as well as the name of the server that hosts it.
Task 1: Server Graph (43 marks)
Using the partial definitions below, implement and test the server graph as an expandable adjacency matrix. public class ServerGraph
//3 marks
private class WebServer
{
public string Name;
public List
image text in transcribed

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

Problem: Evaluate the integral: I = 1- 1 dx 9

Answered: 1 week ago

Question

Describe the Indian constitution and political system.

Answered: 1 week ago

Question

Explain in detail the developing and developed economy of India

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = X 52+7 - 1)(x+2) dx

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago