mirror of
				https://github.com/ejeanboris/MDAF.git
				synced 2025-11-04 07:08:15 +00:00 
			
		
		
		
	saving sample_code
This commit is contained in:
		@@ -11,3 +11,14 @@ if __name__ == '__main__':
 | 
				
			|||||||
    #data = doe (heuristicpath, testfunctionpaths, args)
 | 
					    #data = doe (heuristicpath, testfunctionpaths, args)
 | 
				
			||||||
    #print(data['Brown'])
 | 
					    #print(data['Brown'])
 | 
				
			||||||
    representfunc("TestFunctions/Brown.py", forced = True)
 | 
					    representfunc("TestFunctions/Brown.py", forced = True)
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from MDAF import *
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					testfunctionpaths = ["@Bukin2.py","@Bukin4.py","@Brown.py"]
 | 
				
			||||||
 | 
					heuristicpath = "@SimmulatedAnnealing.py"
 | 
				
			||||||
 | 
					args = {"t": 1000, "p": 0.95, "objs": 0}
 | 
				
			||||||
 | 
					data = doe (heuristicpath, testfunctionpaths, args)
 | 
				
			||||||
 | 
					print(data)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user