« first day (4 days earlier)      last day (4452 days later) » 

4:12 PM
0
Q: Implementing the GSAT algorithm - How to select which literal to flip?

Daniel A.The GSAT algorithm is, for the most part, straight forward: You get a formula in conjunctive normal form and flip the literals of the clauses until you find a solution that satisfies the formula or you reach the max_tries/max_flips limit and find no solution. I'm implementing the following algor...

 
 
1 hour later…
5:36 PM
0
Q: Identifying events related to dates in a paragraph

check123Is there an algorithmic approach to identify that dates given in a paragraph correlate to particular events (phrases) in the paragraph? Example, consider the following paragraph: In June 1970, the great leader took the oath. But it was only after May 1972, post the death of the Minister of S...

 
 
3 hours later…
8:52 PM
2
Q: Easy reduction from 3SAT to Hamiltonian path problem

KavehThere is a reduction in Sipser's book "Introduction to the theory of computation" on page 286 from 3SAT to Hamiltonian path problem. Is there a simpler reduction? By simpler I mean a reduction that would be easier to understand (for students). Is there a reduction that uses linear numb...

 
9:20 PM
1
Q: Stability for couples in the Stable Matching Problem

phwdIn the Stable Matching Problem, it states that there can exist cases where the $m$ list of men can be content with their decisions, yet the list of $f$ cannot when the algorithm is run with men's proposals. From what I read, an unstable match occurs when $m$ and $f$ prefer each other to their cu...

 
9:47 PM
2
Q: Are two-level schedulers only useful to manage swapping?

GillesTwo-level scheduling is useful when a system is running more processes than fit in RAM: a lower-level scheduler switches between resident processes, and a higher-level scheduler swaps groups of processes in and out. I find no other mention of two-level scheduling in Andrew Tanenbaum's book. Exer...

1
Q: Round-robin scheduling: allow listing a process multiple times?

GillesIn a round-robin scheduler, adding a process multiple times to the process list is a cheap way to give it higher priority. I wonder how practical an approach this might be. What benefit does it have over other techniques such as giving the process a longer time slice (benefit: less switching tim...

 
 
1 hour later…
11:08 PM
it's not so easy asking a question outside my comfort zone and not corresponding to an immediate need
pity I don't have any immediate needs for work (most of them tend to be in the domain of Cryptography anyway, it seems)
I don't know if I should be pushing security/crypto questions on CS, given that they already have a home
 
1
Q: Why store self and parent links (. and ..) in a directory entry?

GillesConsider an embedded filesystem that does little more than store files in a hierarchical directory structure. This filesystem does not allow any kind of hard link or soft link, so every file has a unique name. Is there any benefit to storing a link to the directory itself and to its parent in the...

 

« first day (4 days earlier)      last day (4452 days later) »