CSC226 Unit 3 Vocab

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

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.

24 Terms

1
New cards

reflexive

if all nodes have self loops

2
New cards

irreflexive

if no nodes have self loops

3
New cards

transitive

if x implies y and y implies z, then x needs to imply z too.

self loops only required if relation is a cycle

4
New cards

symmetric

if relation has bidirectional arrows. every pointing arrow needs its reverse.

5
New cards

antisymmetric

relation cannot have bidirectional arrows. two nodes cannot point at eachother. self loops are allowed.

6
New cards

asymmetric

relation cannot have bidirectional arrows. two nodes cannot point at eachother. self loops are not allowed

7
New cards

equivalence relation

when the relation is reflective, transitive, symmetric

8
New cards

poset

when the relation is reflexive, transitive, antisymmetric

9
New cards

degree of a node

how many edges are connected to the node

10
New cards

closed walk

walk that starts and ends on same node

11
New cards

open walk

walk that starts and ends on different nodes

12
New cards

trail

open walk that cannot visit edges twice

start and end on diff nodes

13
New cards

circuit

closed walk that cannot visit edges twice

start and end on the same node

14
New cards

path

trail that cannot visit the same node twice

15
New cards

cycle

circuit that cannot visit the same nodes twice except for first=last

16
New cards

euler’s trail

trail that visits every edge in a graph

this exists ONLY if there are exactly two nodes with an odd degree

17
New cards

euler’s circuit

circuit that visits every edge in a graph

euler’s circuit exists ONLY if all nodes have even degree

18
New cards

hamiltonian path

path that visits every node

starts and ends on diff nodes

19
New cards

hamiltonian cycle

cycle that visits every node

start and end on same node

20
New cards

depth first search

going down each branch before backtracking.

goes deep before wide

21
New cards

breadth first search

visits all neighbors at current branch before going deeper.

goes wide before deep

22
New cards

kruskal’s algorithim (for MSTs)

pick the cheapest edges first if it doesn’t start a cycle. starts w/ vertices and adds cheapest branch one by one.

need to reach all nodes w minimal and cheap edges

23
New cards

prim’s algorithim

grow from a starting vertex locally, choose the smallest edge that connects a vertex in the MST

need to reach all nodes w minimal and cheap edges

24
New cards

dijkstra’s algorithim

find the shortest path from one starting vertex to all other vertexes in a weighted graph.