SlideShare une entreprise Scribd logo
1  sur  19
B Y
S . R E N U G A D E V I
I M . S C [ C . S ]
N A D A R S A R A S W A T H I A R T S & S C I E N C E
C O L L E G E
GENETIC OPERATORS
Introduction:
 The GAuGE system (Genetic Algorithms using
Grammatical Evolution) uses a position-
independent representation, which allows it to
specify both the position and the value of each
phenotypic variable.
 It employs a genotype-tophenotype mapping process
which ensures all variables are specified once and
only once: in other words, no under- nor over-
specification ever occurs in the system.
 An interesting problem domain is where the set of
values to be ordered is not fixed a-priori.
 And neither is it an ordinal sequence; the objective of
the system in this case is not only to find the correct
sequence of variables, but also the correct set of
values for all variables.
GAuGE System:
 The GAuGE system works as a mapping process
applied to binary genotype strings, which are evolved
using a standard genetic algorithm.
 It interprets those strings as a sequence of position
and value specifications, and constructs a phenotype
string, which is then evaluated.
 The design of GAuGE was based on many of the
biologically inspired features present in GE, such as
a genotype-to-phenotype mapping process,
functional dependency between genes.
 And the use of degeneracy (i.e. a many-to-one
correspondance between genotype and phenotype).
Mapping Process:
 Consider a problem composed of four phenotypic
variables (ℓ = 4), ranging between the values 0 and 7;
the objective of the system is to find the set of values
that solves the problem, and their optimal order.
 The underlying search algorithm maintains a
population of genotype strings. The length of each
string depends on a chosen position field size (pfs)
and a value field size (vfs)
 For example, take the following example genotype
string:
G = 001001101101110100010010.
 The mapping process will proceed to create a
phenotype string P.
 It consists of four steps: Φ : G Φ1 −−→ X Φ2 −−→ D
Φ3 −−→ R Φ4 −−→ P
 After processing all four pairs, the string of desired
specifications becomes:
D = (Di , D˜ i) = (0, 1),(2, 6),(1, 4),(0)
 At this stage, it can be seen that there are some
conflicts in the position specifications (position 0 is
specified twice, and position 3 is still unspecified).
 The third mapping step (Φ3) consists in removing
these conflicts, creating a string of real specifications
 This string is created as follows. The first position
specified, 0, is kept, as there are no conflicts at this
stage, so R0 = 0 (i.e. the first position on the
phenotype string).
 The desired value specified, 5, is mapped to the
range of the first phenotypic variable; as all variables
share the same range in this problem, it is not
affected:
 R = (Ri , R˜ i) = (0, 5),(?, ?),(?, ?),(?,?).
Suitability of Operators:
 These operators suggest that an interesting problem
domain for GAuGE would be where not only the
contents but also the ordering of variables are to be
discovered.
 Recent results showed the suitability of GAuGE to
solve a harder version of the Sudoku puzzle. This
work introduces a comparison with a standard
genetic algorithm on this problem, and a deeper
analysis of the effect of the genetic operators on the
results obtained.
 The standard puzzle is composed of a 3×3 grid of
blocks, each composed of 3×3 cells, for a total of 81
cells .
 The objective of the puzzle is to fill each cell with a
number from 1 to 9, such that the following three
conditions hold.
 1) Each row contains the numbers 1 to 9 only once.
 2) Each column contains the numbers 1 to 9 only
once;.
 3) Each block contains the numbers 1 to 9 only once.
 A set of numbers are initially loaded with each puzzle
(called givens).
 A puzzle is called well-formed if only one solution
exists, and it can be solved using logic (that is, no
guessing is required to complete it).
Logical Operations:
 The problem of solving Sudoku puzzles on n 2×n 2
boards of n×n blocks is known to be NP-complete
[19]; this gives an indication of why solving Sudoku
puzzles can be difficult.
 However, due to the finite size of the puzzle, it can be
solved by a deterministic finite automaton that
knows the entire game tree.
 There are many such logical operations; below are some of the
most common (and simpler) techniques:
 1) Last Remaining: This is a simple logic operation, that can
be applied to any kind of region (row, column or block). It
simply checks if that region has already eight numbers placed,
in which case it places the remaining one.
 2) Slice and Dice: This is a combination of two operations,
slice and dice [20], and can be applied when trying to place
number n in block b. Slice looks for n in each row passing
through b; if it contains n, then the three cells intersecting
with b cannot contain n. Dice works with columns instead.
 If, after applying slice and dice, only one cell is available, then
it must contain n
 3) Column Fill: This technique tries to place number
n in column c. It looks for n in all rows and blocks
passing through c; if a row or block contain n, then
the cell(s) corresponding to the intersection of that
region and column c cannot contain n.
 If after checking all rows and blocks there is only one
cell available in column c, then that cell must contain
n..
 4) Row Fill: This technique tries to place the number
n in row r, and works in the same way as Column
Fill, but going through all the columns instead
 5) Raising Numbers: This technique tries to place
the number n in block b, by checking each empty cell
in b to changed into a problem termed Blind Sudoku.
 The difference with the original puzzle lies on the
way in which solutions are evaluated:
 1) A sequence of instructions is applied to the puzzle;
 2) A fitness score is returned to the whole sequence.
 3) If the puzzle was not solved, it is reset to its
original configuration.
 This cycle continues until a solution is found, or a
stop condition (such as a maximum number of
evaluations) is reached.
 In other words, the puzzle is never available to the
algorithm, neither is a measure of goodness for each
individual logic instruction, effectively making the
problem much harder
Conclusion:
 There is no perfect algorithm, and this is certainly
the case with GAuGE.
 The effect of its mapping process on genotypic
strings can be quite drastic, seriously affecting its
performance on certain problems, and leading to the
design of specific genetic operators .
 This is certainly the case for problems with
“position-sensitive data”, in which the functionality
of a value is completely dependent on its phenotypic
location, and different phenotypic variables encode
different types of data.

Contenu connexe

Tendances

Lesson plan 6 (23 11-2010)
Lesson plan 6 (23 11-2010)Lesson plan 6 (23 11-2010)
Lesson plan 6 (23 11-2010)itachihei
 
Function and relation
Function and relationFunction and relation
Function and relationEfgelBolibol
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
Storyboard math
Storyboard mathStoryboard math
Storyboard mathshandex
 
Module on Relations in a function
Module on Relations in a functionModule on Relations in a function
Module on Relations in a functionjune eslao
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesFahim Ferdous
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & rangeRenee Scott
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functionsKatrina Young
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawaleSagar Hadawale
 
Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Mark Hilbert
 
4.6 Relations And Functions
4.6 Relations And Functions4.6 Relations And Functions
4.6 Relations And Functionsguestd1dc2e
 
data structures- back tracking
data structures- back trackingdata structures- back tracking
data structures- back trackingAbinaya B
 

Tendances (20)

7 functions
7   functions7   functions
7 functions
 
Lesson plan 6 (23 11-2010)
Lesson plan 6 (23 11-2010)Lesson plan 6 (23 11-2010)
Lesson plan 6 (23 11-2010)
 
Function and relation
Function and relationFunction and relation
Function and relation
 
Sudoku
SudokuSudoku
Sudoku
 
Pre-Cal 40S June 3, 2009
Pre-Cal 40S June 3, 2009Pre-Cal 40S June 3, 2009
Pre-Cal 40S June 3, 2009
 
Metric Of Language
Metric Of LanguageMetric Of Language
Metric Of Language
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Storyboard math
Storyboard mathStoryboard math
Storyboard math
 
Module on Relations in a function
Module on Relations in a functionModule on Relations in a function
Module on Relations in a function
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and Examples
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & range
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawale
 
Congress
Congress Congress
Congress
 
Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Function an old french mathematician said[1]12
Function an old french mathematician said[1]12
 
4.6 Relations And Functions
4.6 Relations And Functions4.6 Relations And Functions
4.6 Relations And Functions
 
Matrices - Discrete Structures
Matrices - Discrete StructuresMatrices - Discrete Structures
Matrices - Discrete Structures
 
A new approach for ranking of intuitionistic fuzzy numbers
A new approach for ranking of intuitionistic fuzzy numbersA new approach for ranking of intuitionistic fuzzy numbers
A new approach for ranking of intuitionistic fuzzy numbers
 
data structures- back tracking
data structures- back trackingdata structures- back tracking
data structures- back tracking
 
Desm s mathematics
Desm s mathematicsDesm s mathematics
Desm s mathematics
 

Similaire à Genetic operators

5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptxArupKhakhlari1
 
Bidirectional graph search techniques for finding shortest path in image base...
Bidirectional graph search techniques for finding shortest path in image base...Bidirectional graph search techniques for finding shortest path in image base...
Bidirectional graph search techniques for finding shortest path in image base...Navin Kumar
 
Numerical
NumericalNumerical
Numerical1821986
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...Zac Darcy
 
Equations and tilings
Equations and tilingsEquations and tilings
Equations and tilingsnavajomath
 
chapter1.pdf ......................................
chapter1.pdf ......................................chapter1.pdf ......................................
chapter1.pdf ......................................nourhandardeer3
 
PCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdfPCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdfssusera1eccd
 
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...IJECEIAES
 
Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Konstantinos Giannakis
 
MHT Multi Hypothesis Tracking - Part2
MHT Multi Hypothesis Tracking - Part2MHT Multi Hypothesis Tracking - Part2
MHT Multi Hypothesis Tracking - Part2Engin Gul
 
Discrete structure ch 3 short question's
Discrete structure ch 3 short question'sDiscrete structure ch 3 short question's
Discrete structure ch 3 short question'shammad463061
 

Similaire à Genetic operators (20)

5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx
 
Bidirectional graph search techniques for finding shortest path in image base...
Bidirectional graph search techniques for finding shortest path in image base...Bidirectional graph search techniques for finding shortest path in image base...
Bidirectional graph search techniques for finding shortest path in image base...
 
F0422052058
F0422052058F0422052058
F0422052058
 
Numerical
NumericalNumerical
Numerical
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Algorithm Assignment Help
Algorithm Assignment HelpAlgorithm Assignment Help
Algorithm Assignment Help
 
Planted Clique Research Paper
Planted Clique Research PaperPlanted Clique Research Paper
Planted Clique Research Paper
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
 
Equations and tilings
Equations and tilingsEquations and tilings
Equations and tilings
 
Ou3425912596
Ou3425912596Ou3425912596
Ou3425912596
 
chapter1.pdf ......................................
chapter1.pdf ......................................chapter1.pdf ......................................
chapter1.pdf ......................................
 
Joco pavone
Joco pavoneJoco pavone
Joco pavone
 
PCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdfPCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdf
 
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
A Mixed Binary-Real NSGA II Algorithm Ensuring Both Accuracy and Interpretabi...
 
Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...Initialization methods for the tsp with time windows using variable neighborh...
Initialization methods for the tsp with time windows using variable neighborh...
 
MHT Multi Hypothesis Tracking - Part2
MHT Multi Hypothesis Tracking - Part2MHT Multi Hypothesis Tracking - Part2
MHT Multi Hypothesis Tracking - Part2
 
06 mlp
06 mlp06 mlp
06 mlp
 
Discrete structure ch 3 short question's
Discrete structure ch 3 short question'sDiscrete structure ch 3 short question's
Discrete structure ch 3 short question's
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 

Plus de DEEPIKA T

71619109 configuration-management.pdf (1) (1)
71619109 configuration-management.pdf (1) (1)71619109 configuration-management.pdf (1) (1)
71619109 configuration-management.pdf (1) (1)DEEPIKA T
 
Parallelizing matrix multiplication
Parallelizing  matrix multiplicationParallelizing  matrix multiplication
Parallelizing matrix multiplicationDEEPIKA T
 
Health care in big data analytics
Health care in big data analyticsHealth care in big data analytics
Health care in big data analyticsDEEPIKA T
 
Role of human interaction
Role of human interactionRole of human interaction
Role of human interactionDEEPIKA T
 
Basic analtyics & advanced analtyics
Basic analtyics & advanced analtyicsBasic analtyics & advanced analtyics
Basic analtyics & advanced analtyicsDEEPIKA T
 
Soap,Rest&Json
Soap,Rest&JsonSoap,Rest&Json
Soap,Rest&JsonDEEPIKA T
 
Remote method invocation
Remote  method invocationRemote  method invocation
Remote method invocationDEEPIKA T
 
Graph representation
Graph representationGraph representation
Graph representationDEEPIKA T
 
Presentation2
Presentation2Presentation2
Presentation2DEEPIKA T
 
Depth first search [dfs]
Depth first search [dfs]Depth first search [dfs]
Depth first search [dfs]DEEPIKA T
 
Topological sort
Topological sortTopological sort
Topological sortDEEPIKA T
 

Plus de DEEPIKA T (20)

See
SeeSee
See
 
71619109 configuration-management.pdf (1) (1)
71619109 configuration-management.pdf (1) (1)71619109 configuration-management.pdf (1) (1)
71619109 configuration-management.pdf (1) (1)
 
80068
8006880068
80068
 
242296
242296242296
242296
 
Data mining
Data miningData mining
Data mining
 
Parallelizing matrix multiplication
Parallelizing  matrix multiplicationParallelizing  matrix multiplication
Parallelizing matrix multiplication
 
Health care in big data analytics
Health care in big data analyticsHealth care in big data analytics
Health care in big data analytics
 
Ajax
AjaxAjax
Ajax
 
Role of human interaction
Role of human interactionRole of human interaction
Role of human interaction
 
Basic analtyics & advanced analtyics
Basic analtyics & advanced analtyicsBasic analtyics & advanced analtyics
Basic analtyics & advanced analtyics
 
Soap,Rest&Json
Soap,Rest&JsonSoap,Rest&Json
Soap,Rest&Json
 
Applet (1)
Applet (1)Applet (1)
Applet (1)
 
Jdbc ja
Jdbc jaJdbc ja
Jdbc ja
 
Appletjava
AppletjavaAppletjava
Appletjava
 
Remote method invocation
Remote  method invocationRemote  method invocation
Remote method invocation
 
Graph representation
Graph representationGraph representation
Graph representation
 
Al
AlAl
Al
 
Presentation2
Presentation2Presentation2
Presentation2
 
Depth first search [dfs]
Depth first search [dfs]Depth first search [dfs]
Depth first search [dfs]
 
Topological sort
Topological sortTopological sort
Topological sort
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 

Dernier (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Genetic operators

  • 1. B Y S . R E N U G A D E V I I M . S C [ C . S ] N A D A R S A R A S W A T H I A R T S & S C I E N C E C O L L E G E GENETIC OPERATORS
  • 2. Introduction:  The GAuGE system (Genetic Algorithms using Grammatical Evolution) uses a position- independent representation, which allows it to specify both the position and the value of each phenotypic variable.  It employs a genotype-tophenotype mapping process which ensures all variables are specified once and only once: in other words, no under- nor over- specification ever occurs in the system.
  • 3.  An interesting problem domain is where the set of values to be ordered is not fixed a-priori.  And neither is it an ordinal sequence; the objective of the system in this case is not only to find the correct sequence of variables, but also the correct set of values for all variables.
  • 4. GAuGE System:  The GAuGE system works as a mapping process applied to binary genotype strings, which are evolved using a standard genetic algorithm.  It interprets those strings as a sequence of position and value specifications, and constructs a phenotype string, which is then evaluated.
  • 5.  The design of GAuGE was based on many of the biologically inspired features present in GE, such as a genotype-to-phenotype mapping process, functional dependency between genes.  And the use of degeneracy (i.e. a many-to-one correspondance between genotype and phenotype).
  • 6. Mapping Process:  Consider a problem composed of four phenotypic variables (ℓ = 4), ranging between the values 0 and 7; the objective of the system is to find the set of values that solves the problem, and their optimal order.  The underlying search algorithm maintains a population of genotype strings. The length of each string depends on a chosen position field size (pfs) and a value field size (vfs)
  • 7.  For example, take the following example genotype string: G = 001001101101110100010010.  The mapping process will proceed to create a phenotype string P.  It consists of four steps: Φ : G Φ1 −−→ X Φ2 −−→ D Φ3 −−→ R Φ4 −−→ P
  • 8.  After processing all four pairs, the string of desired specifications becomes: D = (Di , D˜ i) = (0, 1),(2, 6),(1, 4),(0)  At this stage, it can be seen that there are some conflicts in the position specifications (position 0 is specified twice, and position 3 is still unspecified).  The third mapping step (Φ3) consists in removing these conflicts, creating a string of real specifications
  • 9.  This string is created as follows. The first position specified, 0, is kept, as there are no conflicts at this stage, so R0 = 0 (i.e. the first position on the phenotype string).  The desired value specified, 5, is mapped to the range of the first phenotypic variable; as all variables share the same range in this problem, it is not affected:  R = (Ri , R˜ i) = (0, 5),(?, ?),(?, ?),(?,?).
  • 10. Suitability of Operators:  These operators suggest that an interesting problem domain for GAuGE would be where not only the contents but also the ordering of variables are to be discovered.  Recent results showed the suitability of GAuGE to solve a harder version of the Sudoku puzzle. This work introduces a comparison with a standard genetic algorithm on this problem, and a deeper analysis of the effect of the genetic operators on the results obtained.
  • 11.  The standard puzzle is composed of a 3×3 grid of blocks, each composed of 3×3 cells, for a total of 81 cells .  The objective of the puzzle is to fill each cell with a number from 1 to 9, such that the following three conditions hold.  1) Each row contains the numbers 1 to 9 only once.  2) Each column contains the numbers 1 to 9 only once;.  3) Each block contains the numbers 1 to 9 only once.
  • 12.
  • 13.  A set of numbers are initially loaded with each puzzle (called givens).  A puzzle is called well-formed if only one solution exists, and it can be solved using logic (that is, no guessing is required to complete it).
  • 14. Logical Operations:  The problem of solving Sudoku puzzles on n 2×n 2 boards of n×n blocks is known to be NP-complete [19]; this gives an indication of why solving Sudoku puzzles can be difficult.  However, due to the finite size of the puzzle, it can be solved by a deterministic finite automaton that knows the entire game tree.
  • 15.  There are many such logical operations; below are some of the most common (and simpler) techniques:  1) Last Remaining: This is a simple logic operation, that can be applied to any kind of region (row, column or block). It simply checks if that region has already eight numbers placed, in which case it places the remaining one.  2) Slice and Dice: This is a combination of two operations, slice and dice [20], and can be applied when trying to place number n in block b. Slice looks for n in each row passing through b; if it contains n, then the three cells intersecting with b cannot contain n. Dice works with columns instead.  If, after applying slice and dice, only one cell is available, then it must contain n
  • 16.  3) Column Fill: This technique tries to place number n in column c. It looks for n in all rows and blocks passing through c; if a row or block contain n, then the cell(s) corresponding to the intersection of that region and column c cannot contain n.  If after checking all rows and blocks there is only one cell available in column c, then that cell must contain n..  4) Row Fill: This technique tries to place the number n in row r, and works in the same way as Column Fill, but going through all the columns instead
  • 17.  5) Raising Numbers: This technique tries to place the number n in block b, by checking each empty cell in b to changed into a problem termed Blind Sudoku.  The difference with the original puzzle lies on the way in which solutions are evaluated:  1) A sequence of instructions is applied to the puzzle;  2) A fitness score is returned to the whole sequence.
  • 18.  3) If the puzzle was not solved, it is reset to its original configuration.  This cycle continues until a solution is found, or a stop condition (such as a maximum number of evaluations) is reached.  In other words, the puzzle is never available to the algorithm, neither is a measure of goodness for each individual logic instruction, effectively making the problem much harder
  • 19. Conclusion:  There is no perfect algorithm, and this is certainly the case with GAuGE.  The effect of its mapping process on genotypic strings can be quite drastic, seriously affecting its performance on certain problems, and leading to the design of specific genetic operators .  This is certainly the case for problems with “position-sensitive data”, in which the functionality of a value is completely dependent on its phenotypic location, and different phenotypic variables encode different types of data.