maths.free › Combinatorics & Graph Theory › Graph Theory › Multigraphs: Loops and Multiple Edges

Multigraphs: Loops and Multiple Edges

Consider a graph in which the vertices represent cities and the edges represent highways. Certain pairs of cities are joined by an edge while other pairs are not.

Multigraphs: Loops and Multiple Edges

Consider a graph in which the vertices represent cities and the edges represent highways. Certain pairs of cities are joined by an edge while other pairs are not. The graph may or may not be connected (although a disconnected graph is likely to result in disgruntled commuters). However, certain aspects of real highway networks are not captured by this model. First, between two nearby cities, there can actually be several interconnecting highways, and traveling on one of them is fundamentally different from traveling on another. This leads to the concept of multiple edges, , allowing for more than one edge between two adjacent vertices. Also, we could have a highway which leaves a city, goes through the nearby countryside and the returns to the same city where it originated. This leads to the concept of a loop, , an edge with both end points being the same vertex. Also, we can allow for more than one loop with the same end point.

Accordingly, authors frequently lead off a discussion on a graph theory topic with a sentence or two like:

  1. In this paper, all graphs will be simple, , we will not allow loops or multiple edges.

  2. In this paper, graphs can have loops and multiple edges.

The terminology is far from standard, but in this text, a graph will always be a simple graph, , no loops or multiple edges. When we want to allow for loops and multiple edges, we will use the term multigraph. This suggests the question of what we would call a graph if it is allowed to have loops but not multiple edges, or if multiple edges are allowed but not loops. If we really needed to talk about such graphs, then the English language comes to our rescue, and we just state the restriction explicitly!

Nu er du Ingen lommeregner afgør dette, men stykkerne af det er komputerbare. Prøv en nedenfor, eller skriv din egen.

Fortsæt med at arbejde

En gratis konto tilføjer noter om hver lektion, en rekord over, hvad du har afsluttet, dine løste problemer på ét sted, og en vejleder, du kan spørge om denne side. Matematik selv er åben for alle, logget på eller ej.

Tilmeld dig Login

Symboler brugt her

Tryk på ethvert symbol for den fulde definition, et billede, og hvad hvert bogstav i det betyder.

Spørgsmål folk spørger

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

Dele af denne side er tilpasset fra Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). Kondenseret og genforklaret her; fejl er vores.

Mere i Combinatorics & Graph Theory