This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//f(bd) = |20 * bir_sayisi(bd) - 100| fonksiyonunu max yapan | |
// 30 karakterlik binary dizisinin(bd) hill climbing algoritmasi ile | |
//bulunmasi. | |
//Volkan SALMA. http://volkansalma.blogspot.com | |
#include <iostream> | |
#include <vector> | |
#include <stdlib.h> //for rand funct. | |
#include <time.h> //time for rand function seed. | |
#include <math.h> // for abs function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <fstream> | |
#include <cmath> | |
using namespace std; | |
struct FeatureVector | |
{ |
NewerOlder