Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions related to the (computational) complexity of solving problems
3
votes
Accepted
Decidable language that has no finite description?
Unless you want to be more rigid in what you allow as a "description", every decidable language has a finite description - precisely the Turing machine that decides it. This Turing machine must exist …
6
votes
Accepted
Concept of reduction and algorithm
I think I see where your confusion arises. Hopefully ;).
Suppose you have a problem $\Pi \in NP$, and two algorithms $\mathcal{A}$ and $\mathcal{B}$ that both solve $\Pi$.
Assume that $\mathcal{A}$ …
3
votes
Accepted
Input size of 3-SAT when analyzing complexity
At the most basic level, the size of the input is the length of the string that encodes the input given to the Turing Machine - i.e. the number of cells it takes up on the tape under the chosen encodi …
2
votes
Show that TQBF $\notin$ SPACE$((\log{n})^4)$?
Another hint: As $TQBF$ is PSPACE-complete, for every problem $L$ in PSPACE, there exists a reduction $f$ such that for every instance $x$ of $L$ we can construct an instance $f(x)$ of $TQBF$ in time …
5
votes
How can Subset Sum be in CoNP?
A $\mathrm{No}$ answer means that there is no solution, not that there is a non-solution.
So for Subset-Sum this means there is no subset of the input integers that sum to zero, or to put it another …
3
votes
Accepted
Consequences of $NP=coNP=BPP=RP$
Unless I'm missing something obvious (it is getting late here), the second isn't possible - $BPP = coBPP$, so $NP=BPP \rightarrow NP = coBPP \rightarrow NP = coNP$.
In the first case, some of the con …
2
votes
complexity of finding the hampath of length $k$ in a graph with $n$ vertexes where $k < n$
Purely for clarity I'll lay out the definitions first, then give a reduction for your problem, so skipping a little ahead shouldn't cause a problem (if it does, start a bit earlier ;) ).
The two probl …
4
votes
Circuit size for "at least n inputs are true"
We can get some sort of upper bound from some complexity inclusions.
$TC^{0}$ is the class of polynomially sized, constant depth boolean circuits where we also have a $MAJORITY$ gate of unbounded fan …
1
vote
Accepted
Cliques in an alternate graph representation
Like Joe, I'm assuming that you want to find all maximal cliques.
Assuming your representation can represent all graphs (and there's no reason to suspect otherwise), then there's certainly still poss …
3
votes
What does "number of gates" mean in circuit complexity?
The number of inputs to a gate is an independent restriction or allowance on the circuit. The number of gates in a circuit is simply the number of gates.
Of course you can always measure the two sepa …
5
votes
Accepted
proving $P \subseteq PCP(0,O(log(n))$
As Kaveh points out, any problem in $P$ by definition can be solved in polynomial time by a Turing Machine, so it in effect produces its own proof and checks it, hence $P = PCP[0,0]$ and the inclusion …
3
votes
Accepted
lexicographic depth-first search complexity class
The formal name for a problem where you want to actually produce the solution as the output (not just say yes or no to whether one exists) is a Function Problem if every input has an associated output …
4
votes
Execution time of NP and NP-Complete algorithms
Asymptotic (/Big-Oh/Landau) notation is not special to polynomial time algorithms, or indeed any class of algorithm. It is the standard way of communicating (asymptotic) running times, amongst other r …
6
votes
3SAT analogous problem in P
You might find Greenlaw, Hoover and Ruzzo's "Limits to Parallel Computation: P-Completeness Theory" interesting. It obviously goes a lot further than the limits of this question, but most pertinently …
2
votes
Is Weighted Vertex Cover NP-Complete?
Expanding on Pål GD's hint, you can reduced from the normal, unweighted version of VERTEX COVER.
VERTEX COVER
Input: A graph $G$ and an integer $k$.
Question: Does $G$ have a vertex cover of s …