-
Notifications
You must be signed in to change notification settings - Fork 0
Evilscaught/Homework3-WordNet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/****************************************************************************** * Name: Scott McKay * * Hours to complete assignment (optional): 1.5 (As of Thursday, November 8th, 2017) * ******************************************************************************/ Programming Assignment 3: WordNet /****************************************************************************** * Describe concisely the data structure(s) you used to store the * information in synsets.txt. Why did you make this choice? *****************************************************************************/ /****************************************************************************** * Describe concisely the data structure(s) you used to store the * information in hypernyms.txt. Why did you make this choice? *****************************************************************************/ /****************************************************************************** * Describe concisely the algorithm you use in the constructor of * ShortestCommonAncestor to check if the digraph is a rooted DAG. * What is the order of growth of the worst-case running times of * your algorithms as a function of the number of vertices V and the * number of edges E in the digraph? *****************************************************************************/ Description: Order of growth of running time: /****************************************************************************** * Describe concisely your algorithm to compute the shortest common * ancestor in ShortestCommonAncestor. For each method, what is the order of * growth of the worst-case running time as a function of the number of * vertices V and the number of edges E in the digraph? For each method, * what is the order of growth of the best-case running time? * * If you use hashing, you should assume the uniform hashing assumption * so that put() and get() take constant time. * * Be careful! If you use a BreadthFirstDirectedPaths object, don't * forget to count the time needed to initialize the marked[], * edgeTo[], and distTo[] arrays. *****************************************************************************/ Description: running time method best case worst case ------------------------------------------------------------------------ length(int v, int w) ancestor(int v, int w) length(Iterable<Integer> v, Iterable<Integer> w) ancestor(Iterable<Integer> v, Iterable<Integer> w) /****************************************************************************** * Known bugs / limitations. *****************************************************************************/ /****************************************************************************** * Describe whatever help (if any) that you received. * Don't include readings, lectures, and precepts, but do * include any help from people (including course staff, lab TAs, * classmates, and friends) and attribute them by name. *****************************************************************************/ /****************************************************************************** * Describe any serious problems you encountered. *****************************************************************************/ /****************************************************************************** * List any other comments here. Feel free to provide any feedback * on how much you learned from doing the assignment, and whether * you enjoyed doing it. *****************************************************************************/
About
Autumn Semester 2017 Data Structures: Homework III - WordNet
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published