Professional Documents
Culture Documents
Chapter 4
Chapter 4
net/publication/336071523
CITATIONS READS
0 1,405
1 author:
Mazin Haithem
Baghdad College of Economic Sciences University
12 PUBLICATIONS 10 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Mazin Haithem on 26 September 2019.
4
4.1 introduction
in this chapter dealing with following point
• proposed system scope
• system design
• implementation of proposed system
• discuses system result
Proposed Genetic
Proposed system
Begin
Pop_size=n
str_len = 14
For i = 1 To pop_size
For j = 1 To str_len
p(i, j) = RndNum(0, 1)
strin(Gen, i) = strin(Gen, i) + Right(Str(p(i,
j)), 1)
Next j
Next i
end
Fitness function
To solve a problem, some means or procedures must be used
to discriminate good solution from bad solution.
A fitness function must be devised for each problem, given a
particular chromosome; the fitness function returns a single numerical
fitness value, which is proportional to the ability, or utility, of the
individual represented by that chromosome. Better chromosomes are
assigned higher fitness function values .
For many problems, deciding upon the fitness function is very
straightforward, for example, for function optimization search; the fitness
is simply the value of the function. However, there are cases where there
may be many performance measures to optimize .
Using 1/energy sum as fitness function[30].
For example
011111 (A NAND B)
000101 (A NXOR B)
001110 (A XOR B)
Apply fitness as
Assume eng. Data list to improve it for all Gate
and buss thus:
1/ ~(A xor B) > 1/ ~(~A XOR ~B)
where ~ is NOT
For i = 1 To pop_size
Assign energy (Data, f)
Fitness( i) = (1 / ( f))
Next i
End
List 2
Binary stream Gen Max Mini Avr
11111011101110 1 0.01282 0.00006 0.009
11111010100000 2 0.00346 0.00006 0.003
11111100110010 3 0.00043 0.00006 0.001
11111101110100 4 0.00131 0.00006 0.002
11110001111111 5 0.00354 0.00006 0.003
11110000110010 6 0.00161 0.00006 0.002
11111010101111 7 0.0011 0.00006 0.001
11111100000011 8 0.00309 0.00006 0.003
11111100001110 9 0.01111 0.00006 0.007
11110010001111 10 0.00113 0.00006 0.002
11111011011101 11 0.00084 0.00006 0.002
11111101100100 12 0.00131 0.00006 0.002
11101000111100 13 0.00133 0.00006 0.002
11110101010111 14 0.00395 0.00006 0.004
11100100011111 15 0.00069 0.00006 0.001
11111011111101 16 0.00884 0.00006 0.01
11101100010011 17 0.00069 0.00006 0.001
11101101110100 18 0.00154 0.00006 0.002
11101110110111 19 0.00124 0.00006 0.002
11111100111010 20 0.00084 0.00006 0.001
11110010001111 21 0.00531 0.00006 0.004
11110111011101 22 0.00641 0.00006 0.005
11111100100011 23 0.00102 0.00006 0.002
11111110010010 24 0.01538 0.00006 0.01
11101010001111 25 0.00173 0.00006 0.002
11111011011101 26 0.00088 0.00006 0.003
11100101011001 27 0.00045 0.00006 0.001
11111111001110 28 0.00089 0.00006 0.001
11111100011010 29 0.01369 0.00006 0.009
11110100110111 30 0.00558 0.00006 0.004
11111011111101 31 0.00354 0.00006 0.004
11111011100010 32 0.00111 0.00006 0.002
11110000101111 33 0.00452 0.00006 0.004
11111101001101 34 0.0014 0.00006 0.002
11101010111101 35 0.00093 0.00006 0.001
11100100001111 36 0.0014 0.00006 0.002
11111010001111 37 0.00114 0.00006 0.003
11011101001101 38 0.00102 0.00007 0.002
11111010000110 39 0.01369 0.00006 0.009
11100111001101 40 0.00049 0.00006 0.001
11111110010010 41 0.00045 0.00006 0.001
11110000001111 42 0.00049 0.00006 0.001
11111101001101 43 0.0014 0.00006 0.002
11101000111100 44 0.00735 0.00006 0.006
11111100000110 45 0.00197 0.00006 0.002
11110110001111 46 0.00088 0.00006 0.002
11101101100001 47 0.00343 0.00006 0.003
11111110101111 48 0.00264 0.00006 0.002
11110100010110 49 0.00151 0.00006 0.002
11111100011010 50 0.0014 0.00006 0.002
11110011011011 51 0.00558 0.00006 0.004
11101101111001 52 0.00104 0.00006 0.001
11111010101111 53 0.00044 0.00006 0.001
11101101110100 54 0.0027 0.00006 0.003
11110110111111 55 0.01075 0.00006 0.007
11100100101111 56 0.00505 0.00006 0.005
11111010001111 57 0.00531 0.00006 0.005
11110100110110 58 0.00558 0.00006 0.006
11111100000011 59 0.00134 0.00006 0.002
11110011110011 60 0.00558 0.00006 0.004
11110101010001 61 0.00062 0.00006 0.001
11111010001111 62 0.00142 0.00006 0.002
11111001100100 63 0.0011 0.00006 0.001
11110101111111 64 0.00085 0.00006 0.002
11110110010010 65 0.01369 0.00006 0.008
11110101001101 66 0.00113 0.00006 0.001
11110100110110 67 0.004 0.00006 0.003
11100100101111 68 0.00069 0.00007 0.001
11111010101111 69 0.00045 0.00006 0.001
11110001110100 70 0.00173 0.00006 0.003
11110010001111 71 0.00151 0.00006 0.002
11110001101010 72 0.00343 0.00006 0.003
11111011100110 73 0.00111 0.00006 0.002
11111110111111 74 0.00026 0.00006 0.001
11110101101101 75 0.0014 0.00006 0.002
11111110100110 76 0.00413 0.00006 0.003
11101101111001 77 0.0014 0.00006 0.002
11011110000010 78 0.00105 0.00007 0.001
11011101000100 79 0.00296 0.00007 0.002
11110111001110 80 0.00067 0.00006 0.001
11111010111101 81 0.00395 0.00006 0.004
11111110010010 82 0.00729 0.00006 0.006
11101110111111 83 0.00129 0.00006 0.002
11111101001101 84 0.00105 0.00006 0.002
11110101110111 85 0.00091 0.00006 0.002
11100100101000 86 0.00093 0.00006 0.001
11110110001111 87 0.00088 0.00006 0.002
11110101000100 88 0.00271 0.00006 0.002
11111101001101 89 0.0014 0.00006 0.002
11111011111101 90 0.00246 0.00006 0.004
11110110010010 91 0.0014 0.00006 0.002
11101100100100 92 0.00413 0.00006 0.004
11101101111001 93 0.00105 0.00006 0.001
11110001110111 94 0.01052 0.00006 0.012
11100100011111 95 0.02 0.00006 0.015
11111100111111 96 0.01075 0.00006 0.007
11110101101101 97 0.00113 0.00006 0.001
11100100010111 98 0.00099 0.00006 0.001
11111011100010 99 0.00111 0.00006 0.001
11100111010100 100 0.00581 0.00006 0.004
Chapter five
5.1 introduction
in this chapter dealing with following point
• conclusion point
• future work suggestion
5
5.2 conclusion
many point achieved from proposed system :
1- it wrest case using small search space to achieved goal.
2- best method to design logic circuit and calculate estimate real
energy value by apply fitness function, to find the best design.
3- Two or more than circuit give same result with different energy
support designer to choice one of them so clear and benefit.
4- Bit stream with length 14 is more flexible to view similarity and
redundant avoid with high speed .
5- Setting facility support by proposed system give multi case study
to improve and show genetic algorithm powerful and wrest case
.
5.3 future work suggestion
while deal with computer system and design theory thus no
complete work as really, many of suggestion for future and list some of
them
1- proposed system with specific number of gate and input “limited in
design “, suggest as more flexible with N and M variantnumber
input and gate..
2- All energy value is estimated with E.001 to real value, suggest to
increasing it to be near to real value .
3- If add auto_plot channel improve all circuit design on printed
board .
4- Change bit stream with new code system give more powerful result
because binary system not benefit with variant gate and input large,
west time.