You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- $\begingroup$ "An oracle for a problem P is a (hypothetical) subroutine that can solve instances of P in constant time." Must an oracle take only constant time? $\endgroup$Tim– Tim2012-10-11 04:17:45 +00:00Commented Oct 11, 2012 at 4:17
- $\begingroup$ @Tim Of course there are books, I listed a few in the comments of another answer $\endgroup$uli– uli2012-10-21 08:33:27 +00:00Commented Oct 21, 2012 at 8:33
- $\begingroup$ @Tim Regarding the oracle: If you have found/conceived a reduction $A\le_T B$ between two problems $A$ and $B$ you have reduced the problem of finding an efficient algorithm for $A$ to finding an efficient algorithm for $B$. Or in other words the reduction tells you that in order to solve $A$ you can use $B$. It is like using a subroutine for $B$ in an algorithm for $A$. However the problems $A$ and $B$ are often problems where we don’t know efficient solutions. And in case of Turing-reducibility we even use it in cases where the problems involved aren’t decidable at all. $\endgroup$uli– uli2012-10-21 09:58:19 +00:00Commented Oct 21, 2012 at 9:58
- $\begingroup$ @Tim Thus $B$ is an unknown subroutine. It has become a custom in complexity theory to call the hypothetical algorithm for $A$ derived from the reduction as an algorithm with oracle $B$. Calling the unknown subroutine for $B$ an oracle just expresses that we can’t hope to find an efficient algorithm for $B$ just as we can’t hope to obtain an oracle for $B$. This choice is somewhat unfortunate, as it connotes a magical ability. The cost for the oracle should be $|x|$ as a subroutine has at least to read the input $x$. $\endgroup$uli– uli2012-10-21 09:59:11 +00:00Commented Oct 21, 2012 at 9:59
- 3$\begingroup$ An excellent answer all around; the only thing I would add (coming at it now via another question) is that the 'optimization direction' is a needless bit of complexity and for concreteness we can always presume that the objective function $Z$ is to be maximized; if the intention is to minimize, then we can just define a new objective function $Z'=-Z$ and rewrite all the minimization of $Z$ as maximization of $Z'$. $\endgroup$Steven Stadnicki– Steven Stadnicki2013-08-21 15:28:41 +00:00Commented Aug 21, 2013 at 15:28
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. complexity-theory), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you