instruction
stringlengths
35
29.1k
Best reference I could find is this one. However, I could not quite understand this one since there is no numerical example. What I am trying to achieve with one sentence How can I answer the following question by using constraint programming: The Euclidean distances between a point $p_4$ and points $p_1(0,0)$, $p_2(0...
For any $n \geq 4$, I was able to prove that every Apollonian network has $3n - 8$ triangles. An Apollonian network is a planar graph defined by recursively subdividing a triangle by three smaller triangles (adding a new vertex inside the face and connecting it to all three vertices). Now I am trying to prove a similar...
Is the language $\{a^{n^2-1} | n \in \mathbb{N}\}$ context free? and how to prove it? I think it is, but I could not find a way to prove it by using push down automaton or any other way.
I'm trying to compute a language defined as { ww | w ∈ {0,1}* } in JFlap using a Multitape Turing Machine. It seems a hard problem because there is no delimiter to know when the word w is ended. I already checked this and this question, but this didn't helped me at all. The answers from "Construct Turing Machine which...
I have a little problem I have been trying to solve for a hobby after a friend got me interested in fantasy football: given a list of players, positions for those players, projected points, salary, and a salary cap, build the highest projected scoring NFL team that fits the salary cap. I am interested in finding an eff...
Just learnt that a problem in computer science can be divided into the following categories Polynomial problems NP problems NP hard problems NP complete problems based on how long it takes to run the program For example, suppose there is a problem P that can be solved with two algorithms say A1 and A2 where, A1 is pol...
I'm currently reading Introduction to the Theory of Computation by Michael Sipser and in his section on time complexity, he tries to justify why theoretical computer scientists divide problems into P and NP. First he says: $P$ roughly corresponds to the class of problems that are realistically solvable on a compute...
This question concerns the all-pairs shortest paths (APSP) problem (where we are given a graph with edge $(i,j)$ given weight $w_{i,j}$ by the distances between the two nodes $i$ and $j$, and where we want to get the lowest-weight path from every starting vertex $i$ to every ending vertex $j$), The "Path reconstruction...
According to the algorithm, is it true that I have to sample 1,...,D u's from the normal distribution with mean 0 and variance 1 (not sure what sigma square here refers to)? And then I have to construct the z as shown in the algorithm. However, I wonder how this will speed up gradient descend because creating sin and ...
This the answer that was accepted for the arrangement problem of a library: we have books with heights $H_n,$ $1 \le n \le N$ and widths $W_n,$ with heights in ascending order for each book, and we want to group them into shelves. Reuse these numbers for solution nodes $n,$ where that node represents a solution state ...
Say that there are $n$ days and there is $x_1, x_2, ...,x_n$ amount of data to process on each day. Your computer can process $s_1$ amount of work on the first day since rebooting your computer, $s_2$ work on the second day since a reboot, up to $s_n$. On each consecutive the day the amount of work your computer can pe...
Given a set of integers $S=\{s_1,s_2,...,s_n\}$ and a target number $T$, find a subset of $S$ that adds up exactly to $T$ in $O(nT)$ time. I am not quite sure how to solve this but I think I have the workings of a start in progress. If we say the last number we choose is $s_i$, then this reduces the problem to finding ...
I'm stuck on the following question: How to prove the linear context free languages are closed under gsm mapping?
Let $G = (V,E) $ and let be $T \subseteq V$ . $T$ is called vertex cover if each edge of the graph is incident to at least one vertex of $T$ . Let be the following decisional problem : $PROBLEM$ Input : $G = (V,E) $ with $n$ nodes ; $k\in \mathbb{N}$ , $k \le n$ Output : $YES$ if exists $T$ such that $T$ is vertex cove...
I know that $L=\{ \langle M \rangle \mid |L(M)| < \infty \}$ is not decidable (by Rice's theorem or using reduction, I followed it from $L$ not being decidable ). But is $L$ recognizable? What I tried is, let $L$ have a machine that recognizes it, let it be called $H$. Then given an input $\langle M\rangle$ I would st...
Recall that a false-biased Monte Carlo (MC) algorithm is always correct when it returns false for some decision problem i.e. it has a one sided error and its always correct on NO instances. Assume that we have a false-biased MC algorithm. In this case when it says NO its always correct. This means that it is not allowe...
Is the jury still out on this or do we now know which of the above mentioned ways of randomizing Quick Sort is the most optimum as far as average case running time (averaged over all possible input arrays, with all permutations of the numbers being equally likely) is concerned? Or perhaps, has a case been made for the ...
I am trying to prepare for a test comping up on run-time analysis. I have been hit with a for loop that is throwing me a bit. I am hoping someone can help me. the loop is for(j=1; j< n; j=j*2) J is increasing at an increasing rate so it will be less than n/2 however I am having trouble concluding what exactly it ...
I have written an algorithm for sorting that I thought of, and I'm not sure if it exists. Basically, it runs through each index of an array and if the value of index n > the value of the index n+1, they get swapped. My java code is below. Here is the example of it running on an array of length 4. (Given) [3,2,7,5] (S...
Suppose $N$ is $L$-bit long and $k$ is also $L$-bit long. How to show that it takes at most O$(L^2)$ operations to compute it. For example $N = 1010$ and $k = 10$. Then $N^k = 6^2 = 100100$. But I am not familiar with how $100100$ comes up without going back to decimal and using the fact that $6*6 = 36$. Therefore, I...
I am going to consider Freivald's algorithm in the field mod 2. So in this algorithm we want to check wether $$AB = C$$ and be correct with high probability. The algorithm choose a random $r$ n-bit vector and if $$A(Br) = Cr$$ then outputs YES, otherwise outputs no. I want to show that it has has one-sided success ...
There is a tree with $n$ nodes. All edges are of equal weights. The vertices of the tree can be of two types: 0 or 1. There are two types of queries: Set(X): change the given vertex X from type 0 to type 1, Dist(X): find the shortest path from X to a node of type 1 and return the length of this path. This will retu...
My question is related to this: Hash-Table in Practice In [1] page 7, it is said that if we throw $n$ balls into $k$ bins, then each bin contains at most $\frac{n}{k}+O(\sqrt[2]{(\frac{n}{k})\log k}+\log k)$ elements with a high probability. Question 1: Why is $O()$ used in the above estimation? Question 2: Does i...
Is infinite union of non-regular languages $L_i$ that form a chain such that $L_i\subseteq L_{i+1}$ always non-regular? Or is there a possibility that it be ever regular? Is there an easy way to see this?
Are there any examples of real-world computer languages that are non-deterministic? By computer languages I include programming languages, markup languages, query languages, modeling language, transformation languages, etc. By non-deterministic I mean they cannot be parsed with deterministic grammars.
I consider problem: proving lower bound for comparison algorithm that check whether permutation is odd or even. I know that this bound is $\Omega(n\lg n)$. Could you give me a clue ?
Is there a direct way to represent Kleene plus(+) using Thompson's construction algorithm? When I studied Thompson's construction I learned how to transform concatenation, union and kleene star of regular expresions directly into a NFA. In wikipedia(and other websites) I found the same thing I learned in college(nothi...
What is regular expression for language that does not contain $1110$? It is easy to guess for language that contains. The shortest way I know is go through DFA. Is there a better way?
Say that we have nodes in a tree and it has a branching factor of 3. At the leaves we have a binary value 1 or 0 (which can be viewed as "votes"). Each parent computes the majority of its children and assigns itself that value ("vote"). What I want to show is that in the worst case, a deterministic algorithm will have ...
Can data structures be thought of as algorithms themselves? For example, I could implement a stack data structure that has certain non-functional characteristics. Is the separation between data structures and algorithms formally defined?
I have a problem how to find best, worst, average case in armstrong number algorithm? Here the pseudo-code : Declaration: n : integer Sum : integer Temp : integer Rem : integer Algorithm: Input(n) Temp <-- n Sum <-- 0 Rem <--- 0 While ( n != 0 ) do R...
I have started reading graph theory from Introduction to Algorithm. The author starts by saying that if the graph is dense then: $$|E|\text{ close to }|V|^2$$ else if the graph is sparse then: $$|E|\text{ is much less than }|V^2|$$ According to me the above two relations makes sense in respect of a complete graph where...
Inspired by this quote attributed to Alan Perlis: For every polynomial-time algorithm you have, there is an exponential algorithm that I would rather run. How I interpret this statement is that some exponential running times should be preferred over polynomial ones for realistic problem sizes. I have never actually ...
You are given an m x n grid. A dimensionless ball is placed at the centre of one of the grid squares and starts moving in one of 4 directions: north-east, north-west, south-east, or south-west. The ball continues moving until it reaches the edge of the board at which point, it bounces back in accordance with the laws o...
Normally the space complexity of an Algorithm $A$ is denoted $\textrm{SPACE}(A)$, which means how much space is needed by the computation itself. I would however like to also describe how much storage an algorithm needs, i.e. if I have a Turing Machine with three tapes, one for the input, one for the computation, and o...
Let $D=(V,E)$ be a finite directed graph with no isolated nodes(from every node there is at least one edge entering and one exiting). For $v \in V$ define the following sets: $$v^+= \left\{w \in V|(v,w)\in E \right\}, v^-= \left\{w \in V|(w,v)\in E \right\}$$ For some $S \subseteq V$ we have, $S^+= \bigcup_{v \in S} v^...
I'm new to pathfinding algorithms and trying to find a good or even optimal heuristic for the following problem: Say you have a 3D square-lattice cuboid graph with randomly removed edges (with probability $p$). The cuboid has a finite cross section of $n \times m$ nodes and a potentially infinite layer length $l$. Star...
I understand that the output for Latent Dirichlet Allocation is a distribution over K topics. Suppose I have a Dx(K+1) matrix, where rows are documents and columns are the topic distribution + one column for class. For example, each row represents one movie review. The first K columns represent the topic distribution o...
I got a weighted, connected and directed graph $G$. There is a vector called the distance vector $Dv \in \mathbb{N}^n$ in which $Dv_i$ is the shortest distance from $1$ to $i$. All edge weights are positive integers. I have to show that every distance vector $Dv$ satisfies: $Dv_1 = 0$. For all $j \neq 1$ there exists ...
With reference to the Heuristics section of Classical planning in Artificial Intelligence: A Modern Approach by Russell and Norvig, there is a question: consider an air cargo problem with 10 airports, 50 planes, and 200 pieces of cargo. Each plane can be at one of 10 airports and each package can be either in one of t...
So if i only used iterative requests to a recursive dns server and since this server has cached results from recursive queries, does this mean the iterative request gets a result from the cache or just a response with a difference server to check? Example for clarification: User requests example.com recursive dns serve...
Given the PDA $P = (Q_P,\Sigma,\Gamma_P,\delta_P,F_P)$ and the DFA $D = (Q_D, \Sigma, \delta_D,q_D,F_D)$ What is the 6-tuple definition of the PDA such that: $L(P') = L(P) \cap L(D)$ I don't understand what the intersection of these two FAs represent, and my only guess at what the 6-tuple is would be something along th...
What known NP-complete problem would one reduce to $k$-Edge-Colorability to prove that the latter is NP-hard?
In several papers I have read that Bit-parallel pattern matching is an NFA-simulation. My questions are: 1- Is it true in general? Or, is there any restrictions? 2- As any regular expression can be converted to NFA, how Bit-parallelism is able to handle some regex like: a?5 Update: Bit-parallel pattern matching is a f...
Is there a term for languages, imperative, declarative, procedural, functional alike; a term describing the quality of functions being represented as a (reversible) relationship between inputs and outputs? Or alternatively, where inputs and outputs are done away with in favor of just *puts, where any given *put can be ...
I actually have to prove the following : $\mathbf{NL} \subseteq \mathbf{NC_2}$ I have the following approach : I will prove that $\mathbf{PATH} = \{〈D, s, t〉 | \text{D is a directed graph with a path from vertex s to t}\} \in \mathbf{NC_2}$. I will show that $\mathbf{NC_2}$ is closed under log-space reductions i.e: ...
$NP = \cup_{k \in \mathbb{N}} NTIME(n^k)$ $P = \cup_{k \in \mathbb{N}} TIME(n^k)$ Can we show that $NTIME(n^k) = TIME(n^k)$ for a specific $k$? For how large of a $k$ can we show the above statement to be true?
Since we started talking about relations on languages and so on i keep on struggling with this subject. So now iam faced with two questions where i really dont know how to start. First of all, the natural relation of a language $L \subseteq \Sigma^*$ is the equivalence relation on $\Sigma^*$ with the equivalence cl...
I apologize if this is the wrong place or too trivial a question for this community. What is the best data structure to store a time-windowed streaming graph in order to compute fast statistics over all nodes in the graph, for e.g., running computation of average degree? I believe the best way to describe this is as fo...
Is there a nice way to give context free grammar for $$\{a^nb^ma^kb^l:n+m=k+l\}?$$ From PDA point of view it seems we just push + on stack if we see a, push + on stack if we see b, pop + from stack if we see a, pop + from stack if we see b and accept if you have empty stack.
This is specifically a question pertaining to solving reccurences via the Master Theorem/Method, particularly for a specified $f(n)$ (as denoted below). For a recurrence of $$T(n) = a T(\frac{n}{b}) + f(n)$$ where f(n) is $\Theta{(n)}$, would we be comparing $n^{\log_b(a)}$ with $n^{1}$ - meaning we would be comparing...
I'm learning about the stack but one thing I am unable to understand is how variables can be accessed in the correct order. So if I had a basic program calculating the sum of some user entered values (pseudocode) Input value1 Input value2 Input value3 Input value4 Input value5 result = value1 + value2 + value3 + value4...
I need to write a context-free grammar for this Language : $\L = {a^nb^k | 1 =< n <= 2k} Please help me solve this problem! Thanks.
At our company, we've started using Amazon Machine Learning to predict the likelihood of a certain segment of our customers cancelling their subscription. We only have 500 customers in that segment so we uploaded training data of all our customers who are on a subscription or were on a subscription but cancelled Amaz...
My question is related to this question I posted in math forum: https://math.stackexchange.com/questions/1512644/balls-and-bins-hash-table-a-concrete-example but I could not get an answer that I need. Please assume upper bound on set cardinality is $n$ (so the set has at most $n$ elements). A server wants to construct...
I consider following problem: It is given array with numbers, for example $[-2,0,1,-324,213,321,-2]$. The problem is: replace elements such that negative numbers precede the non-negative. For our example: $[-2, -324, -2, 321,0,213,1]$. Additional requirement is that algorithm should do minimal number of replacements. ...
Suppose we have a set of functions $f_i: \mathbb Z \rightarrow \{0,1\}, i=1, \dots,n $, with the following property: For each $i =1,\dots ,n$, there exists an $x\in \mathbb Z$ such that $f_i(x)=0$ and $f_j(x)=1$ for each $j\in \{1,\dots,i-1,i+1,\dots,n\}$. Also, there exists an $x \in \mathbb Z$ such that $ f_i(x)=1$ f...
Good evening! I am studying scheduling problems and I have some difficulties understanding constraints of potentials: Let be $t_j$ the time when a task $j$ starts, and $t_i$ the time when a task $i$ starts. I'm assuming that $a_{ij}$ is the length of the task $i$ but I'm not sure. Why is a "constraint of potential" ma...
Subset-sum problem is NP-complete. I presume so is the problem of determining, given a positive integer $p$, whether in a set of positive integers $\{x_1,x_2,...,x_n\}$ there is a subset which sums to one of the numbers $\{p-1,p,p+1\}$. Am I correct? I've been struggling to reduce standard Subset-sum to this variation,...
Suppose I have 2 qubits in the state a|00>+b|01>+c|10>+d|11>. And suppose I want to perform some operation between only the 1st qubit and a 3rd qubit - for example a CNOT operation. What would be the correct way to do this multiplication?
So I'm kind of wondering if I'm correct on something relating to an algorithms class. Let's say I want to, for whatever reason, find the maximum spanning tree of a graph such that the edge weight is at maximum instead of minimum. In addition, let's say I want to find a spanning tree with the maximum product-sum weight ...
From what I understand, the rules for CFL from my notes say: If $L$ is a language and • for all integers $N$, • there is a string $w \in L$ of length greater than $N$ such that • for all ways of writing $w$ as $uvxyz$ with ($v \neq \epsilon$ or $y \neq \epsilon$), • there is an $i$ such that $u(v^i)x(y^i)z$ is not in $...
I want to classify superpixels in a image using a Markov Random Field/ Conditional Random Field model but have found no place that can help me with this (references don't even show how the network is visually). I already have the superpixels and the features associated to those superpixels, I'm only missing the MRF/CRF...
Let's say that we have a string "1.2.3" and want to find a match for it in the following records: 1.2.9 1.4.5 1.*.3 For each record: The . is a separator that divides the string into segments. Each segment can have a static value or * that matches any segment value. There are no duplicated records. If there are multi...
I'm new to stackoverflow so please bear with me. A tutorial question I got given was as follows: You are given that $C \subseteq D \subseteq F^n_q$ where $|C| < |D|$ and $C$ is a perfect code. Show that $d(C) > 2d(D)$. I have been using the fact that $C$ is a perfect code so it attains the Hamming bound then saying th...
I am trying to find a assignment to satisfy a 2-sat statement. Problem is some of the clauses are 0 or x or 1 or x. I think the 1 or x clauses have no effect on the solution, but the 0 or x clauses determine the value for x. As I have clauses like ~x or y the determined value for x results in determining the value for ...
Assume that there are n students, who have to be evenly assigned to m groups. For every student, a preference ranking of of the m groups is given. I partially order assignment by pointwise preference, i.e. one is better or equal to another if for every student, the assigned group is ranked higher or equal. What algorit...
I know that the decidable are close under: complementation, union, intersection and concatenation? What about the undecidable languages? I think they are close under complementation, but not under concatenation, union and intersection. But I don't know how to prove it... My prove "Lets say L is undecidable lang. Becau...
I have a space with obstacles I wish to find a path through. What I can do is discretize the space into a grid and use A* (or D* or whatever) to find a path through it. I wish to now add orientation to the algorithm. So the node location now becomes a 3d vector (x, y, phi). You can go from one node to another one only ...
Does it make sense for a Turing machine to have infinite number of states ? I had previously asked a question Can Turing machines have infinite length input. From which I came to know about Type-2 Turing machines. If there can be infinite states, encoding of such a Turing machine would be infinite ( but again I am not ...
What do I need to learn dense correspondence? I am a newbie in Image processing/CV. Please help me by suggesting a kind of syllabus or show me a way to learn about Dense Matching. What are the things I really need to work on it.
Is there a way to check LTL properties in a bounded model checker? As an example, consider a liveness property ($G F p$ - always eventually $p$)? Suppose we have the following trivial program #include <pthread.h> int a = 0; void * f(void * x) { a = 1; return x; } int main() { pthread_t t; pthread_create(&t, 0, ...
I need to find out the fastest way to count nested loops. I am adding 3 numbers , the final number is wanted result. For better explanation here is example read number 1 read number 2 read final number 3 There are 17 ways how to achieve 500 with those two numbers e.g 10*2 + 15*32 and so on , the code for th...
I came across a new list data structure called GlueList that claims faster than classic list implementations. How does it work ? How can it be faster than ArrayList and LinkedList ?
Hi, what should be the regular expression for this language ? My guess was r = (a ∗ a(a + b) ∗ (a + b) + (a ∗ b + c))(a + b ∗ ) ∗ But the arrow from C to B is making it tough . If it was B to C then my answer would have bee correct.
In the data structure field, what is the (best) term used to identify (designate) a subtree covering a subset of contiguous leaves?
Since planar TSP with n nodes is NP-hard, we cannot simply find an optimal solution with n-1 nodes and then insert the remaining node at one of the solution's edges to find the optimal solution of the original TSP problem. So, is there a planar graph with an optimal solution, such that when we add a certain extra node,...
I'm making a compiler using LLVM and LLVM's shadow-stack. I thought I might easy the load of the GC by using escape analysis and allocate some variables on the stack. Can I use my typed AST for this algorithm, or must I use a graph data-structure?
I understand type systems like the simply typed lambda calculus, system F and the calculus of constructions include a different subset of all lambda terms. But what, precisely, are the terms each of those systems include/exclude? Is it possible to express the intuition behind the criteria with words?
I have Master theorem for finding complexities but the problem is Master theorem says For a recurrence of form $T(n) = aT(n/b) + f(n)$ where $a \geq 1$ and $b > 1$, there are following three cases: if $f(n) = Θ(n^c)$ where $c < \log_ba$, then $T(n) = Θ(n\log_ba)$; if $f(n) = Θ(n^c)$ where $c = \log_ba$, then $T(n) = Θ...
Algorithm must be in place. I would like to find lower bound for comparison algorithm. Algorithm will sort array with only two elements - without loss of generality let assume that there are only $1s$ and $0s$. Decision tree give us lower bound $\log(n+1)$. It is to weak, because we know lower bound for findiing min...
I was reading about the halting problem recently, there is a video on youtube where it tries to explain the halting problem easily (since it is complicated to explain). So, (A,C & H) have different inputs, if we suppose that we can run the three inputs on a machine (x) using one encoding scheme (i.e encoding for chess...
I want to show that $\qquad L = \{\langle M \rangle \mid \text{TM $M$ will write a $z$ to the tape at some point for some input}\}$ is undecidable. I'm really not sure how to show this is undecidable. I know that a language is undecidable if M would not be able to determine if 'z' is or is not in the language.
I have a directed, colored graph (each node has a color), and I want to find if a path from node A to node B exists such that the path goes through each color at MOST once. I think this problem can be formulated using network flow. Somehow a penalty can be placed on nodes of the same color that makes the flow 0 or infi...
One of the interesting results of Number Theory is the theory of quadratic reciprocity. One finds that it is possible to determine whether an equation $x^2 \equiv a \pmod p$ has a solution $x$ without computing its solution. Is it possible to do the same with the equation $x^2=a$, determine whether $a$ is a perfect squ...
Wikipedia says A model of computation is a formal description of a particular type of computational process. The description often takes the form of an abstract machine that is meant to perform the task at hand. What other forms can a model of computation take than an abstract machine? What are the difference a...
I started studying Design Concepts in Programming Languages by Turbak, Gifford and Sheldon. In the first chapter, they define a language called POSTFIX, similar to a postfix calculator's input language. This one also has a conditional command and a subroutine-like struct. So, it seemed like it could implement a looping...
I'm ok following the passages generally used to prove this theorem, like in this question concerning the same subject. Anyway i've the unpleasant feeling that the proof lacks something to be completely understood, perhaps because considered obvious by many people. We know that a binary tree corresponding to the optima...
For a certain maximization problem, a "constant-factor approximation algorithm" is an algorithm that returns a solution with value at least $F\cdot \textrm{Max}$, where $F<1$ is some constant and $\textrm{Max}$ is the exact maximal value. What term describes an algorithm in which the approximation factor is a function ...
I am trying to figure out which language does the following NFA (taken from a Sipser's book "Introduction to theory of computation") recognise From my understanding, this NFA accepts strings that contain at least two $1$s, but this is not precise, because, e.g., between the two ones we could have a $0$ or nothing ($\e...
while userinput != "yard" or userinput != "gym" or userinput != "basement" or userinput != "cell" or userinput != "showers" or userinput != "outside": print "Enter 'yard' or 'gym' or 'basement' or 'cell' or 'showers' or 'outside' to search them." if userinput == "yard": Rooms.yar...
Hi I'm new to RBM and machine learning/computer vision in general, and I'm using the code from: http://blog.echen.me/2011/07/18/introduction-to-restricted-boltzmann-machines/ while reading on https://en.wikipedia.org/wiki/Restricted_Boltzmann_machine for some theories. But right now i'm totally confused. In the code th...
the DFA-intersection computation problem, given two DFAs specified on the input, compute the intersection DFA, or the decision problem to determine its emptiness, turns out to have wider/ deeper significance in computational complexity theory.[1][2] it is O(n2) time with no better lower bounds known, and tight bounds p...
I want to ask about Petri net (PN) boundedness. When I have a state s1 = (2 0 0), then I find state s2 = (2 0 1), so since s1 < s2 can I declare the net as not bounded ? Because when I have this PN: the PN is bounded but you can find there (2 0 0) < (2 0 1). Am I wrong about boundedness of Petri nets or is something w...
In trying to understand the relationships between Huffman Coding, Arithmetic Coding, and Range Coding, I began to think of the shortcomings of Huffman coding to be related to the problem of fractional bit-packing. That is, suppose you have 240 possible values for a symbol, and needed to encode this into bits, you would...
I'm working on practice problems for a test I have, and every example of loop variant decreased with every iteration of the loop. On this one, the values remain the same when a < b. My attempts also got me a loop variant that has a chance of a negative since occasionally a becomes larger than b and vice versa. Any advi...
Are there any techniques that can be used to determine whether a digital logic circuit is optimal, or if it has extraneous operations that don't contribute to the output? I'm especially curious in the case where the circuit is defined in terms of XOR and AND gates. I know I could make a karnaugh map and create a circui...
I am from ECE background and trying to solve channel allocation problem. Let's assume I have three users and three available channels. I would like to allocate channel among them in such a way that average BER would be minimum. For example, consider BER matrix for each user for each frequency allocation \begin{bmatrix...
My research is mainly focused on generating test sequences automatically using Colored Petri net.CFG provides techniques for generating test sequences. But some papers says that, test sequence generation methods based on a control flow graph sometimes suffers from a feasibility problem (i.e. some paths in a CFG may not...
Given a subset of a cartesian product $I \times J$ of two finite sets, I wish to find a minimal cover of it by sets which are cartesian products themselves. For example, given a product between $I=\{A,B,C\}$ and $J=\{1,2,3\}$, I may observe the subset $\{(A,2), (B,3), (B,2)\}$ and try to cover it with a minimal number ...