SlideShare a Scribd company logo
Graphs and Topology
Yao Zhao
Background of Graph
• A graph is a pair G=(V,E)
– Undirected graph and directed graph
– Weighted graph and unweighted
graph
a b
c
d
e
Subgraph
• Subgraph G’ =(V’,E’) of G=(V,E)
–
– if and only if
and
• Clique
– Complete subgraph
Connected Graph
• Path
– A sequence of vertices v1, v2,…,vn that there is an
edge from each vertex to the next vertex in the
sequence
– If the graph is directed, then each edge must in the
direction from the current vertex to the next vertex in
sequence
• Connected vertices
– Two vertices vi and vj are connected if there is a path
that starts with vi and ends with vj.
• Connected graph:
– Undirected graph with a path between each pair of
vertices
• Strong connected graph
– Directed graph with a path
between each pair of vertices a b
c
d
e
Characterizing Graph Structure (1)
• Degree
– The degree of a vertex is the number of
edges incident to it
• Indegree and outdegree of directed graph
• Shortest path
– The shortest path length between two
vertices i and j is the number of edges
comprising the shortest path (or a shortest
path) between i and j.
– Diameter of a connected graph
• Characteristic path length
– Average length of all the
shortest paths between
any pair of vertices
a b
c
d
e
Characterizing Graph Structure (2)
• Clustering
– The tendency for neighbors of a node to
themselves be neighbors
– Clustering efficient
• Betweenness
– The centrality of a vertex
– Give the set of shortest paths between all
pairs of vertices in a graph, the
betweenness bi of a vertex i is the total
number of those paths that pass through
that vertex.
a b
c
d
e
Associated Matrices
• Incidence matrix of G=(V,E)
– n×n matrix with (n=|V|)
• Routing matrix
– All-pairs paths
a b
c
d
e

















1
1
0
1
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
1
0
1
1
0
0
0
0
0
0
0
0
1
1
1
1
e
d
c
b
a
A
Applications of Routing Matrix (1)
• Origin-destination
(OD) flow

































































4
2
2
4
4
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
1
0
1
1
0
0
0
0
0
0
0
0
1
1
1
1
e
d
c
b
a
a b
c
d
e

 x
A
y
Applications of Routing Matrix (2)
•
• Delay of paths
T
A
G 
a b
c
d
e

















































































1
2
1
2
1
1
3
2
2
1
1
0
0
0
0
1
1
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
0
1
1
0
0
0
1
1
0
0
1
0
1
0
0
0
0
1
5
4
3
2
1
x
x
x
x
x

 w
G
z
Commonly Encountered Graph Models (1)
• random graph
– GN,p
• N vertices, (N2-N)/2 possible edges
• Each edge is present with probability of p
independently
• Expected number of edges:
• Expected vertex degree (Poisson
distribution)
Commonly Encountered Graph Models (2)
• Generalized random graph
– Given fixed degree sequence {di,
i=1,…,N}
– Each degree di is assigned to one of
the N vertices
– Edge are constructed randomly to
satisfy the degree of each vertex
– Self-loop and duplicate links may
occur
Commonly Encountered Graph Models (3)
• Preferential attachment model
– Ideas:
• Growing network model
• The addition of edges to the graph is influenced
by the degree distribution at the time the edge is
added
– Implementation
• The graph starts with a small set of m0 connected
vertices
• For each added edge, the choice of which vertex
to connect is made randomly with probability
proportional to di
• E.g. power law distribution of the degree
Regular Graph vs Random Graph
• Regular graph
– Long characteristic path length
– High degree of clustering
• Random Graph
– Short paths
– Low degree of clustering
• Small world graph
– Short characteristic path length
– High degree of clustering
AS-level Topology
AS-level Topology
• High variability in degree distribution
– Some ASes are very highly connected
• Different ASes have dramatically different roles in
the network
• Node degree seems to be highly correlated with
AS size
– Generative models of AS graph
• “Rich get richer” model
• Newly added nodes connect to existing nodes in
a way that tends to simultaneously minimize the
physical length of the new connection, as well as
the average number of hops to other nodes
• New ASes appear at an exponentially increasing
rate, and each AS grows exponentially as well
AS Graph Is Small World Graph
• AS graph taken in Jan 2002
containing 12,709 ASes and 27,384
edges
– Average path length is 3.6
– Clustering coefficient is 0.46 (0.0014
in random graph)
– It appears that individual clusters can
contain ASes with similar geographic
location or business interests
AS Relationships
• Four relationships
– Customer-provider
– Peering
• Exchange only non-transit traffic
– Mutual transit
• typically between two administrative
domains such as small ISPs who are
located close to each other
– Mutual backup
• Hierarchical structure?
Router-level Topology
Router-level Topology
• High variability in degree distribution
– Impossible to obtain a complete Internet topology
– Most nodes have degree less than 5 but some can
have degrees greater than 100
• High degree nodes tend to appear close to the network
edge
• Network cores are more likely to be meshes
– Sampling bias (Mercator and Rocketful)
• Proactive measurement (Passive measurement for AS
graph)
• Nodes and links closest to the sources are explored
much more thoroughly
• Artificially increase the proportion of low-degree nodes
in the sampled graph
• Path properties
– Average length around 16, rare paths longer than 30
hops
– Path inflation
Generative Router-level Topology
• Based on network robustness & technology
constrains
Dynamic Aspects of Topology
• Growing Internet
Number of unique AS numbers advertised within the BGP system
Dynamic Aspects of Topology
• Difficult to measure the number of
routers
– DNS is decentralized
– Router-level graph changes rapidly
• Difficult measurement on
endsystems
– Intermittent connection
– Network Address Translation (NAT)
– No single centralized host registry
Registered Hosts in DNS
• During the 1990s Internet growing exponentially
• Slowed down somewhat today
Stability of Internet
• BGP instability
– Equipment failure, reconfiguration or
misconfiguration, policy change
– Long sequences of BGP updates
• Repeated announcements and withdrawals of
routers
• Loop or increased delay and loss rates
– Although most BGP routes are highly
available, route stability in the interdoman
system has declined over time
– Instable BGP route affects a small fraction
of Internet traffic
– Unavailable duration can be highly variable
Stability of Internet
• Router level instability
– Some routes do exhibit significant
fluctuation
• The trend may be increasing slightly
• Consistent with the behavior AS-level paths
• High variability of route stability
– Majority of routes going days or weeks without
change
• High variability of route unavailable duration
– Causes of instability of the router graph
• Failure of links
– Majority of link failures are concentrated on a small
subset of the links
– Marjority of link failures are short-lived (<10min)
• Router failure
Geographic Location
• Interfaces -> IP addresses
• Population from CIESIN
• Online users from the repository of survey
statistics by Nua, Inc

More Related Content

Similar to graphs.ppt

Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
Nitesh Singh
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
AayushMishra89
 
Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
Mohsin Ali
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
JAIGANESH SEKAR
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
21121A0594
 
DSDV VS AODV
DSDV VS AODV DSDV VS AODV
DSDV VS AODV
Senthil Kanth
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
Parameswaran Selvakumar
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
HODElex
 
Routing.ppt
Routing.pptRouting.ppt
Routing.ppt
dada827350
 
Network layer
Network layerNetwork layer
Network layer
TharuniDiddekunta
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
HODElex
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram Snehi
MR. VIKRAM SNEHI
 
L22.ppt
L22.pptL22.ppt
L22.ppt
raaed5
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
Syed Zaid Irshad
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
Tutun Juhana
 
Network layer
Network layerNetwork layer
Network layer
sbkbca
 
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)
Tutun Juhana
 
routing
routingrouting
routing
radhika477746
 
Routing
RoutingRouting
Routing
Saima Azam
 

Similar to graphs.ppt (20)

Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 
Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
 
DSDV VS AODV
DSDV VS AODV DSDV VS AODV
DSDV VS AODV
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
 
Routing.ppt
Routing.pptRouting.ppt
Routing.ppt
 
Network layer
Network layerNetwork layer
Network layer
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
 
Routing and IP in Advance Computer Network,Vikram Snehi
Routing and IP in Advance Computer Network,Vikram  SnehiRouting and IP in Advance Computer Network,Vikram  Snehi
Routing and IP in Advance Computer Network,Vikram Snehi
 
L22.ppt
L22.pptL22.ppt
L22.ppt
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
 
Network layer
Network layerNetwork layer
Network layer
 
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)
 
routing
routingrouting
routing
 
Routing
RoutingRouting
Routing
 

More from SauravDash10

Permutation and Combination excellant.ppt
Permutation and Combination excellant.pptPermutation and Combination excellant.ppt
Permutation and Combination excellant.ppt
SauravDash10
 
Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
SauravDash10
 
Game Theory.pptx
Game Theory.pptxGame Theory.pptx
Game Theory.pptx
SauravDash10
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
SauravDash10
 
Transportation.pptx
Transportation.pptxTransportation.pptx
Transportation.pptx
SauravDash10
 
Data Migration.pptx
Data Migration.pptxData Migration.pptx
Data Migration.pptx
SauravDash10
 
Hypothesis.ppt
Hypothesis.pptHypothesis.ppt
Hypothesis.ppt
SauravDash10
 
01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx
SauravDash10
 
Bivariate Distribution.pptx
Bivariate Distribution.pptxBivariate Distribution.pptx
Bivariate Distribution.pptx
SauravDash10
 
Determinants and matrices.ppt
Determinants and matrices.pptDeterminants and matrices.ppt
Determinants and matrices.ppt
SauravDash10
 
Set Theory.pdf
Set Theory.pdfSet Theory.pdf
Set Theory.pdf
SauravDash10
 
CP Power Point.ppt
CP Power Point.pptCP Power Point.ppt
CP Power Point.ppt
SauravDash10
 
PermutationsAndCombinations.ppt
PermutationsAndCombinations.pptPermutationsAndCombinations.ppt
PermutationsAndCombinations.ppt
SauravDash10
 
Group Ring.ppt
Group Ring.pptGroup Ring.ppt
Group Ring.ppt
SauravDash10
 
PPTs.pptx
PPTs.pptxPPTs.pptx
PPTs.pptx
SauravDash10
 

More from SauravDash10 (15)

Permutation and Combination excellant.ppt
Permutation and Combination excellant.pptPermutation and Combination excellant.ppt
Permutation and Combination excellant.ppt
 
Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
 
Game Theory.pptx
Game Theory.pptxGame Theory.pptx
Game Theory.pptx
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
Transportation.pptx
Transportation.pptxTransportation.pptx
Transportation.pptx
 
Data Migration.pptx
Data Migration.pptxData Migration.pptx
Data Migration.pptx
 
Hypothesis.ppt
Hypothesis.pptHypothesis.ppt
Hypothesis.ppt
 
01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx
 
Bivariate Distribution.pptx
Bivariate Distribution.pptxBivariate Distribution.pptx
Bivariate Distribution.pptx
 
Determinants and matrices.ppt
Determinants and matrices.pptDeterminants and matrices.ppt
Determinants and matrices.ppt
 
Set Theory.pdf
Set Theory.pdfSet Theory.pdf
Set Theory.pdf
 
CP Power Point.ppt
CP Power Point.pptCP Power Point.ppt
CP Power Point.ppt
 
PermutationsAndCombinations.ppt
PermutationsAndCombinations.pptPermutationsAndCombinations.ppt
PermutationsAndCombinations.ppt
 
Group Ring.ppt
Group Ring.pptGroup Ring.ppt
Group Ring.ppt
 
PPTs.pptx
PPTs.pptxPPTs.pptx
PPTs.pptx
 

Recently uploaded

SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
Gokturk Mehmet Dilci
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
RASHMI M G
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
terusbelajar5
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
Hitesh Sikarwar
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Texas Alliance of Groundwater Districts
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
European Sustainable Phosphorus Platform
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
AbdullaAlAsif1
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
muralinath2
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 

Recently uploaded (20)

SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 

graphs.ppt

  • 2. Background of Graph • A graph is a pair G=(V,E) – Undirected graph and directed graph – Weighted graph and unweighted graph
  • 3. a b c d e Subgraph • Subgraph G’ =(V’,E’) of G=(V,E) – – if and only if and • Clique – Complete subgraph
  • 4. Connected Graph • Path – A sequence of vertices v1, v2,…,vn that there is an edge from each vertex to the next vertex in the sequence – If the graph is directed, then each edge must in the direction from the current vertex to the next vertex in sequence • Connected vertices – Two vertices vi and vj are connected if there is a path that starts with vi and ends with vj. • Connected graph: – Undirected graph with a path between each pair of vertices • Strong connected graph – Directed graph with a path between each pair of vertices a b c d e
  • 5. Characterizing Graph Structure (1) • Degree – The degree of a vertex is the number of edges incident to it • Indegree and outdegree of directed graph • Shortest path – The shortest path length between two vertices i and j is the number of edges comprising the shortest path (or a shortest path) between i and j. – Diameter of a connected graph • Characteristic path length – Average length of all the shortest paths between any pair of vertices a b c d e
  • 6. Characterizing Graph Structure (2) • Clustering – The tendency for neighbors of a node to themselves be neighbors – Clustering efficient • Betweenness – The centrality of a vertex – Give the set of shortest paths between all pairs of vertices in a graph, the betweenness bi of a vertex i is the total number of those paths that pass through that vertex. a b c d e
  • 7. Associated Matrices • Incidence matrix of G=(V,E) – n×n matrix with (n=|V|) • Routing matrix – All-pairs paths a b c d e                  1 1 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 e d c b a A
  • 8. Applications of Routing Matrix (1) • Origin-destination (OD) flow                                                                  4 2 2 4 4 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 e d c b a a b c d e   x A y
  • 9. Applications of Routing Matrix (2) • • Delay of paths T A G  a b c d e                                                                                  1 2 1 2 1 1 3 2 2 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 0 0 1 1 0 0 1 0 1 0 0 0 0 1 5 4 3 2 1 x x x x x   w G z
  • 10. Commonly Encountered Graph Models (1) • random graph – GN,p • N vertices, (N2-N)/2 possible edges • Each edge is present with probability of p independently • Expected number of edges: • Expected vertex degree (Poisson distribution)
  • 11. Commonly Encountered Graph Models (2) • Generalized random graph – Given fixed degree sequence {di, i=1,…,N} – Each degree di is assigned to one of the N vertices – Edge are constructed randomly to satisfy the degree of each vertex – Self-loop and duplicate links may occur
  • 12. Commonly Encountered Graph Models (3) • Preferential attachment model – Ideas: • Growing network model • The addition of edges to the graph is influenced by the degree distribution at the time the edge is added – Implementation • The graph starts with a small set of m0 connected vertices • For each added edge, the choice of which vertex to connect is made randomly with probability proportional to di • E.g. power law distribution of the degree
  • 13. Regular Graph vs Random Graph • Regular graph – Long characteristic path length – High degree of clustering • Random Graph – Short paths – Low degree of clustering • Small world graph – Short characteristic path length – High degree of clustering
  • 15. AS-level Topology • High variability in degree distribution – Some ASes are very highly connected • Different ASes have dramatically different roles in the network • Node degree seems to be highly correlated with AS size – Generative models of AS graph • “Rich get richer” model • Newly added nodes connect to existing nodes in a way that tends to simultaneously minimize the physical length of the new connection, as well as the average number of hops to other nodes • New ASes appear at an exponentially increasing rate, and each AS grows exponentially as well
  • 16. AS Graph Is Small World Graph • AS graph taken in Jan 2002 containing 12,709 ASes and 27,384 edges – Average path length is 3.6 – Clustering coefficient is 0.46 (0.0014 in random graph) – It appears that individual clusters can contain ASes with similar geographic location or business interests
  • 17. AS Relationships • Four relationships – Customer-provider – Peering • Exchange only non-transit traffic – Mutual transit • typically between two administrative domains such as small ISPs who are located close to each other – Mutual backup • Hierarchical structure?
  • 19. Router-level Topology • High variability in degree distribution – Impossible to obtain a complete Internet topology – Most nodes have degree less than 5 but some can have degrees greater than 100 • High degree nodes tend to appear close to the network edge • Network cores are more likely to be meshes – Sampling bias (Mercator and Rocketful) • Proactive measurement (Passive measurement for AS graph) • Nodes and links closest to the sources are explored much more thoroughly • Artificially increase the proportion of low-degree nodes in the sampled graph • Path properties – Average length around 16, rare paths longer than 30 hops – Path inflation
  • 20. Generative Router-level Topology • Based on network robustness & technology constrains
  • 21. Dynamic Aspects of Topology • Growing Internet Number of unique AS numbers advertised within the BGP system
  • 22. Dynamic Aspects of Topology • Difficult to measure the number of routers – DNS is decentralized – Router-level graph changes rapidly • Difficult measurement on endsystems – Intermittent connection – Network Address Translation (NAT) – No single centralized host registry
  • 23. Registered Hosts in DNS • During the 1990s Internet growing exponentially • Slowed down somewhat today
  • 24. Stability of Internet • BGP instability – Equipment failure, reconfiguration or misconfiguration, policy change – Long sequences of BGP updates • Repeated announcements and withdrawals of routers • Loop or increased delay and loss rates – Although most BGP routes are highly available, route stability in the interdoman system has declined over time – Instable BGP route affects a small fraction of Internet traffic – Unavailable duration can be highly variable
  • 25. Stability of Internet • Router level instability – Some routes do exhibit significant fluctuation • The trend may be increasing slightly • Consistent with the behavior AS-level paths • High variability of route stability – Majority of routes going days or weeks without change • High variability of route unavailable duration – Causes of instability of the router graph • Failure of links – Majority of link failures are concentrated on a small subset of the links – Marjority of link failures are short-lived (<10min) • Router failure
  • 26. Geographic Location • Interfaces -> IP addresses • Population from CIESIN • Online users from the repository of survey statistics by Nua, Inc