Problem Detail: What does the capital R superscript notation mean in regular languages? I am working on a homework assignment and don’t recall my professor mentioning what the what the R superscript means. For example in this syntax: $L = {ww^Rmid Read More …
Author: ignougroup
[Solved]: 3/2 – Approximation probabilistic algorithm for MAX-3-COLOR
Problem Detail: I have a textbook question here regarding Max-3-Coloring and need some assistance with it. I have searched for any type of information regarding it but haven’t found anything substantial. Here is the question: In MAX-3-COLOR you are given a Read More …
[Solved]: Understanding an example of coin toss expectation maximization
Problem Detail: I’ve been trying to get my head around Expectation maximization algorithms, and I thought I’d start simple. I found this 3-coin example here: http://cs.dartmouth.edu/~cs104/CS104_11.04.22.pdf I understand the calculation of all of the probabilities but I don’t understand how the Read More …
[Solved]: How can I fill bookcases with shelves of books using the least number of bookcases?
Problem Detail: Sorry for layman’s term question, my background in computer science is weak. What I have is a list of shelves with books of varying height. Each shelf stores a value that describes how many shelves (of that height) can Read More …
[Solved]: Concrete understanding of difference between PP and BPP definitions
Problem Detail: I am confused about how PP and BPP are defined. Let us assume $chi$ is the characteristic function for a language $mathcal{L}$. M be the probabilistic Turing Machine. Are the following definitions correct: $BPP ={mathcal{L} :Pr[chi(x) ne M(x)] geq Read More …
[Solved]: Why does this pumping lemma application “prove” that 0*1* is not regular?
Problem Detail: Here is a proof that $0^*1^*$ is not regular, even though it is regular. I’m having a hard time figuring out what is wrong with the proof. Assume $0^*1^*$ is regular. Let $p$ be the pumping length as defined Read More …
[Solved]: What is the relation between First Order Logic and First Order Theory?
Problem Detail: I thought that any FOT is a subset of FOL, but that does not seem to be the case, because FOL is complete (every formula is either valid or invalid), while some FOT (like linear integer arithmetic) is not Read More …
[Solved]: A heuristic for finding a maximum disjoint set
Problem Detail: Background I need to find a largest set of non-overlapping axis-parallel squares, out of a given collection of candidate squares. This problem is NP-complete. Many papers suggest approximation algorithms (see Maximum Disjoint Set in Wikipedia), but I need an Read More …
[Solved]: How does one formulate a backtracking algorithm
Problem Detail: I am new to learning algorithms. I was reading backtracking algorithm for generating all strings for n bits. If I dry run the program I know the program is giving right result. But I didn’t understood the logic can Read More …
[Solved]: Why is a deterministic Turing machine a special case of a probabilistic Turing machine?
Problem Detail: I have no formal training in computer science as I have not yet taken any such classes, so perhaps this question appears naive. I was reading about BPP and it was claimed that a deterministic Turing machine is a Read More …