magicfile icon وبسایت فایل سحرآمیز - magicfile.ir

نمونه سورس و کد vb.net در موضوع الگوریتم هسته ای

نمونه-سورس-و-کد-vb.net-در-موضوع-الگوریتم هسته-ای
توضیحات کوتاه و لینک دانلود
Today, in this post, for you dear users of the magic file website, we have put a sample source and vb.net code in the topic of kernel algorithm ready for download.

دانلود - Download

لیست فایل های مشابه

لینک کوتاه : https://en.magicfile.ir/?p=2264
توضیحات کامل در مورد فایل

دانلود نمونه سورس و کد vb.net در موضوع الگوریتم هسته ای

Today, in this post, for you, dear users of the magic file website, we have put a sample source and vb.net code in the topic of nuclear algorithm ready for download.

نمونه تصویر در زمان اجرا نرم افزار

نمونه سورس و کد vb.net در موضوع الگوریتم هسته ای

در مورد الگوریتم هسته ای بیشتر بدانید

Introduction: This is the first generation of very new algorithms. We project a well-known phenomenon in nuclear physics called nuclear fission into the optimization problem. Basic Definitions: Nuclear fission: When a neutron hits the nucleus of an atom of the uranium-235 isotope, it causes that nucleus to split into two pieces, each of which contains a nucleus with about half the protons and neutrons of the original nucleus. Is. In the fission process, a large amount of thermal energy is released, as well as gamma rays and two or more neutrons. Under certain conditions, the runaway neutrons collide with surrounding uranium nuclei, causing further fission of the surrounding uranium nuclei, which then emit more neutrons that split more nuclei. This series of rapidly increasing fissions culminates in a chain reaction in which almost all of the fissile material is consumed. Fission of neutron and proton: Neutron: fundamental particle in the nucleus of the atom that has no electric charge, we will show it as {name, value}, in our proposed example: the name will be an alphabetic letter and the value refers to below. The weight between the current neutron and the next neutron. Proton: elementary particle with a positive electric charge, in our proposed example we represent it as a {name, value}: the name will always be [PROTON] and the value is omitted because we ignore the electric effect here. The reason for using protons will be mentioned later. Nucleus: An organized group of neutrons and protons (because order is important in our example). Compactness: describes the internal structure of the nucleus, here defined as the total number of neutrons inside the nucleus. Redundancy: It also describes the internal structure of the nucleus and is defined as the highest frequency among all the neutrons inside the nucleus. Of course, it cannot be less than one. Potential: The latent power of the kernel describes its ability in the best solution (in case of maximization or minimization). For each nucleus, it is performed with the sum of the weights of all neutrons in the nucleus. We will look for the optimal kernel with the least potential (for example, the minimization problem) that satisfies compactness and redundancy conditions. Criticality: The criticality (total reaction) is determined by the probability that a neutron released in fission will cause the next fission. If, on average, less than one neutron causes another fission, the fission rate decreases with time and eventually decreases to Zero is called this sub-critical situation. When more than one neutron causes the next fission, the fission rate and power increase and the state is called supercritical. Thermonuclear factor: the more powerful the explosion, the more heat energy is produced, when more neutrons are released after each fission unit, more heat (bigger explosion) is produced (this increases the criticality of the reaction ), here is denoted by the average number released. Neutrons cause atomic decay: after splitting, the unstable atomic nucleus decays into a more stable nucleus that emits beta particles and gamma rays. In negative beta decay (with the symbol ?--decay), an unstable nucleus emits an energetic electron and a podneutrino, and a neutron in the nucleus is converted to a proton, which remains in the product nucleus. Here we neglected electron and antineutrino effects to keep things simple. We will choose the worst neutron of the nucleus for that decay. The basics of this algorithm will help: Data structure diagram and implementation: We will try to consider the simplest way to implement our concepts. Otherwise, the calculations will be very complicated. ??Simulation_Problem class: The problem is simulated by a 2D array representing the travel costs from state X1 to state X2. States are named alphabetically. . Z} This class is created every time you load the program to generate a new random matrix of real numbers. To get the cost [X1 - X2] we will look at row X1 and column X2 in the matrix. ??neutron class: (name as string, value as double) This is used for neutrons and protons, but when used for protons the name will be "PROTON", when for neutrons is used, the name will be a name. Nucleus class alphanucleus: -Sub Random_Fill_Nucleus(): to fill it with random neutrons and protons after each reaction. -Function Potentiality(): To get the sum of kernel weights we want to minimize it to get the lowest possible cost and this is what the reaction will do. -Function Redundancy(): searches for the maximum redundancy in the core, this is a harsh term that many solutions are eliminated because of it, as we will see later, it cannot be less than one. -Function Compactness(): the number of neutrons we have in the nucleus, this will be an important condition in the optimal solution, where we are committed to its minimum value, there is no specific answer to this problem, so we will solve did abo has a certain compression threshold and leaves it up to the end user to determine the best answer. -Sub Emit_Beta(): looks for the neutron with the worst value in the nucleus and turns it into a proton. Class Serial_Reaction: -Sub initialize(): For all material values: generate a random kernel without redundancy (additive = 1) and calculate the weights of all random kernels. We also have an array of active neutrons and fill it with a user-specified initial released neutron (which is a random number of neutrons), sure that this will affect the intensification of the nuclear reaction. If we have not already determined any value for the best solution, assign any core to it. (This only happens before the first reaction). -Sub Release(): applies a set of reactions to the material and is represented by these steps: check the stopping factor to see if we must forcefully stop for each nucleus in the material: -a random neutron from the set of active neutrons get the . -Generate a suitable random integer to determine the location of the impact -Put the active neutron inside the core to perform the impact -If the impact core meets the redundancy and compression threshold, it will not be sacrificed. But to continue the reaction, it is marked as "not ready" and added to the list of candidates. - If the shocked nucleus does not meet the thresholds, it undergoes nuclear fission: + Split the nucleus into two equal parts. + Look for the neutron with the best value (lowest value) in each part. + Add the best found neutrons to the list of active neutrons according to the thermonuclear factor + Then both parts undergo atomic decay according to the atomic decay factor. + Process radioactive nuclei after atomic decay (remove invalid excess and recalculate the values ​​of both parts because the structure of the nucleus has changed) and add to the candidate list afterwards. Check the list of new candidates: If we find a core with a better overall cost (lower potential), this is our best new solution. Call Sub initialize() to prepare for the new reaction. Using the program: [Please read the whole article before running the program] Actually the program does most of the work for you, it creates a new problem at each start, you just need to set the right parameters for the algorithm. Don't use a large amount of material or a large atomic decay factor (we'll get to that) a large amount of material or a huge core size will crash your computer. (I use core2dou with a 4GB RAM computer for default parameters) The stopping factor determines the number of reactions, and since we used the letters A..Z as possible states, the compression cannot exceed 26 (the interface is sensitive to most parameters protects). Press Start to start, if it takes too long, press Stop and change the parameters to study their effect. (You may need to implement a new problem in the code to study the effect well) At the top of the form you will see the number of unique solutions (duplicate solutions are removed from this) and the optimal solutions in the box The text is printed. In the middle of the form points of interest: we found that the optimal kernel size for many samples can be estimated by this equation: kernel size = compression factor * 2 + redundancy factor so it is automatically set by the program. If you read the code deeply, you will notice that the state of each reaction will be supercritical at the start. And after time it becomes sub-critical. This is good because we are not sure of the exact compression value and this method gives us a good range of compression due to splitting. Sometimes, if you change the parameters, you will see that after some time the reaction state becomes subcritical and then all the fissile materials are consumed, so the serial reaction does not continue, you should try to avoid this state. Here we implemented sub To-String() to display only neutrons, actually if you display the whole nucleus (sometimes) you will see protons in it, in our implementation we bypassed these protons because We assumed that their occurrence or order has no effect. Calculating the weight in the real world, the neutrons released after fission will be two or more, so to maintain the supercritical state and avoid being in the "fissile material is consumed" state, choose a suitable number (of course greater than one). Select as a thermonuclear agent. Due to the nature of the atomic decay mechanism, compactness is deeply affected by the atomic decay factor, so you should choose a relatively small number (but greater than zero). Nuclei will initially have a large potential where the reaction is supercritical and due to fission (which reduces the compaction and thus the total cost of neutrons) the nuclei will have a low potential where the reaction becomes subcritical. And that's what we want because it's active. Neutrons collide with small potential nuclei to produce more optimal solutions. The function Redundancy_Killer() is very important to reduce the redundancy to the minimum level (1) so that we can generate new comparable random kernels. In this example, the nuclei were initialized with 10% of protons. Real-world application (example): an airline wants a business plan to organize its flights in many countries, visiting at least X airports with the least amount of fuel, and with conditions such as: not to visit the same airport more than (N) . load) 3 or 4 times..because there will not be many passengers and therefore the economic income will not be optimal. It is a kernel algorithm where: neutron: airport kernel: work schedule is compression: X redundancy: N potential: total cost of traveling through airports (per kernel) Other factors are empirical and adjusted by the user to reach the best answer be. Kernel vs Genetic Algorithms (Why is Kernel Better?): Genetic algorithms (unlike here) do not directly remove a bad gene from the candidate solution. Instead it requires many generations (mutation and crossover). In genetic algorithms, the genome length is fixed, unlike kernel algorithms, which can be used to solve problems where the solution length is unknown. Genetic algorithms do not detect the "unknown" or "dead end" sub-solution, whereas here (proton) is detected. Kernel algorithms converge much faster than genetic algorithms due to atomic decay. The genetic algorithm does not deal with hard conditions such as the maximum allowed repetitions of certain genes on a chromosome, and if you try to implement this, you will later find that these conditions make the genetic algorithm converge (much slower). Genetic Algorithms are highly affected by the previous generation which can be bad, but kernel algorithms start randomly after each reaction, so there is a higher chance of finding a new undiscovered better solution (as a whole new breed in GA) after the last reaction. Genetic algorithms talk about blind (unstudied) mutations and do not use any function to find the "best mutation", unlike nuclear algorithms which use "best weight neutrons" to perform nuclear fission.

ویژگی های اصلی :

  • سرعت و کارای بالا در زمان اجرا
  • Adjustability (atomic decay factor - nuclear factor oriented - amount of material - nuclear size - stopping factor - compression threshold - Terschold redundancy - primary released neutrons)
  • نمایش جدول اطلاعات
  • و ...

برای شما کاربران عزیز پیشنهاد دانلود داده می شود.

Click on the link below to get the sample source and vb.net code in the core algorithm topic

برای دریافت اینجا کلیک کن

فایل های که ممکن است نیاز داشته باشید

نظرات کاربران

کد امنیتی

ارسال کننده نظر آريانوش - 2022/12/28 11:59:36 pm
سلام عزيز تشکر از اينکه منصفانه با کاربران برخورد کرديد
 
پاسخ پشتیبانی فایل سحر آمیز
سلام بزرگواريد
 
ارسال کننده نظر شيفته - 2023/1/31 3:53:09 am
I thank the teacher for posting this file I downloaded it, it was good and complete
 
پاسخ پشتیبانی فایل سحر آمیز
با سلام ممنون از ارسال ديدگاه خود
 
ارسال کننده نظر پري - 2022/12/05 9:51:21 pm
با سلام مهندس دستتون درد نکنه دانلود کردم بصورت کامل بود
 
پاسخ پشتیبانی فایل سحر آمیز
سلام نظر لطف شماست
 

لیست فایل های ویژه وبسایت

دانلود-نرم-افزار-تبدیل-فایل-متنی-تکست-txt-به-وی‌سی‌اف-vcf-(مخاطب-موبایل)
Download the software to convert txt text file to vcf (mobile audience)

دانلود-نرم-افزار-ترجمه-خودکار-فایل-های-po-,-pot-بصورت-کامل-برای-تمامی-زبان-ها-از-جمله-فارسی
Download automatic translation software for po, pot files in full for all languages, including Persian

بهترین-سرویس-پوش-نوتیفیکیشن-اسکریپت-مدیریت-اعلان-و-ساخت-پوش-نوتیفیکیشن-سایت-و-ارسال-پوش-از-طریق-php
The best push notification script service for managing notifications and making site notification push and sending push through php

دانلود-نرم-افزار-تغییر-زبان-سورس-و-کد-ویژوال-استودیو-(عناصر-دیزاین-طراحی-فرم-ها)
Download software to change the source language and code of Visual Studio (design elements of form design)