%-----------------------------------------------------------------------------%
% Project 6                                                                   %
% =========                                                                   %
% CS100J Spring 2000                                                          %
% DIS                                                                         %
%-----------------------------------------------------------------------------%
% Program: p6sp01.m                                                           %
% This driver calls all the scripts and functions that perform the            %
% tasks needed for the MATLAB portion of Project 6.                           %
%-----------------------------------------------------------------------------%
  welcome                         % greet the user                            %
  getInputFile;                   % return data from Java's output file       %
  switch(getUserInput)            % get input                                 %
   case '1',  allsizes(results)   % generate plots for all sizes              %
   case '2',  onesize(results)    % generate plots for one size               %
   case 'q',  clear, quit         % quit the program without any analysis     %
   otherwise, restart('p6sp01')   % repeat or quit if something is wrong      %
  end                             % done                                      %
%-----------------------------------------------------------------------------%
% Prompt user to repeat or stop:                                              %
  restart('p6sp01')                                                           %
%-----------------------------------------------------------------------------%


