CSE 3321 Heuristics + Greedy Algorithms (Zybooks Lecture)

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 7

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

8 Terms

1

A heuristic is a way of producing an optimal solution to a problem

False.

New cards
2

A heuristic technique used for numerical computation may sacrifice accuracy to gain speed

True

New cards
3

Heuristic Algorithm

An algorithm that quickly determines a near optimal or approximate solution.

New cards
4

Which is not commonly sacrificed by a heuristic algorithm?

  • Speed

  • Optimality

  • Accuracy

Speed

New cards
5

Self-adjusting heuristic

An algorithm that modifies a data structure based on how that data structure is used.

Ex: many self-adjusting data structures, such as red-black trees and AVL trees, use a self-adjusting heuristic to keep the tree balanced.

New cards
6

Greedy Algorithm Definition

An algorithm that, when presented with a list of options, chooses the option that is optimal at that point in time. The choice of option does not consider additional subsequent options, and may or may not lead to an optimal solution.

New cards
7

Examples of Greedy Algorithms

  • Dijkstra’s (poster child tho, creates optimal solution)

  • A* search

  • Prim’s

  • Kruskals

New cards
8

The greedy algorithm always finds an optimal solution (T/F)

False

New cards

Explore top notes

note Note
studied byStudied by 21 people
991 days ago
5.0(1)
note Note
studied byStudied by 8 people
771 days ago
5.0(1)
note Note
studied byStudied by 19 people
896 days ago
5.0(2)
note Note
studied byStudied by 71 people
308 days ago
5.0(1)
note Note
studied byStudied by 82 people
902 days ago
5.0(1)
note Note
studied byStudied by 22 people
844 days ago
5.0(2)
note Note
studied byStudied by 3 people
24 days ago
5.0(1)
note Note
studied byStudied by 6307 people
705 days ago
4.9(48)

Explore top flashcards

flashcards Flashcard (21)
studied byStudied by 63 people
30 days ago
5.0(2)
flashcards Flashcard (31)
studied byStudied by 2 people
548 days ago
5.0(1)
flashcards Flashcard (147)
studied byStudied by 2 people
17 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 51 people
63 days ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 27 people
700 days ago
4.0(1)
flashcards Flashcard (41)
studied byStudied by 3 people
190 days ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 1 person
126 days ago
5.0(1)
flashcards Flashcard (129)
studied byStudied by 3 people
105 days ago
5.0(1)
robot