(Java) Data Structure: Final Project

Please help me with my java class (data structure) final project.

Run <java AnimalGameGUI >to see the effect.

Please rewrite <[url removed, login to view]> by using <[url removed, login to view]> as a template in an object-oriented manner. Your class should work with my <[url removed, login to view]>.

Revise the program so that the initial knowledge tree is obtained by reading information from a file. Also, when the program ends, the knowledge tree at that point is written to the same file. You must carefully specify the format of the data in this file. The format should make it easy to do two things: (a) read the file and set the initial tree and (b) write the knowledge tree to the file using some kind of traversal.

Do not write the tree data as an object. Create a file structure where you use primitive data types and strings. You will choose a format for the records. The easiest is probably to write lines terminated by a new line (using PrintWriter's println method) and then read lines with BuffereredReader's readLine method.

You can construct a PrintWriter like this:

PrintWriter out = new PrintWriter(new FileWriter("[url removed, login to view]"));

then use the println method.

You can construct a BufferedReader like this:

BufferedReader in = new BufferedReader(new FileReader("[url removed, login to view]"));

You also need to decide how to traverse the tree when writing it out to disk. Pick a method that makes it possible to read the file back in and rebuild the tree.

In a comment at the top of your class, tell me what traversal method you are using and give a description of the records you are writing. If you use special symbols in the record, tell what they indicate.

You may use recursion for this part of the project.

Do not modify BTNode or AnimalGameGUI.

Turn in: [url removed, login to view]

Be sure it will run the first time without a stored data file.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform


Compétences : Ingénierie, Java, MySQL, PHP, Architecture Logicielle, Tests de Logiciels

en voir plus : writing with symbols, writing to a file java, writing to a file in java, writing symbols, writing structure, when to use recursion, what is tree in data structure, what is tree data structure, what is structure in writing, what is recursion, what is record in data structure, what is data structure in c, what is data structure, what is data in data structure, what is a tree in data structure, what is a tree data structure, what is a data structure in c, what is a data structure, what data structure, what are the types of data structure

Concernant l'employeur :
( 23 commentaires ) Afghanistan

Nº du projet : #3455348

Décerné à:


See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(125 Commentaires)

4 freelance font une offre moyenne de $15 pour ce travail


See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(119 Commentaires)

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(5 Commentaires)

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)