Failed before I got started, I'm afraid.
Well, I came back from holidays last saturday, knowing I had only
two days to get week 1 done. Unfortunately, I came home with a
big sinusitis, and although I tried to do something last sunday,
I only managed to get sbt up and running.
Yesterday, feeling only marginally better, I tried to save what I could.
I sent in the properties that were suggested in the hints, but
what I feared became true: with only success in 3 of the 5
my score was a 6, and after the penalty, a humiliating 3.6...
Worst of all, since I failed to come up with some decent properties
for these 'BinomialHeap's, I thought this afternoon: let's make one
and see what actually happens in these things, so that I could
see on what parts these bogus implementations stumbled.
But whatever I tried so far, I could not get Eclipse to run
me a decent BinomialHeap. I cannot get passed the point where
to get some connection between a 'class Temp with BinomialHeap'
and using a method that has a parameter 'h: H' in it.
The worst being, that this indicates that I do not understand week 1's
theory....
At the moment, I'm writing a
Java generic implementation, as a last effort
to see what is happening. Unfortunately, I only have Java 7,
so I must use real Comparator<A> elements here, without having
the possibility, in Java 8, of supplying a natural comparator.
Well, my right ear is still deaf and hurting quite a lot. so I'll stop for now.
But my impression: this course is not what I expected. It is very abstract,
the material is exactly that what the students of EPFL are getting at the moment,
so practically it is impossible to do this course, with the time and
knowledge available to me.
But I will finish it, in my own tempo.
Greetz,
Piet