Subversion Repositories Code-Repo

Rev

Rev 94 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
94 Kevin 1
These are the command files used to test and grade your Project 2
2
submission.
3
 
4
_syntax
5
This is the command file that was posted on the course website. This
6
is used primarily for testing the correctness of your command
7
parser.
8
_syntaxOutput
9
This is an example of correct program output if _syntax is used as the
10
command file.
11
 
12
_alphabet
13
This is a command file that inserts a set of twenty-six records into
14
the trees. Each record is named after a letter of the alphabet, and is
15
located at (n,n), where n is an integer in the set [0,25]. Used
16
primarily for testing the insertion, removal, and search methods
17
in your binary search tree. It also tests your quadtree.
18
 
19
_grid-4x4-IR
20
This is a command file that inserts a set of 16 records into the
21
trees. The records are all named 'A', and form a 4x4 grid within the
22
quadtree space. After insertion, the quadtree will have 3 levels, 5
23
internal nodes and 16 leaf nodes, each containing 1 record "in the
24
top-left corner". The file then removes all of the records by
25
coordinates. Used primarily for testing your quadtree's insertion and
26
removal methods.
27
 
28
_grid-4x4-IR-rmName
29
This is a varation of _grid-4x4-IR which removes all of the
30
records by name. Used primarily for testing the removal method in your
31
BST.
32
 
33
_grid-4x4-IR-searchMid
34
This is a variation of _grid-4x4-IR, in which a number of region
35
searches are conducted. Used primarily for testing your quadtree's
36
search method.
37
 
38
_seq-16384-IR
39
This is a command file that inserts a set of 16384 records into the
40
trees. The records are all named 'A', and have coordinates (0,0),
41
(0,1), (0,2), ..., (0,16382), (0,16383). After the insertions are
42
complete, the file then removes all of the records.