Problem Detail: I have a set $S$ and a set $P = {P_{1},…,P_{n}}$ with $bigcup P_{i} = S$. I want to find all the inclusion-minimal subsets of $P$ that are covers of $S$. What is the best algorithm for enumerating all Read More …
Category: Uncategorized
[Solved]: Which hazards are solved by instruction reordering?
Problem Detail: I am not clear on whether it’s data and control hazards, or control hazards only. Also, the “solved” word confuses me – technically, instruction reordering is used to solve dependences and thus prevent hazards from happening in the first Read More …
[Solved]: k-armed bandit – index policies vs. Q-learning
Problem Detail: I am interested in the stateless k-armed bandit problem, where an agent repeatedly chooses one of k independent arms, each with a different distribution of rewards, and tries to maximize its total reward. I read many papers about this Read More …
[Solved]: Formal language without grammar
Problem Detail: Definitions: Alphabet $Σ$: finite, non-empty set Language: subset of $Σ^*$ Grammar: Unrestricted grammar (Chomsky Type 0) Language of a grammar: all words that can be produced by applying $P$ multiple times, starting from $S$ Grammars are finite, therefore there Read More …
[Solved]: Pumping lemma for a finite language
Problem Detail: Possible Duplicate: Pumping lemma for simple finite regular languages The pumping lemma says that for any regular language $L$, there exists a constant $p$ such that any word $w$ in $L$ with length at least $p$ can be Read More …
[Solved]: Equivalence of GFp and Gp in LTL
Problem Detail: In linear time logic, is $mathbf{GF}p$ equivalent to $ mathbf{G}p$ ? $mathbf{GF}p$ means that it is always the case that p is true eventually. Let $mathbf{G} p$ be defined as: $forall j ge0, p$ holds in the suffix $q_j, Read More …
[Solved]: Polynomially related lengths under two different encodings
Problem Detail: I’m reading through “Computers and Intractability: A guide to the Theory of NP-Completeness” by Michael R. Garey and David S. Johnson, p. 20 and I came across this concept of a function that is polynomially related to input lengths Read More …
[Solved]: What do I need to know about algorithms?
Problem Detail: Drawing from Are algorithms (and efficiency in general) getting less important?, I get that algorithms are more important than ever, but I need to know anything about them other than their complexities? I would expect to use algorithms out Read More …
[Solved]: How CPU know which process generated an interrupt?
Problem Detail: When a computer OS supports multi-program, it needs to have a scheduling algorithm to handle which process will be run by the cpu. If a process is in state ‘blocked’ waiting for IO, the scheduling causes another process to Read More …
[Solved]: Why is this language over {a,b,c} regular?
Problem Detail: The language of all words over the alphabet {a,b,c} such that the number of as in the word minus the number of cs in the word is divisible by three. How is this language regular? Lecturer notes says that Read More …