A Dynamic Evolutionary Optimization Method for Software Architecture
A technology of software architecture and dynamic evolution, applied in the computer field, can solve problems such as easy to fall into the local optimal solution, large number of software component groups, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiment 1: as figure 1 As shown, the dynamic evolution optimization method of software architecture includes the following steps:
[0052] Step 100: Corresponding the software architecture to the chromosome, the components of the software architecture corresponding to the genes of the chromosome, and performing dynamic evolution coding on the original software architecture, the components of the original software architecture are the original components;
[0053] Step 101: Initialize the original software architecture, and randomly generate initial components corresponding to each original component;
[0054] Step 102: Construct a fitness function and calculate the fitness value of each initial component;
[0055] Step 103: Judging whether the condition is met: the fitness value of the initial component is greater than or equal to a set threshold, and the set threshold is set in advance;
[0056] Step 104: If not, perform crossover and mutation operations on the in...
Embodiment 2
[0108] Embodiment 2: as Figure 4 As shown, a smart home system 1 includes five subsystems, namely smoke detection 11, temperature adjustment 12, gas detection 13, automatic curtain 14 and humidity adjustment 15, each subsystem includes three functional components and a data component, wherein , the functional components use C f (i) indicates that the data component uses C d (i) said. The system is to timely and accurately alarm and deal with security incidents, so as to ensure the stability, reliability and real-time performance of the system. The system contains a total of 15 functional components C f (i) and 5 data components C d (j), where i∈(0,15], j∈(0,5], their specific parameter data are shown in Table 2 and Table 3 below:
[0109] Table 2 Functional component quality indicators of initial software architecture
[0110]
[0111]
[0112] Table 3 Data component quality indicators of initial software architecture
[0113]
[0114] Assuming that these subs...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


