PSO Case Study

Improved Essays
• PSO Algorithm to generate test cases

A. Initialize the population with N Particles where Program will search for optimal solution through the movement of these particles. And Set iterations counter I = 0.

B. Apply Fitness function: Calculating the fitness value by calculating the percentage of this particle will share in minimizing the total processing time to find the optimal solution.

C. Compare the calculated fitness value of each particle with its (lbest). If current value is better than (lbest), then set the current location as the (lbest) location. Furthermore, if current value is better than (gbest) , then reset (gbest) to the current index in particle array. Select the best particle as (gbest).

D. Where :(lbest)is particle with
…show more content…
VII. ANALYSIS AND RESULTS
This paper presented the results of PSO and PPSO. In PSO, the results show inverse relationship between CF & ET, although the optimizing, the cost function elapsed time decreased compared with MCWA. In PPSO found that there is an inverse relationship between CF & ET although optimizing the cost function, but elapsed time decreased compared with MCWA and PSO. This paper shows the relationship between PSO and PPSO where elapsed time in PPSO decreased compared with PSO and shows inverse relationship between SP, PSO and PPSO Whenever an increase in speed occur it decreased in PSO and also time decreased more in PPSO.
VIII. CONCLUSIONS
PSO is relatively recent heuristic approach, it is similar to PPSO in a way that they both are population based evolutionary algorithms. The research presents the application of PSO and PPSO. The proposed research described the basic concepts of PSO and PPSO, explaining the test cases that generated using PSO and PPSO and how they are useful in finding the optimal solution to the problem. Comparative study is done between both the algorithm where PPSO can be useful, and showing how PPSO overcome the drawback of PSO. This paper shows that PPSO algorithm is more efficient in speed and time compared with PSO algorithm to generate test

Related Documents

  • Decent Essays

    Nt1310 Unit 2

    • 703 Words
    • 3 Pages

    The code can appear in several forms, however in this lab the modular approach was used. This form allows the program to be created in sections, and then the sections are compiled together to formulate the code in its entirety. In each part of this lab a code was created using this approach, such as code one which can be seen in Figure 5. After a code, has been completed it is compiled to ensure no errors are present, which would interfere with the output generated on the DE2-115 board.…

    • 703 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    Additional wellbeing has been incorporated into this outline by making a "loopbacks" to the zero tally, with a yield of zero if the information state to the counter is inconceivable for the present number that it is on (for instance, a data condition of 010—NS, when the present check is 101—5, the NS tally ought to have as of now circled back). By circling back to zero, this will give the framework's movement express a more drawn out time to determine an "undetermined" state. Test Strategy: With a specific end goal to test the counter outline, we have chosen to test just a predetermined number of cases and test to see whether the configuration a) tallies accurately, and b) sends the yield T high at the right times. To do this, we will pick two or three states to…

    • 869 Words
    • 4 Pages
    Improved Essays
  • Superior Essays

    Nt1310 Unit 4 Lab Report

    • 906 Words
    • 4 Pages

    从此结果我们可以得出结论The Optimal Sharpe ratio is 0.68, 据此我们可以根据Lead = 20, Lag = 60, HoldingPeriod = 2作为最佳优化位置,并根据MACD来判断与执行交易时机及仓位。 图1每次交易的收益或亏损 图2是三维空间里sharpe…

    • 906 Words
    • 4 Pages
    Superior Essays
  • Decent Essays

    Test Sequences Class Test Sequence Class B BQTerrace_1920X1080 Class C BQMall_832X480 Class D BlowingBubbles_416X240 Class E Johnny_1280X720 To calculate the computational efficiency of proposed algorithm total time saving and ME time saving measures are used. PSNR Gain and increase in Bit Rate are the performance quality measures These are calculated as follows: Time Saving = (16) PSNR Loss = TZ PSNR – Proposed PSNR (17) Bit Rate Increase=…

    • 279 Words
    • 2 Pages
    Decent Essays
  • Decent Essays

    1. The language is improved in the manuscript. 2. All typographical errors are rectified as highlighted in the manuscript. 3.…

    • 49 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    SCI203 Phase 2 Lab Essay

    • 304 Words
    • 2 Pages

    Name: Amanda Kranning Date: October 17, 2015 Instructor’s Name: Debora Ladner Assignment: SCI203 Phase 2 Lab Report TITLE: Speciation • Purpose o…

    • 304 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    The Case of the Mix-Matched Chemicals Hypothesis: By measuring the pH of the unknown and known chemicals, the types of chemicals in the unknown bottles will become known. Purpose: The purpose of this experiment is to determine the type of chemicals that are inside the mislabeled bottles. Materials: • pH strips • 8 bottles of known chemicals: o silver nitrate o iron (III) nitrate o copper (II)…

    • 1202 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    The preparation for this lab should be done a week prior to examining each layer. The preparation consists of compiling the pond. To do so, obtain a small, disposable bowl with a cover. Using a thumbtack, poke holes into the lid of the container. Then, using black paper, wrap it 2/3 of the way around the bowl and proceed to the securing the black paper with aluminum foil.…

    • 360 Words
    • 2 Pages
    Improved Essays
  • Superior Essays

    The Mabo Case Study

    • 1337 Words
    • 6 Pages

    The Mabo case refers to the legal action taken upon the commonwealth of Australia outlining Native title, Indigenous Land Rights by activist Eddie Mabo to which was concluded in 1993. The case was stimulated due to the Australian Civil Rights Movement of 1957 - 1973, it refers to the leading fight that was put forward in an attempt to gain rights and recognition of land connection to that of the Indigenous and Torres Strait Islanders. The Mabo Case is a famous story and that of which is extremely important to the history and future of Australia. Eddie Koiki Mabo was born on the 29th June, 1936, Mabo lived on ‘Murray Island’ in the Torres Straits, he was educated about his land and culture to a great extent. Eddie Mabo at age of 17 left the…

    • 1337 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    Microcystis Lab Report

    • 1558 Words
    • 7 Pages

    Is the Growth of Microcystis and Lake Water Protists Affected by Phosphorus Concentration? _______________________________________ Purpose The purpose of this experiment is to determine if algae will grow more if fertilizer is added to the water where the algae is growing. Background/ Introduction An algal bloom is an increase and accumulation of algae in freshwater or salt water systems.…

    • 1558 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Beaker Experiment

    • 991 Words
    • 4 Pages

    Fill the flat beaker with water. 6. Place a plastic bag over the top of the cylinder and place it, upside down, in the flat beaker. Make sure the bottom of the beaker is always underwater. 7.…

    • 991 Words
    • 4 Pages
    Improved Essays
  • Great Essays

    Swot Analysis Of Capsim

    • 4542 Words
    • 19 Pages

    Simultaneously, the company will invest on capacity and automation gradually for all segments. This will bring to Erie a competitive advantage over other competitors in terms of long-term cost savings. In addition, maximum second shift capacity may be run as much as possible and a significant amount of money will also be spent on promotion and sales budgets so as to capture the highest possible percentage of market shares. Furthermore, Erie is willing to make losses at least in the first two years because in the remaining years of the simulation, when higher capacity and automation are ready as well as Human Resources and Total Quality Management functions are applied, Erie will become more competitive in the market and hence can make profit as the production costs will be…

    • 4542 Words
    • 19 Pages
    Great Essays
  • Superior Essays

    Mealworm Experiment

    • 1770 Words
    • 8 Pages

    Mealworms are common insects. Mealworms infest stored products. The mealworm/darkling beetle’s scientific name is Tenebrio molitor. As larvae, mealworms are long and cylindrical, with hard light-brown bodies. Mealworms grow to become darkling beetles with a 2-3 centimeter long black body.…

    • 1770 Words
    • 8 Pages
    Superior Essays
  • Improved Essays

    A population consists of a group of individuals belonging to the same species living within a certain area and can breed freely with each other. The population density is crucial in order to sustain a suitable environment for all individuals that each individual has enough space. It is controlled by specific factors called population parameters. These include natality (births), mortality (deaths) and dispersal (includes both immigration and emigration – entering and exiting out of a particular area). For a population to survive, individuals must tolerate the physical environment, obtain energy and nutrients, cope with competition for space, shelter, water and food, avoid predators and have access to mates.…

    • 108 Words
    • 1 Pages
    Improved Essays
  • Decent Essays

    Potato Osmosis Lab

    • 959 Words
    • 4 Pages

    Cecilia Wong Nature of the task and the research question: Two centimetre piece of potato is bathes into different salt solutions (0%, 5%, 10%, 15%, 25%, 35%) over a period of time, to determine the effect of different salt solutions on osmosis. To investigate the effect of increasing the concentration of sodium chloride (0%, 5%, 10%, 15%, 25%, 35%) on the process of osmosis, by calculating the mass change of the potato core (g, ±0.01g) at room temperate of lab (25.0˚C) Table 1: Raw data Table of Random uncertainties Equipment Limit of reading Random uncertainties Electronic balance 0.01g ± 0.01g Ruler 0.5cm ±0.5cm Table 2: Quantitative raw data The mass of the potato core (g, ±0.01g) at different sodium chloride concentrations (0%, 5%,…

    • 959 Words
    • 4 Pages
    Decent Essays