Chapter 9 - Graphs and Trees

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Adjacency matrix

A data structure set up as a 2D array that shows whether there is an edge between each pair of nodes

Adjacency list

A data structure that stores a list of nodes with their adjacent nodes

Weighted graph

A graph that has a data value on each edge

Tree

A graph that has no loops or cycles

Undirected graph

A graph where the relationship is two-way

Graph

A mathematical structure that models the relationship between pairs of objects

Binary tree

A tree where each node can have up to two child nodes attached

Leaf

A type of node in a tree from which there are no more nodes below it

Parent

A type of node in a tree that has further nodes below it

Child

A type of node in a tree that has nodes above it

Node

Also known as a vertex - an object or point in a graph

Edge

Also known as an arc - a connection between nodes/vertices

Arc

Also known as an edge - relationship between two nodes

Vertex

Also known as an node - a point or object in a graph

Directed graph

One-way links between nodes on a graph

Root

The starting node in a rooted tree structure from which all other nodes branch off

Latency

The time delay when sending data between devices

Graph theory

The underlying mathematical principles behind the use of graphs


Set pelajaran terkait

AP Computer Science Principles Semester 1 Study Guide

View Set

Microbiology Chapter 8: Microbial Metabolism

View Set

B2-CLOSE UP unit 9-And What Do You Do?

View Set

Prep U Practice Questions (Tissue Integrity)

View Set

Vocabulary Workshop Level D Unit 5

View Set

Acct 3220 - Taxation Midterm Ch2

View Set

Christian Theology Exam 1 Whitlock

View Set

GI disorders of the adult client

View Set