CSCE411 Exam 2 - Graph Notation and Terminology

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Adjacent

Given (i,j), it is said that vertices i and j are adjacent.

2
New cards

Neighborhood

The neighborhood of a node is the set of nodes adjacent to it.

N(v) = { i ∈ V | (i,v) ∈ E }

3
New cards

Degree

The number of neighbors (adjacent nodes) a vertex has.

4
New cards

Generalized Graph Classes

Weighted, Directed

5
New cards

Weighted Graphs

Every edge (i,j) ∈ E is associated with a weight wij

6
New cards

Directed Graphs

All edges have a direction such that (i,j) means i → j

Does not necessarily imply that (i,j) = (j,i)

7
New cards

Basic Graph Types

Basic graph types include complete graphs, bipartite graphs, and triangles.

8
New cards

Complete Graph

Every pair of vertices is connected by an edge.

9
New cards

Bipartite Graph

All vertices can be separated into two groups. Edges only cross between gaps. No two vertices in a group share an edge.

10
New cards

Triangle

A set of three nodes that all share edges.

11
New cards

Edge Structures

Three common kinds of edge structures are edges, matchings, and connected components.

12
New cards

Path

A sequence of edges joining a sequence of vertices.

13
New cards

Matching

A set of edges without common vertices.

14
New cards

Connected Component

A maximal subgraph in which there is a path between every pair of nodes in the subgraph.

15
New cards

Common Graph Optimization Problems

Shortest path, maximum bipartite matching, finding connected components.

16
New cards

Graph Representation

The two means of representing a graph are either through an adjacency list or an adjacency matrix.

17
New cards

Adjacency List

The set of nodes such that each element in the adjacency list contains a list of adjacent nodes.

18
New cards

Adjacency Matrix

A matrix where each row/column represents the i-th/j-th vertex. An entry is either a 0 for no edge, or a 1 for an edge. Adj[2][3] indicates that there is an edge from 2 → 3.