Graphs Flashcards

1
Q

What is a Graph?

A

A graph is a way of representing relationships that exist between pairs of objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Graph viewed abstractly?

A

Viewed abstractly, a graph G is simply a set V of vertices and a collection E of pairs of vertices from V, called edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When is an Edge (u, v) Directed?

A

An edge (u,v) is said to be directed from u to v if the pair (u,v) is ordered, with u preceding v.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When are two vertices said to be Adjacent?

A

Two vertices u and v are said to be adjacent if there is an edge whose end vertices are u and v.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When is an edge said to be Incident to a vertex?

A

An edge is said to be incident to a vertex if the vertex is one of the edge’s endpoints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the outgoing edges of a vertex?

A

The outgoing edges of a vertex are the directed edges whose origin is that vertex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the incoming edges of a vertex?

A

The incoming edges of a vertex are the directed edges whose destination is that vertex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the degree of a vertex?

A

The degree of a vertex v, denoted deg(v), is the number of incident edges of v.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly