Research Article
Prediction of Quality Food Sale in Mart Using the AI-Based TOR Method
Algorithm 1
Fundamental template of genetic algorithm utilized.
(1) | Start; | (2) | Input tor value, data size, encapsulation size; | (3) | Provide the variables declare in step 2; | (4) | Read the all values from step 3; | (5) | Declare the constructor; | (6) | Put the equation declare in introduction section; | (7) | Compare with step 8; | (8) | ± E.D + I.D∑Data; | (9) | Make a crossover; | (10) | Generate 3 pickles; | (11) | Compare each pickle with the value of step 7; | (12) | Set the generation by dividing the value of step 7 and 8; | (13) | Integrate step 7,8, and12; | (14) | Access the value of step 13; | (15) | Repeat step 4; | (16) | Print the value of step 14; | (17) | End. |
|