Algorithm

摘要: C# code snippet below is an illustration of the Cooky-Turkey algorithm, the performance may suck when processing huge datasets, but you can use arrays of double instead of arrays of complex number structure to reduce the performance impact by object initializations and method invocations(overloaded operators).阅读全文

posted @ 2007-08-10 15:30 Adrian H. 阅读(2268) | 评论 (3) 编辑 |

posted @ 2007-06-27 22:00 Adrian H. 阅读(1876) | 评论 (2) 编辑 |

posted @ 2007-06-21 21:19 Adrian H. 阅读(514) | 评论 (0) 编辑 |

摘要: GLEE 是 Microsoft Research 的 Lev Nachmanson 开发的一个.NET 图形布局和查看的工具, 遵循了 Sugiyama 方案, 可以生成有层次的的布局, 自然地使用图形表示流程的信息, 如程序流程, 状态机, 类图等等..阅读全文

posted @ 2007-06-12 19:50 Adrian H. 阅读(731) | 评论 (2) 编辑 |

摘要: 一个LL(1)文法推导的课程设计阅读全文

posted @ 2007-06-01 22:19 Adrian H. 阅读(604) | 评论 (1) 编辑 |

摘要: 操作系统概念中"哲学家就餐问题"的C#模拟阅读全文

posted @ 2007-04-01 19:04 Adrian H. 阅读(671) | 评论 (0) 编辑 |

摘要: Inspired by http://incubator.quasimondo.com/processing/fastblur.pde , I wrote a piece of CSharp code to implement this efficient "gaussian blur" alogorithm for one of my .Net project.
The concept of the "fast" is avoiding floating point calculation and pre-calculating some multiplication operation, storing the results into a large two-dimension array for later blurring operations, so it saves lots of time.阅读全文

posted @ 2007-03-30 22:17 Adrian H. 阅读(9683) | 评论 (6) 编辑 |

posted @ 2007-03-08 22:14 Adrian H. 阅读(3734) | 评论 (8) 编辑 |

摘要: ..........阅读全文

posted @ 2007-03-06 22:42 Adrian H. 阅读(10135) | 评论 (11) 编辑 |

摘要: C#实现的泛型遗传算法阅读全文

posted @ 2007-02-11 16:24 Adrian H. 阅读(454) | 评论 (0) 编辑 |

posted @ 2007-01-07 17:52 Adrian H. 阅读(171) | 评论 (1) 编辑 |

posted @ 2006-11-25 16:21 Adrian H. 阅读(3642) | 评论 (11) 编辑 |

posted @ 2006-11-20 15:18 Adrian H. 阅读(875) | 评论 (0) 编辑 |

posted @ 2006-11-12 17:25 Adrian H. 阅读(524) | 评论 (0) 编辑 |

摘要: 用C#写的一个算法, 功能是从一个数组中选择第 i 小的一个数, 平均时间复杂度是Θ(n).阅读全文

posted @ 2006-11-06 19:29 Adrian H. 阅读(160) | 评论 (0) 编辑 |