instruction stringlengths 35 29.1k |
|---|
Well, my question is simple, I would like to compute the complexity time of an algorithm related to image processing.
I simplified the algorithm ... so that we focus only on the problematic part.
Algorithm
You have an image/matrix of $N =n \times m$ size and a block of size $b \times b$ (block is just a window or rec... |
Old algorithm textbooks often covered algorithms that did well on tape drives, since tape drives used to be a common storage type on almost all computers. Since memory on modern CPUs with data prefetching is starting to more and more resemble a tape drive, I was wondering if there used to be some "canonical" books/pape... |
There's a line from (x1,y1) to (x2,y2) in a grid of squares of unit length. Write a program to
compute the number of squares which are intersected by the line internally, i.e squares which are
only touched by the line should not be counted.
Notes
x1,y1,x2,y2 are all integers.
0 <= x1,y1,x2,y2 <= 10000
Write the prog... |
I have a graph of a large number of targets. Each target depends on a list of other targets. The graph is very large and filled with cycles of dependencies.
My goal is to find the smallest subset of targets that, if I remove all of their dependencies, breaks all of the cycles, leaving me with a buildable dependency tre... |
Assignment question
For algorithm APPROX-SUBSET-SUM, prove by induction on $i$ that for every element $y \in P_i$ that is at most the target sum $T$, there is a $z \in L_i$ such that
$$\frac{y}{(1+\frac{\epsilon}{2n})^i} \leq z \leq y$$
Here $\epsilon$ is the relative error bound, $P_i$ is the set of all subset sums of... |
$L_4 = \{ w | w \text{ does not contain symbol a immediately followed by symbol b} \} $
where: $ \Sigma = \{ a, b, c \} $
So far I believe I have a defined regular grammar for this language, however I am having trouble coming up with an equivalent regular expression.
$<Language\_4> ::= a <AOrC> $
$<Language\_4> ::= b <... |
I'm reading The Art of Multiprocessor Programming and am currently trying to understand Chapter 4 — The Foundations of Shared Memory.
In section 4.2 it is shown how to build a multi-reader, single-writer (MRSW) safe Boolean register from a single-reader, single-writer (SRSW) safe Boolean register. So, the only differen... |
Suppose I have an Image $I$ of $n\times m$ (or a matrix), I would like to compute its histograms in a loop.
Pseudocode:
for i=1:s1:n
h = hist(I(i:i+s1,m),bins)
end
$I$ is a matrix (or an image of data). When we say, $I(i:i+s1,m)$ we take the block of the matrix that starts in row from $i$ to $i+s1$ and have... |
I didn't understand some things about $ P/POLY$ class, and I will be thankful if you could help me.
as I learned in class,
a turing machine M accepts language L with advice $ {a_n} $ if
$\qquad\displaystyle M(x, a_{|x|} ) = 1 \iff x \in L$.
Does it mean that M with the advice decides L (halts on every input)?
or reco... |
On the Sorting Algorithms website, the following claim is made:
The ideal sorting algorithm would have the following properties:
Stable: Equal keys aren't reordered.
Operates in place, requiring $O(1)$ extra space.
Worst-case $O(n\cdot\lg(n))$ key comparisons.
Worst-case $O(n)$ swaps.
Adaptive: Speeds up to $O(n)$ wh... |
I'm given a graph $G = (V, E)$ with $|V| = N$ and $|E| = m \ge N^{1+c}$ edges for some constant $c >0$. $G$ is called a $c$-dense graph.
Karloff [1, p.6] has given a map-reduce algorithm called "Finding an MST of a Dense Graph Using Map-Reduce" which finds an MST of $G$ by randomly partitioning the vertices int... |
Given a random graph on $n$ vertices where each edge is included with probability $1/2$. Lets call it $G=(n,1/2)$. How can we show that the probability that this graph has a stable set of size at least $2\lceil \log n\rceil$ is sub-constant?
|
I've read and been told way too many times that functional algorithms and data structures have an obligatory O(log(N)) slowdown in respect to their procedural (for-loop/array-based) counterparts. But, after thinking about it, I don't see how that could be true. Mind this for loop
int arbitrary_sum(int* arr, int size, i... |
Right now, I'm working on a computer verified proof in Agda, showing that the Parikh images of regular languages are semi-linear (i.e. a limited form of Parikh's Theorem).
Right now, I'm trying to construct the equivalent of *-closure for a linear set. (Once I have this, it's easy to find for semi-linear sets).
More fo... |
I'm working on this project for an oil and gas company. One of the main features is a visualization of their pipe network.
I'm trying to create a tree of all possible paths. The only limit I have to avoid circular loops and that
the six valves just below the A,B,C,H,G,F,E,F tanks are one way only, e.g. the oil can't ... |
A heap sorted by levels is a heap which:
Every parent is smaller than its children.
The nodes in each level are sorted from the smallest to the greatest.
I need to describe an algorithm with $O(n)$ runtime that prints the values in the heap in sorted order.
I only manage to do it in $O(n \log(\log n))$ using another... |
I have been analyzing an algorithm for several hours in order to find out why it is expressed as $O(n)$ (I saw this solution in a PowerPoint presentation which refers to it as a linear algorithm). I see a while loop inside a for loop.
The for loop executes $n$ times.
The while loop executes "at most" $n$ times $(0, 1... |
Random walks are well known from probability theory. I have the idea for hash walks. If h(x) is a hash function and a,b,c,d,e,f is a boolean sequence then the sort of hash walk I am talking about is h(x+a), h(h(x+a)+b), h(h(h(x+a)+b)+c),....
At each step in the hash walk there are only two possible next states. If t... |
The RPN expressions
a b + c *
and
f d e + *
are algebraically equivalent, though the names of the variables are different and the order of evaluation is slightly different. The expressions
a b * c +
a b * c *
though they have the same length and number of variables as the first expression, are not algebraically equ... |
I'm working through Elements of Programming Interviews as practice for finding a job. I've spent a ridiculous amount of time on Problem 18.7.
In the gas-up problem, $n$ cities are arranged on a circular road. You
need to visit all of the $n$ cities and come back to the starting
city. A certain amount of gas is ava... |
I stumbled across this paper from Ball et al.
In their paper they assign specific values to the edges of a graph. When the graph is traversed, or lets call it executed (since they talk about control flow graphs of programs), these values are summed up. Afterwards they are able to reconstruct the executed path from the ... |
In the paper
Quick Detection of Brain Tumors and Edemas: A Bounding Box Method
Using Symmetry, Saha et al
the authors claim that the running time of the algorithm (Matlab implementation) is $O(h)$. I don't understand how they arrive at this.
The algorithm works as follows:
The algorithm does a vertical sweep of a who... |
Youtube recently added a feature called autoplay, where each clip is assigned a (presumably related) clip that follows it. This, in effect, defines a directed graph on the set of youtube clips, where each vertex has outdegree 1. The user starts at a vertex of his choice and takes a walk along this graph.
This got me th... |
I'm trying to solve an interesting problem. Imagine a square surface, onto which we spray randomly $p$ points. We also (randomly) place $c$ circle centres. I'm trying to find an algorithm that will allow me to find the radii for the circles that cover as many points as possible, subject to the constraints that:
the ra... |
I am a new learner to Background Subtraction (Background Modeling) and I am reading a few previous works on how it is performed. Starting with Wikipedia (by searching "Background Subtraction"), I could understand the first few simple methods, until the part "Running Gaussian average". I simply have no idea why a Gaussi... |
From my readings about Operating Systems (reading the basic material on Wikipedia, tech sites, etc) I've learned that the Operating System is a program that allows programs and applications to interact with the hardware in an efficient and safe way.
However I'm confused about how the Operating System oversees the compu... |
Suppose that the input graph $G$ does not have any negative cycles but however it is permitted to contain edges having negative weight. Let $s$ be the source vertex.
How do I prove that for every vertex $v$ in $G$, there is a shortest $s-v$ path with $<= n - 1$ edges?
Where $n$ is the number of vertices in $G$.
|
prove that in algorithm insertionsort, for successively considered element a[i] there is equal probablity that element will be inserted in one of i positions:
a[1] <= a[2] <= ... <= a[i-1]
To my eye it is obvious and I can't prove it. What is your opinion ?
|
Lets say $G$ is complete undirected graph with a set of edges coloured either black or red. The problem is to find an algorithm answering if it is possible to remove a subset of nodes from $G$ in a way such that all black edges are gone, but for any two nodes in the set of removed nodes there was no red edge between th... |
I have a file containing a subset of possible strings from a context free language. I am looking for a mechanism to induce the grammar from this information. Is that possible?
|
Given a binary heap $H$, indexed in $[1..n]$, whose elements are integers, is there a way to quickly find its median in $O(\log n)$-time?
|
I have to compute the space complexity of this function:
double foo(int n){
int i;
double sum;
if(n==0) return 1.0;
else
for(i=0;i<n;i++)
sum+= foo(i);
return sum
}
What I have done:
When function is called, the activation record is created on the call stack. For $foo(... |
I have recently stumbled upon the following interesting article which claims to efficiently compress random data sets by always more than 50%, regardless of the type and format of the data.
Basically it uses prime numbers to uniquely construct a representation of 4-byte data chunks which are easy to decompress given th... |
In a set associative cache (in this case 4-way) what happens when you try to read an entry with e.g. the tag 0x3B and this tag appears two times within the same set. Given the first is invalid, would you search on for the second (which is valid) or simply get a miss? And why do would there be a duplicate line at all?
|
Is there any way to prove that an admissible heuristic may not be consistent?
Most proof I came across are through examples .Is there a generalized proof?
|
The following are the Pages-96 and Page-97 of the book Schaum's outline series of Computer Graphics.
The algorithm considers several things:
(1) Whether the polygon is Convex or Concave.
(2) Whether the polygon is positively or negatively oriented.
(3) And, finally, testing polygon edges against the edges of the clippi... |
i have to write an exam in a course given by one of the contributing professors of this paper: http://www-db.in.tum.de/~leis/papers/ART.pdf
Of course this could also be a possible topic in the exam. Now i understand the basic advantages and structure of this tree, but i just cannot fathom some details. Maybe someone he... |
I had an algorithm with time-complexity of $O(h\times w)$, knowing $h$ is the height and $w$ is the width of an image being processed (or a simple matrix of size $h\times w$).
I managed to reduce the range that the algorithm process. So rather than dealing with $h\times w$ elements, it is dealing with $n\times m$ eleme... |
Given a set of (propositional) formulae $\Phi$, two formulae $\phi$ and $\xi$, determine whether there exists $\Psi\subseteq \Phi$ such that $\Psi\models \phi$ and $\Psi\not\models \xi$.
Question: what is the (theoretical) complexity of this problem? Is it in DP?
|
I am a M.Sc. student in computer science, working on information networks and recommender systems. This days when I went through the top-tier conferences papers in the field I have seen most of them use solely simple machine learning tools such as generalized linear model, Expectation Maximization, Maximum Likelihood, ... |
I read that overflow is more frequent when we work with normalised mantissas. Why is this? Is it because when we adopt a normalised representation, our range is smaller than in a unnormalised representation?
Source: I read this in: Hwang, K. Computer arithmetic. John Wiley & sons, 1979. Chapter 10 "Advanced topics on ... |
This question refers to this paper: Using Free Energies to Represent Q-values in a Multiagent Reinforcement Learning Task
In section 2.1, equations (5) and (6), I am wondering which Q values are being used to adjust the weights of the restricted boltzmann machine:
Option 1: the Q values generated by the original MDP
Op... |
Could a Universal Turing machine be set up so that it is able to 'reprogram' itself to 'behave' like any specific Turing machine without using some 'outside' source of info to cause it to do this?
|
What am I doing?
I have been digging more and more and googling more than often finding very small amount of results
I am trying to make a RAM testing program that can do memory testing with the ability to detect most RAM problems, I am making this app because I want to add networking functionality to it so all of the ... |
Let $G=(N,E)$ be a undirected graph of nodes $N$ and edges $E$. Each node $n \in N$ has a weight $w(n)$. The weight of a graph is defined as the sum of the weights of its nodes, i.e., by $w(G) = \sum_{n \in N}w(n)$. The connectivity of the graph is defined to be $c(G) = \#E_G / (\#N_G \cdot (\#N_G - 1)/2)$ -- this me... |
Suppose I have an algorithm $F$ that, given a numeric input $x$, generates an infinite sequence of numbers that converges to a $f(x)$, where $f$ is some continuous real-valued function.
Similarly, I have an algorithm $G$ that, given a numeric input $y$, generates an infinite sequence of numbers that converges to $g(y)$... |
I just learned about the Inverted Page Table and immediately thought about the chaining model used.
If two processes use the same virtual address, resolving the address will have to include following the chaining information in the table.
If all memory addresses were used uniformly, that should not be a problem, since... |
I need to use a data structure, implementable in C++, that can do basic operations, such as lookup, insertion and deletion, in constant time. I, however, also need to be able to find the maximum value in constant time.
This data structure should probably be sorted to find the maximum values and I have looked into red-b... |
I have a bunch of boolean conditions, let's call them A, B, C, D, ....
In my code, I need to use these conditions to distinguish between several different possible scenarios. For example, I could have something like this (in pseudo code):
if ((A and B) or not (C or D)) then process case 1
if (A and (not B) and (C or D)... |
Obviously, if you have 2 GPUs, it is double the hardware, and thus it should be double the power of a single GPU (assuming all GPUs are the same, of course). So why is this not the case? I searched this question on Google and things about optimization and things came up, but I still don't understand.
|
I have the following question for the travelling salesman problem:
The TSP algorithm is to find a complete hamilton cycle with minimum cost in a weighted graph G. Instead of the traingle inequality, the weight function satisfies the following inequality:
cost(u,w) < cost(u,v) + 2 x cost(v,w)
Find the approximation rat... |
Suppose there's an entity which produces files. User A has one of those files and decides to send it to user B.
How can user B validate the authenticity of the file without communicating with the producer? Is it even possible?
|
From an initial set $S$ of 2D points, how to efficiently compute a minimum(-size) dominating subset $M$ ?
$M$ is a dominating subset of $S$ if for any $(x,y)$ in $S$ there is at least one point (a,b) in M such that $x \le a$ and $y \le b$
Another related question: is any minimal set also minimum?
It is trivial to find ... |
In the context of rule-based systems, is forward chaining more efficient than backward chaining?
I know that forward chaining is used when we know some facts and from there we want to conclude some new facts. For backward chaining we use it when we want to assert a particular hypothesis. Is forward chaining faster or m... |
We have $10^5$ fractions: $\frac{p}{2^q}$ such that $0 \leq p,q \leq 10$.
Find (fast) algorithm which sorts them.
I ask you to look at my proposition and tell me your ideas. $\frac{p}{q}$ is represented as the ordered pair $(p, q)$.
On input we have an array a.
My idea:
for i = 1 to n
do t[i] = a[i].first * 2^(10... |
This is the problem:
Merge two sorted series of numbers. Their lengths are $n$ and $m$, respectively, but $n \gg m$. Your algoritm should take $O(m \log(n/m))$
comparisons.
I have come up with this algorithm:
1. Choose n/m "special" elements among n elements.
2. for i = 1 to m do
2.1 Using binary search find ... |
Assume I have a polygon chain implementation which is backed by a key-value store which stores the position of a point inside the chain as key and the point itself as value. So a polygon chain of the points $p_1\rightarrow p_2\rightarrow p_3$ is stored as $\{0\Rightarrow p_1,1\Rightarrow p_2,2\Rightarrow p_3\}$. The ke... |
A question in my algorithms text-book requires that we,
Describe an efficient $(1 - \frac{1}{k})$ -approximation algorithm for this
problem.
It is my understanding that $(1 - \frac{1}{k})$ being $p(n)$ is the approximation ratio and that an approximate solution differs from an optimal solution by a factor of $p(n)$... |
Is there any algorithm that finds the common edges and vertices between two graphs? Its not a common subgraph problem though, the edges which are common between the two graphs may not be connected to each other, may be far apart. How to find all the common edges in the graph? Like finding the common subgraphs between t... |
I am looking for the minimal size of a context-free grammar which defines the finite language $$L_n=\{a^k\mid 1\le k\le n\}.$$
The size of a grammar is defined as the total length of all right-hand sides of the rules.
For example a grammar with
$$S\to A_1A_1\\A_1\to A_2A_2\\A_2\to A_3A_3\\A_3\to A_4A_4\\A_4\to aa$$
has... |
I know that sometimes we can use absolute values into the objective functions or constraints. Is it always possible to use them, anywhere ?
Example of use of absolute values:
Minimize |a+b+c| + |a-c| s.t.
|a| + b > 3
| |a| - |b| | <= 5
| |b| - 3 | = 0
|
I am a beginner in the topic of algorithms. I have a query about Greedy Algorithms.
From what I understand, if there is a function and we are supposed to find its maxima/minima, if we find the local maxima/minima, we become 'greedy' and declare that as the global maxima/minima.
I suppose that is wrong?
|
Is there an example of a particular ruleset for a Markov algorithm that is Turing-complete? If so, what is the simplest example of such a ruleset?
|
Suppose I'm doing a large number of pseudo-random but deterministic experiments, where each experiment requires generating several random numbers.
I'm approaching this by having each experiment use a random number generator seeded with a random-looking seed - e.g. hash of the index of the experiment. This is especially... |
In a simple architecture(not considering parallel architecture) how exactly this can be performed in a single clock cycle:
P:R1 <- R2, R2 <-R1
where R1 and R2 are registers and P is a control variable.
I do not exactly understand when does this microoperation gets completed on the rising edge of the beginning of the cy... |
I'm looking for research that has been done towards finding types of computations that take the same exact amount of time to run, regardless the amount of computing power one has.
I've been thinking about also computations that might require external factors - for example being able to hash tomorrow's newspaper is a t... |
I want use DFA to describe a sequence of movements in a 2D-space (language will be the path accepted by automaton in a particular case).
That is a typical modeling problem: how can I encode a sequence of 2D movements in a DFA?
Infact, walking through DFA or NFA seems a process analogous to walk through point of a maps... |
My question is on data rate and baud rate.
data rate = baud rate * n
The question is, can you keep on increasing the data rate by increasing baud rate or number of bits.
I believe it can be increased by increasing the baud rate but what about the latter part?
|
Thanks to anon for contributing this wording:
Every permutation $\pi:\{1,\cdots,n\}\to\{1,\cdots,n\}$ induces an $n\times n$ array $A(\pi)$ of the absolute differences, whose $ij$ entry is $|\pi(i)-\pi(j)|$. I want an algorithm which takes as input a (possibly only-partially-filled in) $n\times n$ array $D$, and output... |
There is popular problem:
Given that integers are read from a data stream, find the median of
elements read so far in an efficient way.
One of possible solutions:
Use max-heap for left heap (i.e. for elts lower than median) and min-heap for right heap (i.e. for elts higher than median). While receiving each new int... |
Given a matrix $\mathsf{a}$ of size $K\times N$, what is the best complexity of finding the minimum value?
Here is a pseudo code:
function find_min(a)
imin, jmin = 1, 1
for k = 1 to K
for n = 1 to N
if a[k, n] < a[imin, jmin]
imin = k
jmin = n
return i... |
I am presented with a comparison network. How can I determine if the comparison network is a sorting network? In the image below there is an example of a selection sort and insertion sort network. The intent is to have a comparison network and sort numeric values. If I test 2^n values in this case 2^8. This is a lot of... |
I was going through the fundamentals of tree structure and the definition for ancestor is as follows:
A node u is an ancestor of v if there is a path from u to v.
Consider the node 11. Is node 2 (not the root, the other one on the left) an ancestor of node 11? It is strictly not a grandparent of 11, however, there d... |
You want to visit n cities: $0 → 1 → 2 → · · · → n$.
For traveling between city $i$ and $i + 1$ $(0 ≤ i < n) $ you need to choose between two modes of transportation: train or plane. You are starting at the train station of city $0$ and want to end up at the airport of city $n$.
The cost of transferring between the t... |
My professor have asked me strange question , about converting from Context free grammar to chomsky normal form , Can we remove unit productions first from CFG if possible , before removing null productions , does it effect the Chomsky normal form ?
|
Levenshtein-Distance edit distance between lists
is a well studied problem.
But I can't find much on possible improvements if
it is known that no element does occurs more than once in each list.
Let's also assume that the elements are comparable/sortable
(but the lists to compare are not sorted to begin with).
In ... |
I've recently heard an interesting analogy which states that Turing's proof of the undecidability of the halting problem is very similar to Russell's barber paradox.
So I got to wonder: mathematicians did eventually manage to make set theory consistent by transitioning from Cantor's naive formulation of the field to a ... |
I am aware that deciding the existence of decomposition of a cubic graph into edge-disjoint claws is polynomial time solvable. Since a cubic graph has a decomposition into edge-disjoint claws if and only if it is bipartite.
What is the complexity of deciding the existence of decomposition of a cubic graph into vertex ... |
What I am doing:
I've been reading there about front-side busses (FSB) and their cycles per second (MHz) vs. bandwidth (Millions of Transactions per second or MT/s).
What I've understood:
FSB's MHz is the actual speed it does per cycle, however, the speed per second depends on how many cycles it does per second
What I ... |
I saw in an answer to this post that it is possible to construct 3-sat clauses with extra variables such that the number of positive and negative literals for each variable are equal. Does anyone know of a construction for 2-sat instances to accomplish this or know it to be impossible? I have been trying, but all I h... |
I’m a sucker for mathematical elegance and rigour, and now am looking for such literature on algorithms and algorithm analysis. Now, it doesn’t matter much to me what algorithms are covered, but very much how they are presented and treated.¹ I most value a very clear and precise language which defines all used notions ... |
The language A, that is all DTMS that run forever on input.
Would this not just be the HALT problem?
Therefore no reduction or proof is necessary, other then stating that?
ANSWER FOUND:
I think i have it, if it was Turing Recognizable, then it would be possible to determine when HALT should reject and therefore HALT w... |
I'm comfortable with showing NP-completeness of a decision problem: just take some problem that is known to be hard and reduce it to your new problem. This establishes NP-hardness of the new problem.
But we can also have NP-hard search problems. For example, it is claimed in the introduction of this paper, that finding... |
I have a context-free language $L(G)$. I'm reading in a book that $L(G') = L(G) - \{{\epsilon}\}$ is context-sensitive but I cannot find a proof or confirmation of this fact; moreover, in other texts the production $S\to\epsilon$ is allowed (as long $S$ isn't on the right hand side of any production)
I'm quite confused... |
Application:
We intend to factor an integer $N$ using a variation of the rational sieve.
This involves constructing a congruence of squares modulo $N$ from a set of linear relations $$x - N = y$$ where $x$,$y$ are $B$-smooth. The standard method to obtain such relations is to traverse $f(x) = x - N$ using a highly-opti... |
In some papers, they proposed a model in which the joint posterior probability was modeled as[1]:
$$ P(Y|\textbf{X},G) = \frac{P(\textbf{X},G|Y)P(Y)}{P(X,G)} \propto P(\textbf{X}|Y) \cdot P(Y|G)$$
where $\textbf{X}$ is attribute vectors set and $Y$ is the labels of all the edges in the network.
I know the meaning of t... |
Let languages $A, B$ be defined as
$$\begin{align}
A &= \{\langle M\rangle\mid M(\langle M\rangle)=reject\}\\
B &= \{\langle M\rangle\mid M(\langle M\rangle)=accept\}
\end{align}$$
In other words, $A$ is the set of descriptions of TMs which reject their own descriptions and $B$ is defined similarly. The languages $A$ ... |
The width (number of registers) and depth (number of hash functions) of a Count-Min sketch determine the accuracy of counts retrieved.
I've found two different methods for calculating the width ($w$) and depth ($d$).
First Method
The clearest example I've found is from a 2011 paper by the original Count-Min authors:
S... |
Is there anything that hints at the possibility of a (modern) continuous-value computer, since modern computers are based on discrete arithmetic?
I guess the old analog computers were of this continuous-value type, but is there any modern development?
Do you know something about the issues regarding computability on su... |
$SubsetGCD$ is described by the following:
instance: A set of positive integers $S$ and an integer $k$
question: does there exist a subset $S'$ of $S$ of size $k$ such that $GCD(S') = GCD(S)$
Prove that $SubsetGCD$ is np complete.
The hint for the problem is to reduce $VertexCover$ to $SubsetGCD$
I know what I'm supp... |
Could you please resolve a confusion with Schaefer's theorem for me? Namely, why does it not imply many problems in P are NP-complete? For example, primality testing surely cannot be reduced to one of the six classes in the theorem, so why does that not imply it's NP-complete?
|
λ-calculus terms can be informally/intuitively categorized, such as:
(λ f x . (f (f (f x))))) is a church natural (3)
(λ a b . a) is a church boolean (true)
(λ c n . (c 1 (c 2 (c 3 n)))) is a church list ([1,2,3])
(λ s z . (s (λ s z . (s (λ s z . (s (λ s z . z))))))) is a peano natural (3)
That is, while the untyped ... |
The tree traversal methods explained in this Wikipedia article are pre-order, post-order and in-order. Are these methods limited to binary trees? The algorithm seems to be defined in terms of left and right child. If it can be used for n-ary trees, how?
An n-ary tree has 1 parent and n children at any given node. Where... |
On the Wikipedia page for quantum algorithm I read that
[a]ll problems which can be solved on a quantum computer can be solved on a classical computer. In particular, problems which are undecidable using classical computers remain undecidable using quantum computers.
I expected that the fundamental changes that a qua... |
Handwriting recognition is an important but very complicated domain of Computer Sciences. Computers nowadays do a quite fair job even if there is room for improvement in the future.
I am wondering if the result is language-dependant:
1) Are there languages that are more easily analyzed by handwriting recognition progra... |
I observe a scene with two cameras, c1 and c2, that produce two images i1 and i2, respectively. What I now want is to bring i1 and i2 into alignment, that is I want to know where pixel (x,y) in i1 is in i2. This "alignment-matrix" should be valid in general, that is not only for i1 and i2, but also for further images o... |
Does a sufficiently complex neural network guarantee to find the optimal solution, given an infinite amount of data and the back propagation technique for training?
In other words, given an infinite amount of training data, can neural network get out of local minima and approaches optimal state?
The question is purely... |
I have a thermal camera that I would like to overlay automatically to the output of a RGBD camera (e.g., Kinect).
I can retrieve the intrinsic parameters of the thermal camera by using a special board I built, that allows the thermal camera to give as output a series of points similar to the ones obtained with a visi... |
Given languages $A$ and $B$, let's say that their concatenation $AB$ is unambiguous if for all words $w \in AB$, there is exactly one decomposition $w = ab$ with $a \in A$ and $b \in B$, and ambiguous otherwise. (I don't know if there's an established term for this property—hard thing to search for!) As a trivial examp... |
I am looking at this paper : http://arxiv.org/pdf/1411.3419v1.pdf But somehow I am not being able to fish out a method to calculate this quantity called the "block-sensitivity".
Can someone kindly provide some discussion/examples or such?
I am wondering if there is a way to talk of "block sensitivity" of any functi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.