SlideShare a Scribd company logo
1 of 13
Download to read offline
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
DOI:10.5121/ijfcst.2015.5202 15
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS
TO SOLVE N QUEENS PROBLEM
Soham Mukherjee1
, Santanu Datta1
, Pramit Brata Chanda2
, Pratik Pathak1
1
Computer Science & Engineering, M.Tech, Academy of Technology, Hooghly, India
2
Computer Science & Engineering, M.Tech, Kalyani Govt. Engg. College, Kalyani, India
ABSTRACT
This Paper provides a brief description of the Genetic Algorithm (GA), the Simulated Annealing (SA) Algorithm, the
Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and attempts to explain the way as how our
Proposed Genetic Algorithm (GA), Proposed Simulated Annealing (SA) Algorithm using GA, Classical Backtracking
(BT) Algorithm and Classical Brute Force (BF) Search Algorithm can be employed in finding the best solution of N
Queens Problem and also, makes a comparison between these four algorithms. It is entirely a review based work. The
four algorithms were written as well as implemented. From the Results, it was found that, the Proposed Genetic
Algorithm (GA) performed better than the Proposed Simulated Annealing (SA) Algorithm using GA, the Backtracking
(BT) Algorithm and the Brute Force (BF) Search Algorithm and it also provided better fitness value (solution) than the
Proposed Simulated Annealing Algorithm (SA) using GA, the Backtracking (BT) Algorithm and the Brute Force (BF)
Search Algorithm, for different N values. Also, it was noticed that, the Proposed GA took more time to provide result
than the Proposed SA using GA.
KEYWORDS
Tractable and Intractable Problems, N Queens Problem, Genetic Algorithm, Simulated Annealing
Algorithm,Backtracking Algorithm, Brute Force Search Algorithm, Fitness, No. of Solutions, Time.
1. INTRODUCTION
Depending on the classification of functions into polynomial and exponential, we can divide
computational problems into two types-tractable and intractable. So, the tractability of a problem
depends on how difficult the problem is w.r.t. the amount of time it takes to successfully solve the
problem. This is related to the time complexity of the problem. If a problem has given solution in
a small amount of time, then it can be easily solved in polynomial time and named as tractable
problem. But, there are some problems, which can only be solved by some algorithms, whose
execution time grows very quickly in case of larger input size and these problems cannot be
solved in polynomial time by a conventional algorithm. These problems are named as intractable
[23]. The N Queens Problem is a classical intractable problem, which is often used in case of
discussing about various searching problems. In general, the goal is to place N number of queens
on the (N*N) chessboard, so that no two queens can threaten each other [4]. According to the
rule of this problem, a queen can move in either along a row, or along a column, or along a
diagonal. In an (N*N) chessboard, each of the N queens will be located on exactly one row, one
column, and two diagonals. The rest of the paper is organized as follows. The Overview of
Genetic Algorithm is discussed in Section 2. The Overview of SA Algorithm is narrated in
Section 3. The Overviews of Backtracking and Brute Force Search Algorithms are given in
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
16
Section 4 and 5 respectively. A Theoretical Comparison among the used Algorithms is made in
Section 6. The Proposed Work and Algorithms are explained in Section 7. The Results are shown
in Section 8 with Analysis and Discussion in Section 9 and ultimate Conclusion is made in
Section 10, followed by Future Works in Section 11, Acknowledgement and finally, References.
Fig. 1: Queens’ Position in (4*4) Chess Board
2. OVERVIEW OF GENETIC ALGORITHM
Genetic Algorithm is an optimization algorithm, which follows the concept of natural selection. It
is a probabilistic search method, based on the ideas of evolution. It follows the Darwinian’s
Survival of the Fittest Principle. Unlike the traditional methods, it is suitable for many real world
problems, in which the goal is to find optimal solution. It is a process, which operates on
chromosomes. It differs from classical search algorithms. It searches among a group of points,
rather than a single point; and works with a coding of parameter set, rather than the parameters
themselves. The method of the genetic algorithm is probabilistic; whereas, traditional algorithms
use deterministic methods. Because of these features of genetic algorithm, it is used as a general
optimization algorithm. It also searches in irregular search areas and hence, it is applied to
varieties function optimization. In case of GA, a population of strings is used, and these strings
are named as chromosomes. Genetic Algorithm can reach to a solution, close to the global
optima. It has advantages over traditional algorithms, which cannot always achieve a global or
close to global optima. But, it does not always guarantee optimal solution, because of its
randomness [5, 19]. The steps of Genetic Algorithm are given in Fig. 2.
Fig. 2: Steps of Genetic Algorithm
Q1
Q2
Q3
Q4
Step 1: Create an initial population of solutions of a certain size randomly (Parent Pool).
Step 2: Evaluate each solution in the population and assign it a fitness value.
Step 3: Select good solutions based on fitness values and discard the rest of the solutions.
Step 4: If suitable solution(s) found in the current generation or maximum number of
generations has completed, then stop.
Step 5: Otherwise, Change the population using crossover and mutation to create a new
population of solutions (Child Pool).
Step 6: Copy the Child Pool to the Parent Pool.
Step 7: Go to step 2.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
17
3. OVERVIEW OF SIMULATED ANNEALING ALGORITHM
Simulated Annealing (SA) is a probabilistic search and optimization method. It is very often used,
when the search space is discrete. It follows “Annealing”, which is a process, in which metals are
cooled gradually to make them reach a state of less energy, where they are very strong. Simulated
Annealing is a meta-heuristic optimization algorithm. The random movement occurs at high
temperature and at low temperature, there is very less randomness. Simulated Annealing, at each
step, picks a variable randomly; and then, it also picks a value randomly. If giving that value to
the variable makes an improvement to the solution or keeps it same, then the algorithm accepts
the assignment and there comes a new current value. Otherwise, it accepts the value with some
probability, depending on the temperature and how much bad the value is than the current value.
If the change to the system is not accepted, then the current value is unaltered [3, 15]. It is better
than Hill Climbing Algorithm, where bad states are not accepted at any cost and global optima
may not be reached in case of most of the problems. The steps of SA Algorithm are given in Fig.
3.
Fig. 3: Steps of Simulated Annealing Algorithm
4. OVERVIEW OF BACKTRACKING
It is a general algorithm for finding the solutions of some problem, which use the concept of a
"partial candidate solution" and a quick test of whether it can possibly be completed to a valid
solution or not. When it is applicable, backtracking is often much faster than brute force search,
since it can eliminate a large number of candidates with a single test. Backtracking is an
important tool for solving problems like Crosswords, Sudoku and many other puzzles etc. It is
often the most effective technique for the knapsack problem and other optimization problems.
Backtracking depends on user-defined procedures, which define the problem to be solved, the
nature of the partial candidates and how they are extended into complete solution. It is, therefore,
not a specific algorithm – although, unlike many other non-specific algorithms, it is guaranteed to
find all solutions to a problem in a comparatively less amount of time [20].
5. OVERVIEW OF BRUTE FORCE SEARCH
Brute Force Search, which is also known as Generate and Test, is a very well known algorithm,
which examines all possible candidates for the solution and checks, whether each candidate
satisfies the problem's criteria or not. A brute force search algorithm for the n queens problem
will examine all possible placements of n queens on the (n*n) chessboard, and, for each
placement, check, whether each queen can attack any other or not. The basic idea of the brute
force search algorithm for n queen’s problem is to place each of the n queens on all possible
Step 1: Start with a random initial placement. Initialize a high temperature.
Step 2: Modify the placement through a defined change.
Step 3: Calculate the difference in the energy due to the change made.
Step 4: Depending on the difference in energy, accept or reject the change.
Step 5: Update the temperature value by reducing the temperature very slowly.
Step 6: Go back to Step 2 [16, 18].
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
18
positions and check each time, whether the queens threaten each other. If not, then it has reached
a solution. Brute-force search is very simple to implement, and it will always find a solution, if it
exists. Its complexity grows very quickly, as the problem size increases. Therefore, brute-force
search is mostly used, when the problem size is relatively small. It is also used, when the
simplicity of implementation is more crucial than speed [21].
6. THEORITICAL COMPARISON AMONG THE USED
ALGORITHMS
Genetic Algorithm (GA) and Simulated Annealing (SA) Algorithm are both Optimization
Algorithms, while Backtracking (BT) and Brute Force (BF) Search Algorithms are both not at all
Optimization Algorithms. Their methodology is quite different. Let us make a brief comparison
among GA, SA, BT and BF Algorithms. In SA, we discuss about solutions, temperature,
neighbours, moves etc. But with GA, we discuss about chromosomes, fitness,
selection, crossover, mutation, elitism etc. SA makes a new solution by modifying a solution by
making a move. But GA makes solutions using the combination of two or three different
solutions [22]. GA is a heuristic Algorithm, while SA is a meta-heuristic Algorithm. In GA, a
few probabilities like crossover probability, mutation probability are there; while in SA, there is
only one probability used; i.e., probability to accept a bad state. Unlike GA, a term Entropy is
used in SA. It is an extremely important term in SA. Both GA and SA have some randomness. In
case of BT and BF Algorithms, there is no randomness. They are very much similar, but little bit
different in their methodologies. BF uses the concept Generate and Test. It generates a solution
and then tests that solution to check, whether it is correct or not. But, BT builds and checks each
and every partial solution and discards wrong partial solutions. It uses the concept Test and
Generate. Hence, BT takes less time to solve problems than BF. But, both these two algorithms
are not at all efficient and effective to solve problems, when the input size becomes large. These
algorithms are good for solving problems, when the input size is relatively small.
7. PROPOSED WORK AND ALGORITHMS
In both of the Proposed Genetic Algorithm (GA) and Proposed Simulated Annealing (SA)
Algorithm using GA, our entire concentration was focused on the fitnesses of the solutions, as in
case of Genetic Algorithm, fitness is the most important factor, which signifies the goodness and
optimality of the solution. We also had a good and conscious look on the execution time. Here,
we applied some modified approaches in both of the proposed algorithms. Firstly, in both
algorithms, we didn’t start with unique valued population of chromosomes. We just randomly
generated the initial population (Parent Pool) of chromosomes and therefore, some duplicate
valued chromosomes may be present in that population. So, initially, there may be column
conflicts in that population, which are completely eliminated, when we mutated the child
population (Child Pool), that was generated after the two point crossover operation in the
Proposed GA, which may also increase the column conflicts in the population of chromosomes.
Also, the same mutation operation is done on the child population (Child Pool), which was
generated after the evaluation operation in the Proposed SA using GA. We also used the
temperature loop operation as the generation loop operation; in the SA Algorithm using GA.
Most important of all; as mentioned earlier, we always concentrated hard on the fitness of the
solutions. Hence, in the Proposed GA, we, not only just copied the Child Pool to the Parent Pool,
but also took the best fitness of the Parent Pool and the Child Pool and compared between them.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
19
Then, we copied the corresponding best fitness’ chromosome (between the two best fitness’
chromosomes) to the 0th
location of the New Parent Pool and showed the corresponding fitness as
the “GA Fitness” in the Result (8) Section. In both the proposed algorithms, we evaluated the
solutions by using the formula (n
c2 – the no. of diagonal conflicts), where n
c2 is the maximum
number of non-attacking queen pairs. The Proposed Genetic Algorithm (GA) and the Proposed
Simulated Annealing (SA) Algorithm using GA are given in Fig. 4 and Fig. 5 respectively.
7.1 ALGORITHM N_QUEEN_SOLUTION BY PROPOSED GA
Input: A Population (Group) of Solutions (Chromosomes), each representing the placement of N
number of Queens in (N*N) Chessboard.
Output: The Optimal Solution (Fitness), representing the placement of N number of Queens in
the (N*N) Chessboard according to the rule of the N Queens Problem.
Fig. 4: Proposed Genetic Algorithm to solve N Queens Problem
7.2 ALGORITHM N_QUEEN_SOLUTION BY PROPOSED SA USING GA
Input: A Solution (Chromosome), representing the placement of N number of Queens in the
(N*N) Chessboard.
Output: The Optimal Solution (Fitness), representing the placement of N number of Queens in
the (N*N) Chessboard according to the rule of the N Queens Problem.
Step 1: Randomly generate the Initial Population of Queens (Parent Pool).
Step 2: Evaluate the chromosomes of the Parent Pool as:
2.1: Fitness function is the no. of non-attacking queen pairs=nc2 (maximum value).
2.2: Calculate the fitness value of each of the chromosomes as: ((nc2)-the no. of
diagonal conflicts).
Step 3: Find the best fitness’ chromosome of the Parent Pool.
 Loop (generation)
Step 4: Perform Tournament Selection as the selection procedure.
Step 5: Now, generate offsprings (Child Pool) by performing Two Point Crossover
Operation.
Step 6: Mutate the offsprings by replacing the duplicate bits of the Child Pool
chromosomes by the unused ones.
Step 7: Perform Elitism operation as:
7.1: Copy the Child Pool to the Parent Pool.
7.2: Find the best fitness’ chromosome of the New Parent Pool.
7.3: Compare the fitnesses of the best fitness’ chromosomes of the Parent Pool and the New
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
20
Fig. 5: Proposed Simulated Annealing Algorithm using GA to solve N Queens Problem
7.3 ALGORITHM N_QUEEN_SOLUTION BY BACKTRACKING
Input: The number of Queens (N).
Output: The Number of Solutions (Placements) of that very number of Queens’ Problem,
according to the rule of the problem.
Fig. 6: Classical Backtracking Algorithm to solve N Queens Problem
7.4 ALGORITHM N_QUEEN_SOLUTION BY BRUTE FORCE SEARCH
Input: The number of Queens (N).
Output: The Number of Solutions (Placements) of that very number of Queens’ Problem,
according to the rule of the problem.
Step 1: Firstly, Initialize 2 Temperatures-Initial Temperature (high) and Final Temperature
(low).
Step 2: Randomly generate the Parent Chromosome of Queens.
 Loop (temperature T)
Step 3: Evaluate the Parent Chromosome as:
3.1: Fitness function is the no. of non-attacking queen pairs=nc2 (maximum value).
3.2: Calculate the fitness value of the chromosome as: ((nc2)-the no. of diagonal
conflicts).
Step 4: Mutate the Parent Chromosome by replacing the duplicate bit(s) of it by the unused
one(s), to generate the Child Chromosome.
Step 5: Compute the fitness of the Child Chromosome.
Step 6: Perform Elitism operation as:
6.1: If fitness of the Child is better than or equal to that of the Parent, make it Parent
for the next generation.
6.2: If Child fitness is not better than Parent fitness, calculate the probability of
accepting the Child as- p=e^ ((-delta E)/T) - where- delta E is the change of
energy (Parent fitness-Child fitness). Then, make the Child as the Parent for the
next generation depending upon this probability p.
 End Loop (temperature T)
Step 1: Place a queen in the top row, then note the column and diagonals it occupies.
Step 2: Then, place another queen in the next row, such that, it is not in the same column or
diagonal. Keep track of the occupied columns and diagonals and proceed to the next
row to place the next queen.
Step 3: If no position is open in the next row, get back to the previous row and place that
queen to the next available position in its row and the process starts over again, until
finding the correct arrangements for all the queens.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
21
Fig. 7: Classical Brute Force Search Algorithm to solve N Queens Problem
8. RESULTS
For experiment, some different numbers of queens have been taken as input in the
implementations of the four algorithms. The Fitness and Execution Time obtained by
implementing the Proposed GA and the Proposed SA using GA techniques are given in Table II.
The No. of Solutions and Execution Time obtained by implementing the Classical Backtracking
and Classical Brute Force Search Algorithms are mentioned in Table III. The Graphical
Representations of Fitness, No. of Solutions and Execution Time are also shown in Fig. 6, Fig. 7,
Fig. 8 and Fig. 9 respectively. And, most importantly, the System Specification is given in Table
I.
Table I: - System Specification
Hardware Used 512 GB Hard Disk & 2 GB RAM
Processor Type Core2Duo Processor
CPU Speed 2.93 GHz.
Operating System and Software Used Windows 7 and Turbo C++
Table II: - Comparison of Obtained Fitness and Execution Time between GA and SA
No. of Queens GA Fitness GA Time (Sec) SA Fitness
SA Time (Sec)
10 45 0.219780 40 0.054945
20 190 0.769231 175 0.109890
30 428 1.373626 414 0.164835
40 775 2.087912 753 0.219780
Step 1: At first, place a queen in the top row.
Step 2: Then, place a queen in the next row down.
Step 3: Check, if it is sharing the same column or same diagonal with the first queen. If yes,
then place the queen in the next available position in that row. Otherwise, move on
to the next row to place the next queen.
Step 4: If no position is open in the next row, move back to the previous row and move the
queen over to the next available place in its row and the process starts over again
and it will continue, until having the solution.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
22
50 1214 3.186813 1196 0.274725
60 1752 4.395604 1731 0.329670
70 2394 5.769231 2367 0.384615
80 3139 7.527473 3098 0.409276
90 3977 9.615385 3934 0.439560
100 4919 11.483516 4886 0.494505
110 5959 14.365604 5913 0.604396
120 7102 16.593407 7069 0.659341
130 8342 19.450549 8292 0.769231
140 9684 24.505495 9629 0.824176
150 11126 27.967033 11070 0.872395
160 12669 31.538462 12595 0.934066
170 14300 37.197802 14259 1.043956
180 16047 44.065934 15986 1.098901
190 17886 49.109890 17807 1.157549
200 19810 57.604376 19724 1.208571
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
23
0
5000
10000
15000
20000
25000
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
F
i
t
n
e
s
s
No. of Queens
GA and SA Fitness
GA Fitness
SA Fitness
Fig. 6:- The Graphical Representation of Comparison of Obtained Fitness between GA and SA
0
20
40
60
80
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200T
i
m
e
No. of Queens
GA and SA Time
GA Time
SA Time
Fig. 7:- The Graphical Representation of Comparison of Execution Time between GA and SA
Table III: - Comparison of Obtained No. of Solutions and Execution Time between BT and BF
No. of Queens
BT No. of
Solns.
BT Time (Sec)
BF No. of
Solns. BF Time (Sec)
1 1 0.000000 1 0.000000
2 0 0.000000 0 0.000000
3 0 0.000000 0 0.000000
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
24
4 2 0.000000 2 0.000000
5 10 0.000000 10 0.000000
6 4 0.000000 4 0.000000
7 40 0.054945 40 0.054945
8 92 0.109890 92 0.164835
9 352 0.384615 352 0.714286
10 724 1.153846 724 1.978022
11 2680 5.164835 2680 9.450549
12 14200 32.252747 14200 58.736264
0
2000
4000
6000
8000
10000
12000
14000
16000
1 2 3 4 5 6 7 8 9 10 11 12
BF Solns.
BT Solns.
Fig. 8:- The Graphical Representation of Comparison of No. of Solutions between BT and BF
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
25
0
10
20
30
40
50
60
70
1 2 3 4 5 6 7 8 9 10 11 12
BF Time
BT Time
Fig. 9:- The Graphical Representation of Comparison of Execution Times between BT and BF
9. ANALYSIS AND DISCUSSION
The Proposed Simulated Annealing Algorithm using GA takes less time than the Proposed
Genetic Algorithm, as it works on only one chromosome (solution) at a time and processes it to
get the result. The Proposed Genetic Algorithm (GA) gives better solution than the Proposed
Simulated Annealing (SA) Algorithm by GA, as it works on a population of chromosomes
(solutions) and processes them to get the result. Thus, it explores the search space, which helps to
get the solution close to the global optima. But, it is a very important and noticeable fact that,
Genetic and SA using GA Algorithms do not guarantee global optima, as these are random search
and optimization algorithms. Brute Force Search algorithm for N Queens Problem would
examine all possible arrangements of N Queens on the (N*N) matrix, and, for each arrangement,
check, whether each Queen can attack any other. It is simple to implement. It is typically used,
when the problem size is limited. This method is also used, when the simplicity of
implementation is more important than speed. It should not be confused with Backtracking,
where large sets of solutions can be discarded without being enumerated. So, it will take less time
than Brute Force Search Algorithm to solve N Queens Problem. Also, Brute Force (BF) Search
and Backtracking (BT) Algorithms provide exact result for the Queens [20, 21]. But, these two
algorithms cannot provide solutions in ample time, when N values are high. Therefore, these two
algorithms are not at all efficient and effective to solve N Queens Problem; whereas, Genetic
Algorithm (GA) and Simulated Annealing (SA) Algorithm by GA provide good solutions to
higher N Queen values.
10. CONCLUSION
In this paper, the performance of the Proposed Genetic Algorithm in terms of Fitness is enhanced,
except for some larger values of queens. The Proposed Genetic Algorithm has of score of
improvements over the Proposed Simulated Annealing Algorithm using GA and the other two
classical algorithms; i.e., Backtracking and Brute Force Search. Therefore, it can undoubtedly be
concluded that, the Proposed Genetic Algorithm is very much better than the Proposed Simulated
Annealing Algorithm by GA, w.r.t. Fitness of the Solutions obtained in the Result (8) Section, in
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
26
which our entire concentration was focused upon. But, as per Execution Time is concerned, the
Proposed Simulated Annealing by GA performed better than the Proposed Genetic Algorithm.
Also, there is no confusion to conclude that, the Proposed Genetic Algorithm (GA) and the
Proposed Simulated Annealing (SA) Algorithm using GA are very much better than the Classical
Brute Force Search and Backtracking Algorithms. Finally, one thing we must say that, this paper
is entirely nothing but a review based work.
11. FUTURE WORKS
This paper work can be extended by adding a few algorithms like Dynamic Programming,
Greedy, Hill Climbing, Tabu Search, Ant Colony Optimization, Swarm Optimization etc. to solve
N Queens Problem and make a comparative study of these algorithms and thus, making the whole
task more efficient and effective. Also, the Proposed Genetic Algorithm can be well modified, so
that, it can provide solution to higher values of N. Besides these, in the Proposed Genetic
Algorithm, some other selection/crossover/mutation methods can also be applied and comparative
analysis can be made among those methods to check, which method is better and this also will be
an efficient and effective work. Finally, although several modifications will have to be made, yet
this approach can be tried to be applied to solve 3D Queens Problem also.
ACKNOWLEDGEMENT
Firstly, we, the authors of this paper, offer devotion to the lotus feet of God for giving us courage
and blessings for doing this work successfully. Also, we thank our Parents for giving us support.
We are very much grateful to our Colleges and Departmental Faculties for giving us opportunity,
enthusiasm, working environment and facilities to complete this work in time. We are also very
much thankful to the Authors of various Research Papers, which provided us good enough
concepts and confidence for performing this work. We also believe that, the different study
materials of the internet provided us good enough knowledge and concept about this topic and
thus, helped us in performing this work. Without these helps and supports, we couldn’t have
completed this paper successfully at all.
REFERENCES
[1] Principles of Soft Computing, by S.N.Sivanandam and S.N.Deepa, 2nd Edition, Wiley India Pvt. Ltd.
[2] Genetic Algorithms in Search, Optimization, and Machine Learning, by David E. Goldberg, 4th
Edition, Dorling Kindersley (India) Pvt. Ltd.
[3] http://en.wikipedia.org/wiki/Simulated_annealing.
[4] http://en.wikipedia.org/wiki/Eight_queens_puzzle.
[5] http://www.civil.iitb.ac.in/tvm/2701_dga/2701-ga-notes/gadoc/gadoc.html.
[6] Solving n-Queen problem using global parallel genetic algorithm by Marko Božiković, Marin Golub
and Leo Budin.
[7] http://www.cs.bc.edu/~alvarez/ML/GA/nQueensGA.html.
[8] http://kursinfo.himolde.no/forskningsgrupper/papers/Chapter%203%20-
%20Genetic%20Algorithms.pdf.
[9] http://geneticalgorithms.ai-depot.com/Tutorial/Overview.html.
[10] Eric Cantú-Paz, A survey of parallel genetic algorithms. Computer Science Department and The
Illinois Genetic Algorithms Laboratory, University of Illinois at Urbana-Champaign.
cantupaz@illigal.ge.uiuc.edu.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015
27
[11] Ivica Martinjak, Marin Golub, Comparison of Heuristic Algorithms for the N-Queen Problem
(Citations: 5). International Conference on Information Technology Interfaces - ITI, pp. 759-764,
2007.
[12] Comparative Study on Genetic Algorithm and Backtracking Algorithm to Solve N-Queen Problem by
Santanu Datta, Pramit Brata Chanda, Soham Mukherjee, Sritama Bisi. Student Paper Contest, IEM
IEEE Student Chapter.
[13] Solving N Queen Problem Using Various Algorithms – A Survey by S. Pothumani, Department of
CSE, Bharath University, India. International Journal of Advanced Research in Computer Science
and Software Engineering. pp. 247-250, 2013, ISSN: 2277 128X.
[14] Genetic Algorithm-Survey Paper, by Anita Thengade and Rucha Dondal. IJCA Proceedings on
National Conference on Recent Trends in Computing, 7-8April, 2012, pp25-29, ISSN: 0975-8887.
[15] http://artint.info/html/ArtInt_89.html.
[16]http://www.cas.mcmaster.ca/~cs777/presentations/2_GO_Doron_Simulated_Annealing_and_Tabu.pdf.
[17] http://www.cs.nott.ac.uk/~nza/G52PAS/lecture4.pdf.
[18] www.ecs.umass.edu/ece/labs/vlsicad/ece665/presentations/SimulatedAnnealing-Oregan.ppt.
[19] http://love1for4to3.blogspot.in/2011/02/genetic-algorithm.html.
[20] http://en.wikipedia.org/wiki/Backtracking.
[21] http://en.wikipedia.org/wiki/Brute-force_search.
[22] A brief comparison of simulated annealing and genetic algorithm approaches by Jukka Kohonen.
Term paper for the "Three Concepts: Utility" course. 15.12.1999. Department of Computer Science,
University of Helsinki. http://www.cs.helsinki.fi/u/kohonen/papers/gasa.html.
[23] http://www.multiwingspan.co.uk/a23.php?page=types.

More Related Content

What's hot

Optimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization ProblemsOptimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization Problemsinventionjournals
 
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...ijceronline
 
On average case analysis through statistical bounds linking theory to practice
On average case analysis through statistical bounds  linking theory to practiceOn average case analysis through statistical bounds  linking theory to practice
On average case analysis through statistical bounds linking theory to practicecsandit
 
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICE
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICEON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICE
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICEcscpconf
 
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONGENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONijaia
 
Problem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsProblem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsDr. C.V. Suresh Babu
 
Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Riyad Parvez
 
2019 question bank (with answers) for viva
2019 question bank (with answers) for viva2019 question bank (with answers) for viva
2019 question bank (with answers) for vivaAnurag Srivastava
 
Hedging Predictions in Machine Learning
Hedging Predictions in Machine LearningHedging Predictions in Machine Learning
Hedging Predictions in Machine Learningbutest
 
Applied Machine Learning for Chemistry II (HSI2020)
Applied Machine Learning for Chemistry II (HSI2020)Applied Machine Learning for Chemistry II (HSI2020)
Applied Machine Learning for Chemistry II (HSI2020)Ichigaku Takigawa
 
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTION
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTIONOPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTION
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTIONijcsity
 
Memetic algorithm for the nurse
Memetic algorithm for the nurseMemetic algorithm for the nurse
Memetic algorithm for the nurseijaia
 
Project Analytics
Project AnalyticsProject Analytics
Project AnalyticsDanTrietsch
 
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATION
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATIONA MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATION
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATIONijaia
 
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"IJDKP
 
The application of irt using the rasch model presnetation1
The application of irt using the rasch model presnetation1The application of irt using the rasch model presnetation1
The application of irt using the rasch model presnetation1Carlo Magno
 
Privacy preserving data mining in four group randomized response technique us...
Privacy preserving data mining in four group randomized response technique us...Privacy preserving data mining in four group randomized response technique us...
Privacy preserving data mining in four group randomized response technique us...eSAT Journals
 

What's hot (20)

Optimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization ProblemsOptimality conditions for Equality Constrained Optimization Problems
Optimality conditions for Equality Constrained Optimization Problems
 
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...
TYPE-2 FUZZY LINEAR PROGRAMMING PROBLEMS WITH PERFECTLY NORMAL INTERVAL TYPE-...
 
Classical Test Theory (CTT)- By Dr. Jai Singh
Classical Test Theory (CTT)- By Dr. Jai SinghClassical Test Theory (CTT)- By Dr. Jai Singh
Classical Test Theory (CTT)- By Dr. Jai Singh
 
[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh
 
On average case analysis through statistical bounds linking theory to practice
On average case analysis through statistical bounds  linking theory to practiceOn average case analysis through statistical bounds  linking theory to practice
On average case analysis through statistical bounds linking theory to practice
 
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICE
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICEON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICE
ON AVERAGE CASE ANALYSIS THROUGH STATISTICAL BOUNDS : LINKING THEORY TO PRACTICE
 
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONGENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
 
Problem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsProblem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence Projects
 
Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?Why sat solvers have become so efficient in the last 10 15 years?
Why sat solvers have become so efficient in the last 10 15 years?
 
Differential evolution optimization technique
Differential evolution optimization techniqueDifferential evolution optimization technique
Differential evolution optimization technique
 
2019 question bank (with answers) for viva
2019 question bank (with answers) for viva2019 question bank (with answers) for viva
2019 question bank (with answers) for viva
 
Hedging Predictions in Machine Learning
Hedging Predictions in Machine LearningHedging Predictions in Machine Learning
Hedging Predictions in Machine Learning
 
Applied Machine Learning for Chemistry II (HSI2020)
Applied Machine Learning for Chemistry II (HSI2020)Applied Machine Learning for Chemistry II (HSI2020)
Applied Machine Learning for Chemistry II (HSI2020)
 
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTION
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTIONOPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTION
OPTIMAL CHOICE: NEW MACHINE LEARNING PROBLEM AND ITS SOLUTION
 
Memetic algorithm for the nurse
Memetic algorithm for the nurseMemetic algorithm for the nurse
Memetic algorithm for the nurse
 
Project Analytics
Project AnalyticsProject Analytics
Project Analytics
 
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATION
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATIONA MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATION
A MODIFIED VORTEX SEARCH ALGORITHM FOR NUMERICAL FUNCTION OPTIMIZATION
 
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"
EXPERIMENTS ON HYPOTHESIS "FUZZY K-MEANS IS BETTER THAN K-MEANS FOR CLUSTERING"
 
The application of irt using the rasch model presnetation1
The application of irt using the rasch model presnetation1The application of irt using the rasch model presnetation1
The application of irt using the rasch model presnetation1
 
Privacy preserving data mining in four group randomized response technique us...
Privacy preserving data mining in four group randomized response technique us...Privacy preserving data mining in four group randomized response technique us...
Privacy preserving data mining in four group randomized response technique us...
 

Viewers also liked

PALESTRA : A energia transformadora do autoconhecimento e da auto estima -fai
PALESTRA : A energia transformadora do autoconhecimento e da auto estima -faiPALESTRA : A energia transformadora do autoconhecimento e da auto estima -fai
PALESTRA : A energia transformadora do autoconhecimento e da auto estima -faiEdson Salgado Ávella
 
勉強会の行き方
勉強会の行き方勉強会の行き方
勉強会の行き方niku Kitamura
 
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELS
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELSAUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELS
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELSijfcstjournal
 
Chair & Conduct Important Board Meetings Successfully
Chair & Conduct Important Board Meetings SuccessfullyChair & Conduct Important Board Meetings Successfully
Chair & Conduct Important Board Meetings SuccessfullySadashiv Borgaonkar
 
Lifextreme - Onde a Magia Acontece
Lifextreme - Onde a Magia AconteceLifextreme - Onde a Magia Acontece
Lifextreme - Onde a Magia AconteceMiguel Duarte
 
Make effective decision
Make effective decisionMake effective decision
Make effective decisionPengyuan Zhao
 
Senior citizen suffering from removable dentures & treated successfully by d...
Senior citizen suffering from removable dentures  & treated successfully by d...Senior citizen suffering from removable dentures  & treated successfully by d...
Senior citizen suffering from removable dentures & treated successfully by d...Best Laser Dental Clinic
 
13 причини защо ( Джей Ашър)
13 причини защо ( Джей Ашър) 13 причини защо ( Джей Ашър)
13 причини защо ( Джей Ашър) tlisheva
 
REGIONE UMBRIA - Bando TAC 2
REGIONE UMBRIA - Bando TAC 2REGIONE UMBRIA - Bando TAC 2
REGIONE UMBRIA - Bando TAC 2BTO Educational
 
Toxicilogical problems 1
Toxicilogical problems 1Toxicilogical problems 1
Toxicilogical problems 1Georgi Daskalov
 
IT Labs Corporate Presentation
IT Labs Corporate PresentationIT Labs Corporate Presentation
IT Labs Corporate PresentationIT Labs LLC
 
Feira do empreendedor sebrae 25 de fev
Feira do empreendedor sebrae 25 de fevFeira do empreendedor sebrae 25 de fev
Feira do empreendedor sebrae 25 de fevANA FONTES
 
[07] - Ainda Tens Muito Tempo
[07] - Ainda Tens Muito Tempo[07] - Ainda Tens Muito Tempo
[07] - Ainda Tens Muito TempoMiguel Duarte
 
Roteiro de estudos 7 sem 2016-1
Roteiro de estudos   7 sem 2016-1Roteiro de estudos   7 sem 2016-1
Roteiro de estudos 7 sem 2016-1pablonaba
 
18 Sales Experts Share Their Experience
18 Sales Experts Share Their Experience18 Sales Experts Share Their Experience
18 Sales Experts Share Their ExperiencePeyman Moeini
 
Resultados twitter Curling Nevada Barcelona 5
Resultados twitter Curling Nevada Barcelona 5Resultados twitter Curling Nevada Barcelona 5
Resultados twitter Curling Nevada Barcelona 5Selva Orejón
 

Viewers also liked (20)

PALESTRA : A energia transformadora do autoconhecimento e da auto estima -fai
PALESTRA : A energia transformadora do autoconhecimento e da auto estima -faiPALESTRA : A energia transformadora do autoconhecimento e da auto estima -fai
PALESTRA : A energia transformadora do autoconhecimento e da auto estima -fai
 
勉強会の行き方
勉強会の行き方勉強会の行き方
勉強会の行き方
 
Markets Today
Markets TodayMarkets Today
Markets Today
 
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELS
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELSAUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELS
AUTOMATED WORD PREDICTION IN BANGLA LANGUAGE USING STOCHASTIC LANGUAGE MODELS
 
Apresentação Learncafe 2011
Apresentação Learncafe 2011Apresentação Learncafe 2011
Apresentação Learncafe 2011
 
WikiVermo
WikiVermoWikiVermo
WikiVermo
 
Chair & Conduct Important Board Meetings Successfully
Chair & Conduct Important Board Meetings SuccessfullyChair & Conduct Important Board Meetings Successfully
Chair & Conduct Important Board Meetings Successfully
 
Lifextreme - Onde a Magia Acontece
Lifextreme - Onde a Magia AconteceLifextreme - Onde a Magia Acontece
Lifextreme - Onde a Magia Acontece
 
Make effective decision
Make effective decisionMake effective decision
Make effective decision
 
Senior citizen suffering from removable dentures & treated successfully by d...
Senior citizen suffering from removable dentures  & treated successfully by d...Senior citizen suffering from removable dentures  & treated successfully by d...
Senior citizen suffering from removable dentures & treated successfully by d...
 
13 причини защо ( Джей Ашър)
13 причини защо ( Джей Ашър) 13 причини защо ( Джей Ашър)
13 причини защо ( Джей Ашър)
 
REGIONE UMBRIA - Bando TAC 2
REGIONE UMBRIA - Bando TAC 2REGIONE UMBRIA - Bando TAC 2
REGIONE UMBRIA - Bando TAC 2
 
Toxicilogical problems 1
Toxicilogical problems 1Toxicilogical problems 1
Toxicilogical problems 1
 
IT Labs Corporate Presentation
IT Labs Corporate PresentationIT Labs Corporate Presentation
IT Labs Corporate Presentation
 
Feira do empreendedor sebrae 25 de fev
Feira do empreendedor sebrae 25 de fevFeira do empreendedor sebrae 25 de fev
Feira do empreendedor sebrae 25 de fev
 
[07] - Ainda Tens Muito Tempo
[07] - Ainda Tens Muito Tempo[07] - Ainda Tens Muito Tempo
[07] - Ainda Tens Muito Tempo
 
Roteiro de estudos 7 sem 2016-1
Roteiro de estudos   7 sem 2016-1Roteiro de estudos   7 sem 2016-1
Roteiro de estudos 7 sem 2016-1
 
18 Sales Experts Share Their Experience
18 Sales Experts Share Their Experience18 Sales Experts Share Their Experience
18 Sales Experts Share Their Experience
 
Resultados twitter Curling Nevada Barcelona 5
Resultados twitter Curling Nevada Barcelona 5Resultados twitter Curling Nevada Barcelona 5
Resultados twitter Curling Nevada Barcelona 5
 
Climate change in 10 minutes cynnal cymru
Climate change in 10 minutes cynnal cymruClimate change in 10 minutes cynnal cymru
Climate change in 10 minutes cynnal cymru
 

Similar to Comparative study of algorithms to solve N queens problem

COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMCOMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMijfcstjournal
 
A Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsA Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsIJMERJOURNAL
 
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...Xin-She Yang
 
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmReview of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmXin-She Yang
 
Extended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmExtended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmIJMIT JOURNAL
 
Multi objective optimization using
Multi objective optimization usingMulti objective optimization using
Multi objective optimization usingijaia
 
Artificial Intelligence in Robot Path Planning
Artificial Intelligence in Robot Path PlanningArtificial Intelligence in Robot Path Planning
Artificial Intelligence in Robot Path Planningiosrjce
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...CSCJournals
 
The potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delayThe potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delayPieter Rautenbach
 
Extended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmExtended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmIJMIT JOURNAL
 
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEM
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEMA MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEM
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEMacijjournal
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionXin-She Yang
 

Similar to Comparative study of algorithms to solve N queens problem (20)

COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMCOMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
 
A Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test FunctionsA Genetic Algorithm on Optimization Test Functions
A Genetic Algorithm on Optimization Test Functions
 
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
 
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmReview of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
 
Extended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmExtended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithm
 
Multi objective optimization using
Multi objective optimization usingMulti objective optimization using
Multi objective optimization using
 
H012225053
H012225053H012225053
H012225053
 
Artificial Intelligence in Robot Path Planning
Artificial Intelligence in Robot Path PlanningArtificial Intelligence in Robot Path Planning
Artificial Intelligence in Robot Path Planning
 
T01732115119
T01732115119T01732115119
T01732115119
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
 
The potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delayThe potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delay
 
Extended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithmExtended pso algorithm for improvement problems k means clustering algorithm
Extended pso algorithm for improvement problems k means clustering algorithm
 
1582997627872.pdf
1582997627872.pdf1582997627872.pdf
1582997627872.pdf
 
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEM
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEMA MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEM
A MULTI-POPULATION BASED FROG-MEMETIC ALGORITHM FOR JOB SHOP SCHEDULING PROBLEM
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
 
IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)
 
Selfadaptive report
Selfadaptive reportSelfadaptive report
Selfadaptive report
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential Evolution
 

More from ijfcstjournal

A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGA SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGijfcstjournal
 
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESA COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESijfcstjournal
 
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...ijfcstjournal
 
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...ijfcstjournal
 
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...ijfcstjournal
 
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...ijfcstjournal
 
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGAN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGijfcstjournal
 
EAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYEAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYijfcstjournal
 
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSEDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSijfcstjournal
 
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSPSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSijfcstjournal
 
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...ijfcstjournal
 
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGA MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGijfcstjournal
 
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...ijfcstjournal
 
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHA NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHijfcstjournal
 
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSAGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSijfcstjournal
 
International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)ijfcstjournal
 
AN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESAN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESijfcstjournal
 
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...ijfcstjournal
 
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMS
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMSA STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMS
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMSijfcstjournal
 
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERING
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERINGA LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERING
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERINGijfcstjournal
 

More from ijfcstjournal (20)

A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGA SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
 
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESA COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
 
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
 
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
 
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
 
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
 
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGAN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
 
EAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYEAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITY
 
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSEDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
 
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSPSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
 
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
 
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGA MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
 
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
 
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHA NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
 
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSAGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
 
International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)
 
AN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESAN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMES
 
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
 
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMS
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMSA STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMS
A STATISTICAL COMPARATIVE STUDY OF SOME SORTING ALGORITHMS
 
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERING
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERINGA LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERING
A LOCATION-BASED MOVIE RECOMMENDER SYSTEM USING COLLABORATIVE FILTERING
 

Recently uploaded

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 

Recently uploaded (20)

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 

Comparative study of algorithms to solve N queens problem

  • 1. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 DOI:10.5121/ijfcst.2015.5202 15 COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM Soham Mukherjee1 , Santanu Datta1 , Pramit Brata Chanda2 , Pratik Pathak1 1 Computer Science & Engineering, M.Tech, Academy of Technology, Hooghly, India 2 Computer Science & Engineering, M.Tech, Kalyani Govt. Engg. College, Kalyani, India ABSTRACT This Paper provides a brief description of the Genetic Algorithm (GA), the Simulated Annealing (SA) Algorithm, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and attempts to explain the way as how our Proposed Genetic Algorithm (GA), Proposed Simulated Annealing (SA) Algorithm using GA, Classical Backtracking (BT) Algorithm and Classical Brute Force (BF) Search Algorithm can be employed in finding the best solution of N Queens Problem and also, makes a comparison between these four algorithms. It is entirely a review based work. The four algorithms were written as well as implemented. From the Results, it was found that, the Proposed Genetic Algorithm (GA) performed better than the Proposed Simulated Annealing (SA) Algorithm using GA, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and it also provided better fitness value (solution) than the Proposed Simulated Annealing Algorithm (SA) using GA, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm, for different N values. Also, it was noticed that, the Proposed GA took more time to provide result than the Proposed SA using GA. KEYWORDS Tractable and Intractable Problems, N Queens Problem, Genetic Algorithm, Simulated Annealing Algorithm,Backtracking Algorithm, Brute Force Search Algorithm, Fitness, No. of Solutions, Time. 1. INTRODUCTION Depending on the classification of functions into polynomial and exponential, we can divide computational problems into two types-tractable and intractable. So, the tractability of a problem depends on how difficult the problem is w.r.t. the amount of time it takes to successfully solve the problem. This is related to the time complexity of the problem. If a problem has given solution in a small amount of time, then it can be easily solved in polynomial time and named as tractable problem. But, there are some problems, which can only be solved by some algorithms, whose execution time grows very quickly in case of larger input size and these problems cannot be solved in polynomial time by a conventional algorithm. These problems are named as intractable [23]. The N Queens Problem is a classical intractable problem, which is often used in case of discussing about various searching problems. In general, the goal is to place N number of queens on the (N*N) chessboard, so that no two queens can threaten each other [4]. According to the rule of this problem, a queen can move in either along a row, or along a column, or along a diagonal. In an (N*N) chessboard, each of the N queens will be located on exactly one row, one column, and two diagonals. The rest of the paper is organized as follows. The Overview of Genetic Algorithm is discussed in Section 2. The Overview of SA Algorithm is narrated in Section 3. The Overviews of Backtracking and Brute Force Search Algorithms are given in
  • 2. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 16 Section 4 and 5 respectively. A Theoretical Comparison among the used Algorithms is made in Section 6. The Proposed Work and Algorithms are explained in Section 7. The Results are shown in Section 8 with Analysis and Discussion in Section 9 and ultimate Conclusion is made in Section 10, followed by Future Works in Section 11, Acknowledgement and finally, References. Fig. 1: Queens’ Position in (4*4) Chess Board 2. OVERVIEW OF GENETIC ALGORITHM Genetic Algorithm is an optimization algorithm, which follows the concept of natural selection. It is a probabilistic search method, based on the ideas of evolution. It follows the Darwinian’s Survival of the Fittest Principle. Unlike the traditional methods, it is suitable for many real world problems, in which the goal is to find optimal solution. It is a process, which operates on chromosomes. It differs from classical search algorithms. It searches among a group of points, rather than a single point; and works with a coding of parameter set, rather than the parameters themselves. The method of the genetic algorithm is probabilistic; whereas, traditional algorithms use deterministic methods. Because of these features of genetic algorithm, it is used as a general optimization algorithm. It also searches in irregular search areas and hence, it is applied to varieties function optimization. In case of GA, a population of strings is used, and these strings are named as chromosomes. Genetic Algorithm can reach to a solution, close to the global optima. It has advantages over traditional algorithms, which cannot always achieve a global or close to global optima. But, it does not always guarantee optimal solution, because of its randomness [5, 19]. The steps of Genetic Algorithm are given in Fig. 2. Fig. 2: Steps of Genetic Algorithm Q1 Q2 Q3 Q4 Step 1: Create an initial population of solutions of a certain size randomly (Parent Pool). Step 2: Evaluate each solution in the population and assign it a fitness value. Step 3: Select good solutions based on fitness values and discard the rest of the solutions. Step 4: If suitable solution(s) found in the current generation or maximum number of generations has completed, then stop. Step 5: Otherwise, Change the population using crossover and mutation to create a new population of solutions (Child Pool). Step 6: Copy the Child Pool to the Parent Pool. Step 7: Go to step 2.
  • 3. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 17 3. OVERVIEW OF SIMULATED ANNEALING ALGORITHM Simulated Annealing (SA) is a probabilistic search and optimization method. It is very often used, when the search space is discrete. It follows “Annealing”, which is a process, in which metals are cooled gradually to make them reach a state of less energy, where they are very strong. Simulated Annealing is a meta-heuristic optimization algorithm. The random movement occurs at high temperature and at low temperature, there is very less randomness. Simulated Annealing, at each step, picks a variable randomly; and then, it also picks a value randomly. If giving that value to the variable makes an improvement to the solution or keeps it same, then the algorithm accepts the assignment and there comes a new current value. Otherwise, it accepts the value with some probability, depending on the temperature and how much bad the value is than the current value. If the change to the system is not accepted, then the current value is unaltered [3, 15]. It is better than Hill Climbing Algorithm, where bad states are not accepted at any cost and global optima may not be reached in case of most of the problems. The steps of SA Algorithm are given in Fig. 3. Fig. 3: Steps of Simulated Annealing Algorithm 4. OVERVIEW OF BACKTRACKING It is a general algorithm for finding the solutions of some problem, which use the concept of a "partial candidate solution" and a quick test of whether it can possibly be completed to a valid solution or not. When it is applicable, backtracking is often much faster than brute force search, since it can eliminate a large number of candidates with a single test. Backtracking is an important tool for solving problems like Crosswords, Sudoku and many other puzzles etc. It is often the most effective technique for the knapsack problem and other optimization problems. Backtracking depends on user-defined procedures, which define the problem to be solved, the nature of the partial candidates and how they are extended into complete solution. It is, therefore, not a specific algorithm – although, unlike many other non-specific algorithms, it is guaranteed to find all solutions to a problem in a comparatively less amount of time [20]. 5. OVERVIEW OF BRUTE FORCE SEARCH Brute Force Search, which is also known as Generate and Test, is a very well known algorithm, which examines all possible candidates for the solution and checks, whether each candidate satisfies the problem's criteria or not. A brute force search algorithm for the n queens problem will examine all possible placements of n queens on the (n*n) chessboard, and, for each placement, check, whether each queen can attack any other or not. The basic idea of the brute force search algorithm for n queen’s problem is to place each of the n queens on all possible Step 1: Start with a random initial placement. Initialize a high temperature. Step 2: Modify the placement through a defined change. Step 3: Calculate the difference in the energy due to the change made. Step 4: Depending on the difference in energy, accept or reject the change. Step 5: Update the temperature value by reducing the temperature very slowly. Step 6: Go back to Step 2 [16, 18].
  • 4. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 18 positions and check each time, whether the queens threaten each other. If not, then it has reached a solution. Brute-force search is very simple to implement, and it will always find a solution, if it exists. Its complexity grows very quickly, as the problem size increases. Therefore, brute-force search is mostly used, when the problem size is relatively small. It is also used, when the simplicity of implementation is more crucial than speed [21]. 6. THEORITICAL COMPARISON AMONG THE USED ALGORITHMS Genetic Algorithm (GA) and Simulated Annealing (SA) Algorithm are both Optimization Algorithms, while Backtracking (BT) and Brute Force (BF) Search Algorithms are both not at all Optimization Algorithms. Their methodology is quite different. Let us make a brief comparison among GA, SA, BT and BF Algorithms. In SA, we discuss about solutions, temperature, neighbours, moves etc. But with GA, we discuss about chromosomes, fitness, selection, crossover, mutation, elitism etc. SA makes a new solution by modifying a solution by making a move. But GA makes solutions using the combination of two or three different solutions [22]. GA is a heuristic Algorithm, while SA is a meta-heuristic Algorithm. In GA, a few probabilities like crossover probability, mutation probability are there; while in SA, there is only one probability used; i.e., probability to accept a bad state. Unlike GA, a term Entropy is used in SA. It is an extremely important term in SA. Both GA and SA have some randomness. In case of BT and BF Algorithms, there is no randomness. They are very much similar, but little bit different in their methodologies. BF uses the concept Generate and Test. It generates a solution and then tests that solution to check, whether it is correct or not. But, BT builds and checks each and every partial solution and discards wrong partial solutions. It uses the concept Test and Generate. Hence, BT takes less time to solve problems than BF. But, both these two algorithms are not at all efficient and effective to solve problems, when the input size becomes large. These algorithms are good for solving problems, when the input size is relatively small. 7. PROPOSED WORK AND ALGORITHMS In both of the Proposed Genetic Algorithm (GA) and Proposed Simulated Annealing (SA) Algorithm using GA, our entire concentration was focused on the fitnesses of the solutions, as in case of Genetic Algorithm, fitness is the most important factor, which signifies the goodness and optimality of the solution. We also had a good and conscious look on the execution time. Here, we applied some modified approaches in both of the proposed algorithms. Firstly, in both algorithms, we didn’t start with unique valued population of chromosomes. We just randomly generated the initial population (Parent Pool) of chromosomes and therefore, some duplicate valued chromosomes may be present in that population. So, initially, there may be column conflicts in that population, which are completely eliminated, when we mutated the child population (Child Pool), that was generated after the two point crossover operation in the Proposed GA, which may also increase the column conflicts in the population of chromosomes. Also, the same mutation operation is done on the child population (Child Pool), which was generated after the evaluation operation in the Proposed SA using GA. We also used the temperature loop operation as the generation loop operation; in the SA Algorithm using GA. Most important of all; as mentioned earlier, we always concentrated hard on the fitness of the solutions. Hence, in the Proposed GA, we, not only just copied the Child Pool to the Parent Pool, but also took the best fitness of the Parent Pool and the Child Pool and compared between them.
  • 5. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 19 Then, we copied the corresponding best fitness’ chromosome (between the two best fitness’ chromosomes) to the 0th location of the New Parent Pool and showed the corresponding fitness as the “GA Fitness” in the Result (8) Section. In both the proposed algorithms, we evaluated the solutions by using the formula (n c2 – the no. of diagonal conflicts), where n c2 is the maximum number of non-attacking queen pairs. The Proposed Genetic Algorithm (GA) and the Proposed Simulated Annealing (SA) Algorithm using GA are given in Fig. 4 and Fig. 5 respectively. 7.1 ALGORITHM N_QUEEN_SOLUTION BY PROPOSED GA Input: A Population (Group) of Solutions (Chromosomes), each representing the placement of N number of Queens in (N*N) Chessboard. Output: The Optimal Solution (Fitness), representing the placement of N number of Queens in the (N*N) Chessboard according to the rule of the N Queens Problem. Fig. 4: Proposed Genetic Algorithm to solve N Queens Problem 7.2 ALGORITHM N_QUEEN_SOLUTION BY PROPOSED SA USING GA Input: A Solution (Chromosome), representing the placement of N number of Queens in the (N*N) Chessboard. Output: The Optimal Solution (Fitness), representing the placement of N number of Queens in the (N*N) Chessboard according to the rule of the N Queens Problem. Step 1: Randomly generate the Initial Population of Queens (Parent Pool). Step 2: Evaluate the chromosomes of the Parent Pool as: 2.1: Fitness function is the no. of non-attacking queen pairs=nc2 (maximum value). 2.2: Calculate the fitness value of each of the chromosomes as: ((nc2)-the no. of diagonal conflicts). Step 3: Find the best fitness’ chromosome of the Parent Pool.  Loop (generation) Step 4: Perform Tournament Selection as the selection procedure. Step 5: Now, generate offsprings (Child Pool) by performing Two Point Crossover Operation. Step 6: Mutate the offsprings by replacing the duplicate bits of the Child Pool chromosomes by the unused ones. Step 7: Perform Elitism operation as: 7.1: Copy the Child Pool to the Parent Pool. 7.2: Find the best fitness’ chromosome of the New Parent Pool. 7.3: Compare the fitnesses of the best fitness’ chromosomes of the Parent Pool and the New
  • 6. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 20 Fig. 5: Proposed Simulated Annealing Algorithm using GA to solve N Queens Problem 7.3 ALGORITHM N_QUEEN_SOLUTION BY BACKTRACKING Input: The number of Queens (N). Output: The Number of Solutions (Placements) of that very number of Queens’ Problem, according to the rule of the problem. Fig. 6: Classical Backtracking Algorithm to solve N Queens Problem 7.4 ALGORITHM N_QUEEN_SOLUTION BY BRUTE FORCE SEARCH Input: The number of Queens (N). Output: The Number of Solutions (Placements) of that very number of Queens’ Problem, according to the rule of the problem. Step 1: Firstly, Initialize 2 Temperatures-Initial Temperature (high) and Final Temperature (low). Step 2: Randomly generate the Parent Chromosome of Queens.  Loop (temperature T) Step 3: Evaluate the Parent Chromosome as: 3.1: Fitness function is the no. of non-attacking queen pairs=nc2 (maximum value). 3.2: Calculate the fitness value of the chromosome as: ((nc2)-the no. of diagonal conflicts). Step 4: Mutate the Parent Chromosome by replacing the duplicate bit(s) of it by the unused one(s), to generate the Child Chromosome. Step 5: Compute the fitness of the Child Chromosome. Step 6: Perform Elitism operation as: 6.1: If fitness of the Child is better than or equal to that of the Parent, make it Parent for the next generation. 6.2: If Child fitness is not better than Parent fitness, calculate the probability of accepting the Child as- p=e^ ((-delta E)/T) - where- delta E is the change of energy (Parent fitness-Child fitness). Then, make the Child as the Parent for the next generation depending upon this probability p.  End Loop (temperature T) Step 1: Place a queen in the top row, then note the column and diagonals it occupies. Step 2: Then, place another queen in the next row, such that, it is not in the same column or diagonal. Keep track of the occupied columns and diagonals and proceed to the next row to place the next queen. Step 3: If no position is open in the next row, get back to the previous row and place that queen to the next available position in its row and the process starts over again, until finding the correct arrangements for all the queens.
  • 7. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 21 Fig. 7: Classical Brute Force Search Algorithm to solve N Queens Problem 8. RESULTS For experiment, some different numbers of queens have been taken as input in the implementations of the four algorithms. The Fitness and Execution Time obtained by implementing the Proposed GA and the Proposed SA using GA techniques are given in Table II. The No. of Solutions and Execution Time obtained by implementing the Classical Backtracking and Classical Brute Force Search Algorithms are mentioned in Table III. The Graphical Representations of Fitness, No. of Solutions and Execution Time are also shown in Fig. 6, Fig. 7, Fig. 8 and Fig. 9 respectively. And, most importantly, the System Specification is given in Table I. Table I: - System Specification Hardware Used 512 GB Hard Disk & 2 GB RAM Processor Type Core2Duo Processor CPU Speed 2.93 GHz. Operating System and Software Used Windows 7 and Turbo C++ Table II: - Comparison of Obtained Fitness and Execution Time between GA and SA No. of Queens GA Fitness GA Time (Sec) SA Fitness SA Time (Sec) 10 45 0.219780 40 0.054945 20 190 0.769231 175 0.109890 30 428 1.373626 414 0.164835 40 775 2.087912 753 0.219780 Step 1: At first, place a queen in the top row. Step 2: Then, place a queen in the next row down. Step 3: Check, if it is sharing the same column or same diagonal with the first queen. If yes, then place the queen in the next available position in that row. Otherwise, move on to the next row to place the next queen. Step 4: If no position is open in the next row, move back to the previous row and move the queen over to the next available place in its row and the process starts over again and it will continue, until having the solution.
  • 8. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 22 50 1214 3.186813 1196 0.274725 60 1752 4.395604 1731 0.329670 70 2394 5.769231 2367 0.384615 80 3139 7.527473 3098 0.409276 90 3977 9.615385 3934 0.439560 100 4919 11.483516 4886 0.494505 110 5959 14.365604 5913 0.604396 120 7102 16.593407 7069 0.659341 130 8342 19.450549 8292 0.769231 140 9684 24.505495 9629 0.824176 150 11126 27.967033 11070 0.872395 160 12669 31.538462 12595 0.934066 170 14300 37.197802 14259 1.043956 180 16047 44.065934 15986 1.098901 190 17886 49.109890 17807 1.157549 200 19810 57.604376 19724 1.208571
  • 9. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 23 0 5000 10000 15000 20000 25000 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 F i t n e s s No. of Queens GA and SA Fitness GA Fitness SA Fitness Fig. 6:- The Graphical Representation of Comparison of Obtained Fitness between GA and SA 0 20 40 60 80 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200T i m e No. of Queens GA and SA Time GA Time SA Time Fig. 7:- The Graphical Representation of Comparison of Execution Time between GA and SA Table III: - Comparison of Obtained No. of Solutions and Execution Time between BT and BF No. of Queens BT No. of Solns. BT Time (Sec) BF No. of Solns. BF Time (Sec) 1 1 0.000000 1 0.000000 2 0 0.000000 0 0.000000 3 0 0.000000 0 0.000000
  • 10. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 24 4 2 0.000000 2 0.000000 5 10 0.000000 10 0.000000 6 4 0.000000 4 0.000000 7 40 0.054945 40 0.054945 8 92 0.109890 92 0.164835 9 352 0.384615 352 0.714286 10 724 1.153846 724 1.978022 11 2680 5.164835 2680 9.450549 12 14200 32.252747 14200 58.736264 0 2000 4000 6000 8000 10000 12000 14000 16000 1 2 3 4 5 6 7 8 9 10 11 12 BF Solns. BT Solns. Fig. 8:- The Graphical Representation of Comparison of No. of Solutions between BT and BF
  • 11. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 25 0 10 20 30 40 50 60 70 1 2 3 4 5 6 7 8 9 10 11 12 BF Time BT Time Fig. 9:- The Graphical Representation of Comparison of Execution Times between BT and BF 9. ANALYSIS AND DISCUSSION The Proposed Simulated Annealing Algorithm using GA takes less time than the Proposed Genetic Algorithm, as it works on only one chromosome (solution) at a time and processes it to get the result. The Proposed Genetic Algorithm (GA) gives better solution than the Proposed Simulated Annealing (SA) Algorithm by GA, as it works on a population of chromosomes (solutions) and processes them to get the result. Thus, it explores the search space, which helps to get the solution close to the global optima. But, it is a very important and noticeable fact that, Genetic and SA using GA Algorithms do not guarantee global optima, as these are random search and optimization algorithms. Brute Force Search algorithm for N Queens Problem would examine all possible arrangements of N Queens on the (N*N) matrix, and, for each arrangement, check, whether each Queen can attack any other. It is simple to implement. It is typically used, when the problem size is limited. This method is also used, when the simplicity of implementation is more important than speed. It should not be confused with Backtracking, where large sets of solutions can be discarded without being enumerated. So, it will take less time than Brute Force Search Algorithm to solve N Queens Problem. Also, Brute Force (BF) Search and Backtracking (BT) Algorithms provide exact result for the Queens [20, 21]. But, these two algorithms cannot provide solutions in ample time, when N values are high. Therefore, these two algorithms are not at all efficient and effective to solve N Queens Problem; whereas, Genetic Algorithm (GA) and Simulated Annealing (SA) Algorithm by GA provide good solutions to higher N Queen values. 10. CONCLUSION In this paper, the performance of the Proposed Genetic Algorithm in terms of Fitness is enhanced, except for some larger values of queens. The Proposed Genetic Algorithm has of score of improvements over the Proposed Simulated Annealing Algorithm using GA and the other two classical algorithms; i.e., Backtracking and Brute Force Search. Therefore, it can undoubtedly be concluded that, the Proposed Genetic Algorithm is very much better than the Proposed Simulated Annealing Algorithm by GA, w.r.t. Fitness of the Solutions obtained in the Result (8) Section, in
  • 12. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 26 which our entire concentration was focused upon. But, as per Execution Time is concerned, the Proposed Simulated Annealing by GA performed better than the Proposed Genetic Algorithm. Also, there is no confusion to conclude that, the Proposed Genetic Algorithm (GA) and the Proposed Simulated Annealing (SA) Algorithm using GA are very much better than the Classical Brute Force Search and Backtracking Algorithms. Finally, one thing we must say that, this paper is entirely nothing but a review based work. 11. FUTURE WORKS This paper work can be extended by adding a few algorithms like Dynamic Programming, Greedy, Hill Climbing, Tabu Search, Ant Colony Optimization, Swarm Optimization etc. to solve N Queens Problem and make a comparative study of these algorithms and thus, making the whole task more efficient and effective. Also, the Proposed Genetic Algorithm can be well modified, so that, it can provide solution to higher values of N. Besides these, in the Proposed Genetic Algorithm, some other selection/crossover/mutation methods can also be applied and comparative analysis can be made among those methods to check, which method is better and this also will be an efficient and effective work. Finally, although several modifications will have to be made, yet this approach can be tried to be applied to solve 3D Queens Problem also. ACKNOWLEDGEMENT Firstly, we, the authors of this paper, offer devotion to the lotus feet of God for giving us courage and blessings for doing this work successfully. Also, we thank our Parents for giving us support. We are very much grateful to our Colleges and Departmental Faculties for giving us opportunity, enthusiasm, working environment and facilities to complete this work in time. We are also very much thankful to the Authors of various Research Papers, which provided us good enough concepts and confidence for performing this work. We also believe that, the different study materials of the internet provided us good enough knowledge and concept about this topic and thus, helped us in performing this work. Without these helps and supports, we couldn’t have completed this paper successfully at all. REFERENCES [1] Principles of Soft Computing, by S.N.Sivanandam and S.N.Deepa, 2nd Edition, Wiley India Pvt. Ltd. [2] Genetic Algorithms in Search, Optimization, and Machine Learning, by David E. Goldberg, 4th Edition, Dorling Kindersley (India) Pvt. Ltd. [3] http://en.wikipedia.org/wiki/Simulated_annealing. [4] http://en.wikipedia.org/wiki/Eight_queens_puzzle. [5] http://www.civil.iitb.ac.in/tvm/2701_dga/2701-ga-notes/gadoc/gadoc.html. [6] Solving n-Queen problem using global parallel genetic algorithm by Marko Božiković, Marin Golub and Leo Budin. [7] http://www.cs.bc.edu/~alvarez/ML/GA/nQueensGA.html. [8] http://kursinfo.himolde.no/forskningsgrupper/papers/Chapter%203%20- %20Genetic%20Algorithms.pdf. [9] http://geneticalgorithms.ai-depot.com/Tutorial/Overview.html. [10] Eric Cantú-Paz, A survey of parallel genetic algorithms. Computer Science Department and The Illinois Genetic Algorithms Laboratory, University of Illinois at Urbana-Champaign. cantupaz@illigal.ge.uiuc.edu.
  • 13. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.2, March 2015 27 [11] Ivica Martinjak, Marin Golub, Comparison of Heuristic Algorithms for the N-Queen Problem (Citations: 5). International Conference on Information Technology Interfaces - ITI, pp. 759-764, 2007. [12] Comparative Study on Genetic Algorithm and Backtracking Algorithm to Solve N-Queen Problem by Santanu Datta, Pramit Brata Chanda, Soham Mukherjee, Sritama Bisi. Student Paper Contest, IEM IEEE Student Chapter. [13] Solving N Queen Problem Using Various Algorithms – A Survey by S. Pothumani, Department of CSE, Bharath University, India. International Journal of Advanced Research in Computer Science and Software Engineering. pp. 247-250, 2013, ISSN: 2277 128X. [14] Genetic Algorithm-Survey Paper, by Anita Thengade and Rucha Dondal. IJCA Proceedings on National Conference on Recent Trends in Computing, 7-8April, 2012, pp25-29, ISSN: 0975-8887. [15] http://artint.info/html/ArtInt_89.html. [16]http://www.cas.mcmaster.ca/~cs777/presentations/2_GO_Doron_Simulated_Annealing_and_Tabu.pdf. [17] http://www.cs.nott.ac.uk/~nza/G52PAS/lecture4.pdf. [18] www.ecs.umass.edu/ece/labs/vlsicad/ece665/presentations/SimulatedAnnealing-Oregan.ppt. [19] http://love1for4to3.blogspot.in/2011/02/genetic-algorithm.html. [20] http://en.wikipedia.org/wiki/Backtracking. [21] http://en.wikipedia.org/wiki/Brute-force_search. [22] A brief comparison of simulated annealing and genetic algorithm approaches by Jukka Kohonen. Term paper for the "Three Concepts: Utility" course. 15.12.1999. Department of Computer Science, University of Helsinki. http://www.cs.helsinki.fi/u/kohonen/papers/gasa.html. [23] http://www.multiwingspan.co.uk/a23.php?page=types.