The grading robot: robot.tgz
The archive includes:
- README
- A description of the robot including instruction on how to run it.
- ref
- A directory that has various files used for running the tests.
- robot
- The robot script, a C-program used for checking the output of time_edist, and a Makefile for compiling that C program.
The script uses files x.1 and x.2 as inputs. I reserve the right to change the contents of these files when I run my checks. While there are clever ways one could write a program that doesn't actually solve the homework problem but gets a good score according to the robot, if I encounter any of them, I'll add checks to the robot code to look for such subterfuge.
HW5 Source Files
Makefileedist.c
edist.h
h.h
mymem.c
mymem.h
penalty.c
penalty.h
pth_edist.o
pth_edist.h
pthread.h
strcost.c
strcost.h
string.c
string.h
struct.h
time_edist.c
x.1
x.2
Resources for learning Erlang, MPI, and pthreads are available here.