Graph Theory and Graph Algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/65

flashcard set

Earn XP

Description and Tags

A comprehensive set of 80 vocabulary flashcards covering key concepts and terms related to graphs and graph algorithms as outlined in the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

66 Terms

1
New cards

Graph

A mathematical construct consisting of vertices and edges.

2
New cards

Vertex

A node in a graph, represented as a point.

3
New cards

Edge

A connection between two vertices in a graph.

4
New cards

Directed Graph

A graph where edges have a direction, indicating the relationship from one vertex to another.

5
New cards

Undirected Graph

A graph where edges do not have a direction.

6
New cards

Adjacency List

A data structure that represents a graph as a list of its adjacent vertices.

7
New cards

Adjacency Matrix

A data structure that represents a graph as a matrix, where each cell indicates if a pair of vertices is connected.

8
New cards

Incidence Matrix

A matrix that shows the relationship between vertices and edges in a graph.

9
New cards

DFS

Depth-First Search, an algorithm for traversing graph structures.

10
New cards

BFS

Breadth-First Search, an algorithm for traversing graph structures.

11
New cards

Graph Traversal

The process of visiting all the vertices and edges of a graph.

12
New cards

Connected Graph

A graph where there is a path between every pair of vertices.

13
New cards

Path

A sequence of edges connecting a series of vertices.

14
New cards

Cycle

A path in a graph that starts and ends at the same vertex.

15
New cards

Articulation Point

A vertex in a graph whose removal increases the number of connected components.

16
New cards

Topological Sorting

An ordering of the vertices in a directed acyclic graph (DAG) such that for every directed edge u → v, vertex u comes before vertex v.

17
New cards

Tree Edge

An edge that is part of the spanning tree created during DFS.

18
New cards

Back Edge

An edge that points from a vertex to one of its ancestors in the depth-first spanning tree.

19
New cards

Forward Edge

An edge that connects a vertex to a descendant in the depth-first spanning tree.

20
New cards

Cross Edge

An edge that connects two vertices in two separate branches of the depth-first spanning tree.

21
New cards

Graph Representation

Different methods to represent graphs, such as matrix or list.

22
New cards

Degree of Vertex

The number of edges connected to a vertex.

23
New cards

Isomorphism

A condition where two graphs contain the same number of graph vertices connected in the same way.

24
New cards

Traverse

To visit all the vertices or points in a graph.

25
New cards

Global Variable

A variable that is accessible from any place in the code.

26
New cards

Visited Array

An array used to keep track of which vertices have been visited during traversal.

27
New cards

Null Pointer

A pointer that does not point to any object or function.

28
New cards

Initialization

The process of assigning an initial value to a variable.

29
New cards

Stack

A data structure that follows the Last In First Out (LIFO) principle.

30
New cards

Queue

A data structure that follows the First In First Out (FIFO) principle.

31
New cards

Depth-first Numbering

The assignment of numbers to vertices in the order they are visited in DFS.

32
New cards

Algorithm

A step-by-step procedure for solving a problem or accomplishing a task.

33
New cards

Complexity

A measure of the resources required for an algorithm, typically time and space.

34
New cards

Space Efficiency

The amount of memory required by an algorithm as a function of input size.

35
New cards

Input/Output

The data that is fed into an algorithm and the data produced by it.

36
New cards

Global Data Structure

A data structure that can be accessed across multiple functions or modules in a program.

37
New cards

Iteration

A process of repeating a sequence of operations.

38
New cards

Vertex count

The number of vertices in a graph.

39
New cards

Edge count

The number of edges in a graph.

40
New cards

Graph Theory

The study of graphs and their properties.

41
New cards

Directed Edge

An edge that has a direction from one vertex to another.

42
New cards

Undirected Edge

An edge that connects two vertices without any specific direction.

43
New cards

Binary Tree

A tree data structure where each node has at most two children.

44
New cards

Spanning Tree

A subgraph that includes all the vertices of the graph with the minimum number of edges.

45
New cards

Planar Graph

A graph that can be embedded in the plane, meaning it can be drawn on a flat surface without edges crossing.

46
New cards

Subgraph

A graph formed from a subset of the vertices and edges of another graph.

47
New cards

DAG (Directed Acyclic Graph)

A directed graph with no cycles.

48
New cards

Connected Component

A maximal connected subgraph in an undirected graph.

49
New cards

Randomized Algorithm

An algorithm that uses random numbers to make decisions during execution.

50
New cards

Graph Isomorphism

When two graphs can be transformed into each other simply by renaming vertices.

51
New cards

Traversal Order

The sequence in which the vertices of a graph are visited.

52
New cards

Data Structure

A systematic way of organizing and accessing data.

53
New cards

Algorithm Complexity

The study of the behavior of algorithms regarding resource usage.

54
New cards

Exponential Growth

Growth where the quantity increases at a rate proportional to its current value.

55
New cards

Polynomial Time

A type of computational complexity indicating an algorithm completes in time proportional to a polynomial expression of the input size.

56
New cards

Breadth-first Tree

A tree formed by performing a BFS on a graph.

57
New cards

Depth-first Tree

A tree formed by performing a DFS on a graph.

58
New cards

Traversal Algorithms

Algorithms designed specifically for traversing graphs.

59
New cards

Backtracking

An algorithmic technique for solving problems incrementally, building candidates and abandoning those that fail to meet the conditions.

60
New cards

Vertex Connectivity

The minimum number of vertices that need to be removed to disconnect the remaining vertices.

61
New cards

Edge Connectivity

The minimum number of edges that must be removed to disconnect a graph.

62
New cards

Graph Algorithm

A set of procedures or formulas for solving problems related to graphs.

63
New cards

Queue Implementation

The way in which a queue is structured and operated in programming.

64
New cards

Recursive Algorithm

An algorithm that solves a problem by solving smaller instances of the same problem.

65
New cards

Iterative Algorithm

An algorithm that repeatedly applies the same operations until a specific condition is met.

66
New cards

Shortest Path Algorithm

An algorithm to find the shortest path from one vertex to another in a graph.