タグ

algorithmに関するfn7のブックマーク (3)

  • アルゴリズムイントロダクション輪講 #1 が終わりました - ミラクル☆モテメンの脱オタ日記

    月曜日にアルゴリズムイントロダクション輪講の第1回を開催しました。http://tokyoenvious.xrea.jp/ria-kyoto/ria-01.pdf が輪講スライドです。輪講中でホワイトボードを使って説明したところもあり (Θ記法のところとか)、資料としては不親切なところもあるかもしれません。 第1巻の最初は基礎部分で、なるべく早めにアルゴリズムそのものに触れたいというのもあり初回だけ一度に 3章分やったのですが、なかなか大変でした。FOR ループの正しさを検証するためのループ不変条件や、アルゴリズムの漸近的効率を記すための漸近記号のところの理解 (特に o や ω) がなかなか難しいようです。 個人的には、漸近記号については p.48 の O 〜 ≦ Ω 〜 ≧ Θ 〜 = o 〜 ω 〜 > という対応がしっくりきましたが、なかなか上手く説明できませんでした。終わった後も

    アルゴリズムイントロダクション輪講 #1 が終わりました - ミラクル☆モテメンの脱オタ日記
  • Animated Sorting Algorithms

    Discussion These pages show 8 different sorting algorithms on 4 different initial conditions. These visualizations are intended to: Show how each algorithm operates. Show that there is no best sorting algorithm. Show the advantages and disadvantages of each algorithm. Show that worse-case asymptotic behavior is not the deciding factor in choosing an algorithm. Show that the initial condition (inp

    fn7
    fn7 2008/06/23
    「画像で表示している」=>「一度読み込むとキャッシュが効く」から速度比較しやすい
  • AVL tree applet

    The inset below illustrates the behaviour of binary search trees. Donald Knuth. "The Art of Computer Programming": Searching and Sorting Algorithms. G.M. Adelson-Velskii and E.M. Landis. "An algorithm for the organization of information", 1962 D. Sleator and R. Tarjan. "Self-adjusting Binary Search Trees", 1985 "Symmetric binary B-trees.  Data structure and maintenance algorithms.":  R

    fn7
    fn7 2007/03/30
    木構造のアップレット。動きが面白い。
  • 1