Can you program your way out of a paper bag?
I've tried
-
using something that just gets bigger, in C#, and breaks through the sides,
-
various little beasties moving around randomly,
-
an ant colony optimisation, to make all the little beasties manage to escape,
-
transforming this to a known problem: escaping a maze, and solving that instead: Putting the maze in a paper bag means I have programmed my way out :-)
-
using genetic algorithms - see http://accu.org/index.php/journals/1821 for details
-
using particle swarm optimiation - see http://accu.org/index.php/journals/2023 for details
-
using diffusion
-
using an Abstract Bee Colony