障害物を回避する方法のもっと簡単な説明は
http://www.atmarkit.co.jp/fdotnet/terrarium/terrarium06/terrarium06_01.html
にありますね。