6+7 definitions Flashcards

1
Q

PSPACE

A

A problem belonds to PSPACE if and only if the amount of memory it takes to solve it grows polynomially with the input size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3SAT

A

The decision problem of whether there is an interpretation that makes a 3CNF propositional logic formula true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Karp reduction

A

A polynomial-time reduction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

kCNF

A

a formula is in kCNF if each conjunct contains at most k literals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CNF

A

A formula in CNF consists of a conjunction of disjunctions apart from that which contains only one conjunct or that with one of more disjunctions with a single disjunct

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

SAT

A

The decision problem of whether there is an interpretation that makes a propositional logic formula true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

NP complete

A

A problem that is in NP and is NP Hard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NP Hard

A

A problem that is at least as hard as any problem in NP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

NP

A

A decision problem is in NP if for the inputs where the answer is 1, there exists a certificate that can be checked in polynomial time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

TSP

A

Given a weighted complete graph, decide whether there is a cycle that passes through every node exactly once except for the start and end node as they are the same, an whose total weight is at most k. The TSP is always relative to a value for k.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Intractable

A

A computable problem that does not have a polynomial-time solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

lower bound

A

a proof that shows problem X requires at least x complexity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

upper bound

A

An algorithm that shows X requires at most x complexity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

P

A

The class of tractable problems - problems with polynomial-time solutions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Tractable

A

Problems that can be solved by algorithms in polynomial time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Equivalence Problem

A

The problem of deciding whether two programs produce the exact same outputs for the same inputs. Th equivalence problem is non computable

17
Q

Totality Problem

A

The problem of deciding whether a program halts for all inputs. The totality problem is non computable

18
Q

Reduction

A

A reduction of one problem A to another problem B is a demonstration that a solution for problem B can be used to solve the original problem A. The demonstration involves an algo that transforms inputs of problem A into inputs of problem B, such that the outputs for problem B correspond with the outputs for problem A.

19
Q

DPNuc the uncomputable decision problem

A

returns 1 for an input i and if DPNuc(i) does not return 1, else 0

20
Q

Turing complete

A

If an algo can be used to simulate any other algo

21
Q

Halting problem

A

whether an algorithm halts for a given input. This is uncomputable and NP Hard

22
Q

Church-Turing thesis

A

Any algo can be represented by a Turing machine