0
$\begingroup$

If the question state:
A connected and undirected graph, then does this graph allow loop or multiple edges?

enter image description here

I searched over the internet, but some allow, some don't. It's so confusing. Any idea? Thank you.

  • 0
    You should check not the question, but the beginning of the text (probably where the term "graph" is first defined). Authors tend to say something like, "Unless otherwise stated, 'graph' means 'simple graph'".2011-09-09

1 Answers 1

3

Most of the results that are covered in a graph theory course concern "simple" graphs, that in general do not permit self-loof or multiple edges. Graphs that allow multiple edges between two vertices are known as multi-graphs. Graphs that permit self-loops are sometimes called pseudo-graphs.

The restriction on multiple edges between two vertices is sometimes weakened for directed graphs so that both $(a,b)$ and $(b,a)$ can be included in the edge set of the directed graph.

  • 0
    Many thanks, I got the idea.2011-09-09