How should I Test a Genetic Algorithm

Seems to me that the only way to test its consistent logic is to apply consistent input, … or treat each iteration as a single automaton whose state is tested before and after that iteration, turning the overall nondeterministic system into testable components based on deterministic iteration values. For variations/breeding/attribute inheritance in iterations, test those … Read more

How to perform a bitwise operation on floating point numbers

At the language level, there’s no such thing as “bitwise operation on floating-point numbers”. Bitwise operations in C/C++ work on value-representation of a number. And the value-representation of floating point numbers is not defined in C/C++ (unsigned integers are an exception in this regard, as their shift is defined as-if they are stored in 2’s … Read more

When should I use genetic algorithms as opposed to neural networks? [closed]

From wikipedia: A genetic algorithm (GA) is a search technique used in computing to find exact or approximate solutions to optimization and search problems. and: Neural networks are non-linear statistical data modeling tools. They can be used to model complex relationships between inputs and outputs or to find patterns in data. If you have a … Read more

What are good examples of genetic algorithms/genetic programming solutions? [closed]

Not homework. My first job as a professional programmer (1995) was writing a genetic-algorithm based automated trading system for S&P500 futures. The application was written in Visual Basic 3 [!] and I have no idea how I did anything back then, since VB3 didn’t even have classes. The application started with a population of randomly-generated … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)