TOC

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

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

23 Terms

1
New cards

DFA formally

knowt flashcard image
2
New cards

NFA Formally

knowt flashcard image
3
New cards

eNFA Formally

knowt flashcard image
4
New cards

CFG

knowt flashcard image
5
New cards

Chomsky Normal Form

knowt flashcard image
6
New cards

Greibach Normal Form

knowt flashcard image
7
New cards

PDA formally

knowt flashcard image
8
New cards

PDA Transitions

knowt flashcard image
9
New cards

One-tape TM

knowt flashcard image
10
New cards

Multi-Tape to Single-Tape TM

knowt flashcard image
11
New cards

NTM to DTM

knowt flashcard image
12
New cards

The Class P (formally)

Informally, the set of all decision problems solvable in poly time by a deterministic machine

<p>Informally, the set of all decision problems solvable in poly time by a deterministic machine</p>
13
New cards

Verifiers

knowt flashcard image
14
New cards

The Class NP

Alternatively: NP is the class of languages that can be decided by a non-deterministic TM in poly time

<p>Alternatively: NP is the class of languages that can be decided by a non-deterministic TM in poly time</p>
15
New cards

NTIME

knowt flashcard image
16
New cards

EXPTIME

knowt flashcard image
17
New cards

TIME

knowt flashcard image
18
New cards

SPACE

knowt flashcard image
19
New cards

NSPACE

knowt flashcard image
20
New cards

Relating time and space complexity

If a TM runs in f(n) TIME, it uses at most f(n) SPACE

If a TM runs in f(n) SPACE, it uses at most 2^(f(n)) TIME

21
New cards

PSPACE

knowt flashcard image
22
New cards

NPSPACE

knowt flashcard image
23
New cards

Relationships between complexity classes

PSPACE = NPSACE (every f(n) space NTM has an equivalent f(n)² space DTM)

P subset PSPACE (If a TM runs in f(n) TIME, it uses at most f(n) SPACE)

NP subset NPSPACE (If a TM runs in f(n) TIME, it uses at most f(n) SPACE)

Hence, NP subset PSPACE (PSPACE = NPSPACE)

PSPACE subset EXPTIME