Algorithm New Question

In genethic algorithm the mutation rate and crosso
I learned many articles about genetic algorithm and I am not able to find if in the new population generation the mutation rate is for just one gene or for the hole element. And the 'same' for the ...... 
Using Genetic algorithm to solve a crossword puzzl
I am trying to solve a crossword puzzle with hint words given. I am looking for a better fitness function measure cause I think my fitness function is illdefined. Here is my initial thought: the ...... 
TRAVELLING SALESMAN PROBLEM USING GENETIC ALGORITH
Solve the following Travelling Sales Person Problem (TSP) using GA. Considera tiny instance of TSP with five cities as shown in Figure. Each link betweentwo cities is associated with a cost which ...... 
Creating a custom function to create individuals u
I am using DEAP to resolve a problem using a genetic algorithm. I need to create a custom function to generate the individuals. This function checks the values inside in order to append 0 or 1.Now I'...... 
Number of unique elements only using equality comp
Is there a way to find the number of unique elements in a list in faster (worst case) running time than O(n^2) if you can only use equality comparisons between two elements? No deleting, copying or ...... 
DFS  With multiple cycles between 2 nodes
Trying to find all cycles in a directed graph, via DFS. But got an issue.IssueWhen there are multiple cycles between 2 nodes, sometimes only the longest one can be detected, the shorter one is ...... 
Please review my algo for detecting a bipartite gr
A Bipartite Graph is a graph whose vertices can be divided into two independent sets, U and V such that every edge (u, v) either connects a vertex from U to V or a vertex from V to U. In other words, ...... 
integer of arbitrary base division, without conver
Integers are represented as a list of ints, for example:[13, 2] (D2 in base 16)[1, 3, 6] (136 in base 10)We are only allowed to use the digits separately, they cannot be converted to base 10 ...... 
where can we use BFS and DFS apart from tree and g
As we all know that we use BFS and DFS for traversing in trees and Graphs. My question is that apart from tree and Graph, where else we can implement the concepts of BFS and DFS?... 
How can I draw the outline for the object, which i
I have the sample code, which is called Object detection in a Clutered Scene using Point Feature Matching:(https://ch.mathworks.com/help/vision/ug/objectdetectioninaclutteredsceneusingpoint...... 
Count number of results from Expressions With Ones
Given at most X number of 1s and at most Y number of 2s. How many different evaluation results are possible when they are formed in an expression containing only addition + sign and multiplication * ...... 
What are overlapping subproblems in Dynamic Progra
There are two key attributes that a problem must have in order for dynamic programming to be applicable: optimal substructure and overlapping subproblems [1]. For this question, we going to focus on ...... 
Dynamic variables (in lexical analysis)
I learned about lexical and syntax analysis recently and I was thinking about dynamic variables.Let say you have language syntax like this:a = "1"b%a# = 22a = "2"c%a# = 35At ...... 
Calculate the number of distinct possible values o
This was a question asked in a mock test. So, I could not find any online evaluator for this.Basically, you are provided with an array of elements. You can take any 2 elements and add their absolute ...... 
What is the terminology for reducing inputs to onl
Is there a term for leveraging the fact that data is comprised of a few muchrepeated values to speed computation?As an example when trying to compute Sample Entropy on a long discrete sequence (......