Questions tagged [applied-theory]
Theoretical results and techniques applied in practical settings.
59 questions
0
votes
0
answers
25
views
Is super-exponential complexity useful in practice?
Exponential time-complexity has a useful application in "practical" CS: NP-problems, NP-complete problems. Knowledge about this obviously helps in everyday programming.
Can you give an ...
9
votes
2
answers
838
views
Usefulness of binary extension field GF(2^n)
The binary extension field, usually denoted as $\textsf{GF}(2^n)$ or $\mathbb{F}_{2^n}$, is a finite field of characteristic 2.
Are there any applications of $\textsf{GF}(2^n)$ (or more broadly, $\...
2
votes
1
answer
110
views
What is the closest theory to "The theory of code refactoring"?
We refactor code lots of times as developers. Metaphorically, our program space is an infinite-dimensional Rubik's cube. Things can be rearranged, preserving the code's action, so a "symmetry ...
1
vote
0
answers
46
views
Is there a known FPRAS for this simple partition function?
I Let $G$ be the set of simple graphs on $n$ nodes. Given a $g \in G$, we denote the number of triangles in $g$ with $n(g)$. Given some positive real-valued parameter $w$, we define the the function $...
1
vote
1
answer
158
views
How to model an inverse "token relationship" in Petri nets?
Suppose I have the following Petri net:
I wonder whether it is possible to model an inverse relationship between $p2$ and $p3$. Basically what I want to achieve is to make either $t1$ or $t2$ ...
29
votes
4
answers
9k
views
Why can't we mimic a dog's ability to smell COVID?
As far as I can tell, we have invented tools and algorithm to:
Detect a wider range of colors at a larger range than humans or any other animals on the planet
Detect sound with wavelengths ...
1
vote
1
answer
37
views
Examples of random deployment in wireless sensors networks
I have been doing some research and have found a lot of papers on the subject of random deployment in wireless sensor networks, but I haven't found a single example of its usage. Has it been used ...
5
votes
1
answer
92
views
Maximize area of light with 4 light sources on a diagram of a room
Given a diagram of a room with obstacles in it (like walls or furniture), find the 4 best places to put omnidirectional light sources in it so the area that is lighted is maximized.
Here is a simple ...
1
vote
2
answers
40
views
Relation/use of irrational or transcedental numbers in computer science?
I'm wodering about the relationship between the theory that studies irrational/transcendental numbers and computer science. For example, I found this paper (but was unable to get the full text)
Pseudo-...
2
votes
0
answers
73
views
Sample applications based on First Order Logic
I often hear about benefits of FOL, but I wonder what are some of its real world applications?
Could someone please provide samples/case studies of applications of FOL that address real world ...
1
vote
1
answer
692
views
Practical applications of the palindromic substring problem?
The longest palindromic substring problem is certainly an interesting intellectual exercise, and seems to be popular in coding interviews in industry. As an interesting puzzle, its popularity for ...
1
vote
1
answer
136
views
Encoding a "not-k-out-of-n" constraint for SAT solvers
I'm finding myself needing to encode a "not-k-out-of-n" constraint in a SAT solver.
The "at-most-k-out-of-n" constraint for SAT solvers is something I can find research about -- this paper by Frisch ...
2
votes
1
answer
156
views
What are some practical problems which require the use of Kadane's algorithm?
I've worked through Kadane's and love its elegance. I am worried though, unless asked specifically about arrays and it's obvious that's what's for dinner, I won't know to use it.
What are some real-...
1
vote
0
answers
81
views
Law as a computer science problem?
For a long time, computer scientists and logicians have noticed that law (statutes, contracts, adjudication, etc), has some similarity with formal logic and programming languages, and have approached ...
2
votes
1
answer
2k
views
Are Petri Nets actually used in the industry
I'm having a hard time finding any prominent applications of Petri nets in the industry. Can you name some, or are Petri nets still just an academic curiosity?
0
votes
1
answer
52
views
Need introductory guide to cellular automata for geographic automata systems
I would like to work on urbanisation and I've read that cellular automata has potential use on model urban sprawl. However I need some kind of introductory to cellular automata in order to tackle an ...
6
votes
1
answer
217
views
Where can I find information on Data Structures used in common software?
As part of a course I am teaching on Data Structures, I want students to research and present the use of Data Structures in popular software/services. However, basic googling shows me that this ...
3
votes
0
answers
3k
views
What are some applications of 2 stack pushdown automata?
What are some real world application for 2 stack pushdown automata, as i can only find pushdown automata applications in the internet
2
votes
1
answer
370
views
Assumptions when selecting an algorithm or data structure [closed]
As I understand it the nature of data access (sequential or random) will determine the optimal algorithm/data structure to use when manipulating data.
What other assumptions need to be checked before ...
14
votes
5
answers
3k
views
Daily Applications of Type Theory
I want to understand type theory but I have to know first how I can apply it. Could there be more non-obvious applications of type theory aside from in type systems in programming? Could there be ...
3
votes
2
answers
2k
views
Is Bresenham's Line Drawing algorithm still used today?
If so, I cannot find any examples of this.
Edit: By "used", I mean are they still used in rendering in games or whatever. I haven't seen it used anywhere except in MS Paint because Wu's algorithm ...
2
votes
1
answer
55
views
Have block edit distances been computed on large code bases?
There is an enormous mass of source code in this world, and I think it's safe to say that most of this source code was once copied from elsewhere, then modified. There is a decent chance of the (small,...
1
vote
5
answers
674
views
Google's Deep Dreamer
I was just wondering on a more technical side, if anyone could explain what Google does to create these amazing images from it's deep dream system.
Could anyone explain to me in a step by step way, ...
0
votes
0
answers
106
views
Rules language / DSL expressivity measure
Languages to express domain rules are quite diverse from very simple and inexpressive to Turing-complete programming languages. If we consider developing some DSL (domain-specific language), is there ...
9
votes
3
answers
3k
views
Real world applications for Steiner Tree Problem?
Are there real-world applications of the Steiner Tree Problem (STP)?
I understand that VSLI chip design is a good application of the STP. Are there any other examples of real world problems that ...
12
votes
1
answer
1k
views
What is the use of finding minimum number of straight lines to cover a set of points?
There is that popular problem [1] [2] in the computer science that is finding minimum number of straight lines that covers a given set of points in 2D.
Even though I have scanned many papers, none of ...
64
votes
4
answers
21k
views
Why are Red-Black trees so popular?
It seems that everywhere I look, data structures are being implemented using red-black trees (std::set in C++, SortedDictionary ...
6
votes
1
answer
892
views
What are some interesting applications of the skyline problem?
You are given a set of $n$ rectangles in no particular order. They have varying widths and heights, but their bottom edges are collinear, so that they look like buildings on a skyline. For each ...
5
votes
2
answers
839
views
Application of set theory subjects as ordinals, forcing, generic filters in software engineering
I am going to teach a course in set theory for software engineering students.
I am going to talk in this course about: ordinal numbers, partial orders, well ordering, generic filters and maybe some ...
-3
votes
2
answers
1k
views
How long would it take a computer with twice the processing power to solve a polynomial time problem?
Say I have some problem of $O\left(n^k\right)$ complexity.
If I were to solve the problem on a computer $x$, it would take time $t$.
Now I have a new computer $x'$, which has double the computing ...
2
votes
2
answers
805
views
Are device drivers state machines?
I know that device drivers are attached to device controllers, which have their own registers and some local buffer storage. I'm wondering if I can think of device drivers as little state machines -- ...
8
votes
5
answers
4k
views
What are the practical uses of ontologies?
I have read many papers and books about ontologies and I am trying to figure out that how they are used in a real project?
For example how the ontology for a soccer player robot can be defined and ...
2
votes
0
answers
200
views
Practical implications of strongly polynomial time algorithm for linear programming
Why do people care about whether a strongly polynomial time algorithm for linear programming exists or not? Does this have any practical improvement?
30
votes
8
answers
8k
views
Is it a problem to be a programmer with no knowledge about computational complexity?
I've been assigned an exercise in my university. I took it home and tried to program an algorithm to solve it, it was something related to graphs, finding connected components, I guess.
Then I made ...
2
votes
1
answer
109
views
Prefix computation used for lexical analysis?
I'm preparing a presentation on prefix computation (aka scan, the generalization of prefix summation to any associative operator) for a class I'm taking on parallel algorithms.
Several lists of ...
7
votes
1
answer
395
views
Travelling with the most efficient path
A friend of mine actually asked me a very interesting computer science related question, and I have been stuck on it for a long time.
The problem is: you have to travel $1000$ km. The only gas ...
1
vote
1
answer
601
views
Are there some real-world optimization problems with very cheap objective functions?
Many real world optimization tasks (especially black box optimization) have objective functions, which are quite expensive to evaluate. For example to find the optimal shape of an airplane wing, a ...
10
votes
2
answers
8k
views
Is Dijkstras algorithm used in modern route-finding systems?
Is Dijkstra's algorithm used in modern route-finding systems such as Google maps or the satnav in your car? If not, then what is?
8
votes
1
answer
178
views
Applications of model counting
I have been reading about model counting, a.k.a. the #SAT problem. What are the practical applications, if any, of this problem, and how exactly do they reduce to it? I have been unable to find any, ...
2
votes
1
answer
2k
views
A real-world example for a kind of real-time applications
I submitted a paper regarding hard real-time systems to an engineering journal. But the referees generally agreed my task model is too limited. My task model is a frame-based real-time application ...
7
votes
3
answers
7k
views
When are binary trees better than hashtables in real world applications?
I am currently bushing up on my data structures and basic algorithms, part of that is the Binary Tree.
I do understand the algorithms, and how to implement a binary search tree and such. I do so how ...
3
votes
0
answers
4k
views
Applications of min spanning trees
What are the significant applications of minimum spanning trees?
After doing some research online and in several textbooks, I have found three real-world applications:
Building a connected network. ...
3
votes
2
answers
554
views
Choosing error rates for probabilistic algorithms
Probabilistic algorithms often have a parameter that allows one to tune the error rate, typically by running the algorithm repeatedly. This often gives an error rate of something like $2^{-k}$ for $k$ ...
2
votes
1
answer
990
views
What are practical applications of AI Planning? [closed]
note: any tips toward making this more constructive will be highly appreciated.
I've dealt with ai-related problems, from searching algorithms, to computer vision, to machine learning. However none ...
8
votes
3
answers
1k
views
Gödels (first) incompleteness Theorem and the Halting Problem - How limiting is it?
When I first heard of these things I was very fascinated as I thought it sets really a limit to mathematics and science in general. But how practically relevant are these things?
For the Halting ...
1
vote
1
answer
87
views
Logic applications and security protocols references request
I'm a student of logic and I'm interested in looking at logic applications, of which I am told there are many, in computer science and allied areas. I've seen some applications. More specifically, I ...
29
votes
10
answers
13k
views
Why is non-determinism a useful concept?
An automaton is an abstract model of a digital computer. Digital computers are completely deterministic; their state at any time is uniquely predictable from the input and the initial state.
When we ...
1
vote
2
answers
681
views
Applications for boolean logic operations in zero-one integer linear programming (ILP) [closed]
It is nice to know that every boolean formula can be expressed by zero-one
integer programming by this answered question. But are there any applications?
To be more precise: Are there papers which ...
5
votes
2
answers
721
views
The Absolute Minimum Every Software Developer Absolutely, Positively Must Know about Computer Science (No Excuses!) [closed]
Yes, I borrowed the title form a famous joelonsoftware post for my question because I didn't exactly know how to ask this.
I'm a professional programmer for a few years now and although I followed ...
14
votes
1
answer
664
views
Universal Hashing in Practice
A family $H$ of hash functions $h: U \rightarrow \{0,\ldots,M-1\}$ is universal if
$$\forall x,y \in U, x \neq y \Rightarrow \Pr_{h \in H}[h(x) = h(y)] \leq \frac{1}{M}$$
You can find more about ...