Algorithms
文章平均质量分 69
魔王子
NOW:
展开
-
Postfix Expression Evaluator
/** * filename: PostfixEvaluator.java * package: * author: Li Ma * email: [email protected] * date: Oct 3, 2008 (created) * Nov 2, 200原创 2008-11-03 23:02:00 · 1145 阅读 · 0 评论 -
Hamming Distance
/** * filename: HammingEDRule.java * package: * author: Nick Ma * email: [email protected] * date: 2008-11-28 * description: a simple algorithm to get distance of the difference原创 2008-12-16 03:44:00 · 728 阅读 · 0 评论 -
Levenshtein Distance
/** * filename: LevenshteinEDRule.java * package: * author: Nick Ma * email: [email protected] * date: 2008-11-28 * description: this class implements Levenshtein Distance Algori原创 2008-12-16 03:47:00 · 774 阅读 · 0 评论 -
Hash Table
/** * filename: HashTable.java * package: * author: Nick Ma * email: [email protected] * date: Nov 27, 2008 * description: this class implements a hash table data str原创 2008-12-16 03:38:00 · 818 阅读 · 0 评论 -
AVL Tree
/** * filename: AVLNode.java * package: * author: Nick Ma * email: [email protected] * date: Nov 12, 2008 * description: this class implements the node of avl tree.原创 2008-12-08 07:36:00 · 894 阅读 · 0 评论 -
Binary Search Tree
/** * filename: BinarySearchTree.java * package: * author: Nick Ma * email: [email protected] * date: Nov 12, 2008 * description: this class implements an unbalanced bin原创 2008-12-08 07:31:00 · 845 阅读 · 0 评论 -
Infix to Postfix Convertor
/** * filename: InfixToPostfixConvertor.java * package: * author: Nick Ma * email: [email protected] * date: Nov 1, 2008 * description: this class implements a string co原创 2008-11-03 22:57:00 · 1532 阅读 · 0 评论 -
Infix Expression Evaluator
/** * filename: InfixEvaluator.java * package: infix * author: Li Ma * email: [email protected] * date: Oct 3, 2008 * description: this class evaluates infix原创 2008-11-03 22:52:00 · 1013 阅读 · 0 评论 -
Binary Tree
/** * filename: BinaryTree.java * package: * author: Nick Ma * email: [email protected] * date: Nov 1, 2008 * description: this class implements a binary tree data str原创 2008-11-03 23:04:00 · 833 阅读 · 0 评论 -
Insertion Sort
/** * insertion sort * @param A the array which is going to be sorted */ public void sort(int[] A) { int i = 0, j = 0, value = 0; for(i = 1; i {原创 2008-11-03 22:47:00 · 718 阅读 · 0 评论 -
Expression Tree
/** * filename: ExpressionTree.java * package: * author: Nick Ma * email: [email protected] * date: Nov 1, 2008 * description: this class implements an expression tree e原创 2008-11-03 23:11:00 · 1244 阅读 · 0 评论 -
Hash Functions
public class AdditiveFunction implements HashFunction { /* (non-Javadoc) * @see spellChecker.util.hash.HashFunction#getHashCode(java.lang.Object) */ @Override publi转载 2008-12-16 03:48:00 · 1099 阅读 · 0 评论