4678e49d41959e8c66e656c3b4fca59e2dd11d1f,GA.py,,GA,#,265

Before Change


        //Loop through chromosomes in population
        for i in range(0,PopSize):
            // Return back the search agents that go beyond the boundaries of the search space
            ga[i,:]=numpy.clip(ga[i,:], lb, ub)

            // Calculate objective function for each search agent
            fitness=objf(ga[i,:])     
            
            scores[i] = fitness
                

After Change


        bestScore = min(scores)
        
        //Sort from best to worst
        ga, scores = sortPopulation(ga, scores)
         
        convergence_curve[l]=bestScore     
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: 7ossam81/EvoloPy
Commit Name: 4678e49d41959e8c66e656c3b4fca59e2dd11d1f
Time: 2019-03-08
Author: raneem.qaddoura@gmail.com
File Name: GA.py
Class Name:
Method Name: GA


Project Name: tristandeleu/pytorch-maml-rl
Commit Name: 72056013f656b49ae83342495dfd88391fd8e5d8
Time: 2018-06-14
Author: tristan.deleu@gmail.com
File Name: maml_rl/envs/mujoco/half_cheetah_vel.py
Class Name: HalfCheetahVelEnv
Method Name: step


Project Name: 7ossam81/EvoloPy
Commit Name: 75279cd611141935d992aa9540dc2323386be1f1
Time: 2019-04-06
Author: 7ossam@gmail.com
File Name: BAT.py
Class Name:
Method Name: BAT