Find Jobs
Hire Freelancers

btree shakespear

$30-250 USD

已关闭
已发布超过 12 年前

$30-250 USD

货到付款
This project is about B-Tree in Advanced Data Structures. It needs to be done in C++. With different order values (m), searching for data in B-trees can take different execution times. In this project, for B-Trees, experimenting effects of different order values on searching is the main issue. Tests will be performed on Shakespeare's Sonnets dataset which is provided with project. Building the Tree: From command prompt, your b-tree builder implementation must take the order value (m). With respect to user-defined m, b-tree is built using Shakespeare's Sonnets dataset. This dataset contains one sentence in each row. You must built a B-tree with using words as keys (use words as keys – use strcmp() function for lexical order). Node n which is represented with word w (key of n is w), should contain the list with two integers x and y (x is the order of word in the sentence and y is the order of sentence in the text ). Then program stores b-tree in a file for later use (main experiment part). For example, suppose that word ‘advanced’ is placed in the 2th word of the 4nd sentence and 5th word of the 6th sentence. Then the node for key ‘Advanced’ contains following couples: (2,4), (5,6). For the first step, define a rule of heuristic for determining sentences (sentences must not be determined with 100% accuracy – it is ok). Split your sentences into words from spaces and then perform following operations on the words - Make all characters lowercase - Eliminate all characters except for letters Then build the B-tree considering the words finally obtained. Searching for the words: With using the stored B-tree with your B-Tree builder implementation, your searcher implementation searches n words which are given from command prompt. There is a node with given word in B-tree, program outputs the data which is contained by that node. Otherwise program outputs an error message for that search. Finally, program outputs the total execution time.
项目 ID: 1388078

关于此项目

2提案
远程项目
活跃12 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
2威客以平均价$45 USD来参与此工作竞价
用户头像
I am confident to handle your project. Please check your inbox for details, thank you.
$50 USD 在1天之内
4.9 (60条评论)
5.5
5.5
用户头像
Dear sir, I am strong in advanced data structures and algorithm. I am familiar with B-tree and B+ tree mechanism and I have implemented them in C++ and java several time. I can do the project for you with high quality and efficiency. Wait for your response Thank you BR
$40 USD 在1天之内
4.9 (18条评论)
5.2
5.2

关于客户

TURKEY的国旗
istanbul, Turkey
5.0
1
会员自1月 13, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。