My brain hurts...

Started by CowbellGuy, April 24, 2002, 01:09:41 PM

Previous topic - Next topic

CowbellGuy

If there are offsetting 5 min majors at 5x5, do the teams skate 4x4 for 5 min or not?

"[Hugh] Jessiman turned out to be a huge specimen of something alright." --Puck Daddy

Greg Berge

No, you only remove manpower from the ice simultaneously for coincidental minors from full strength.

Robb

You don't need 3600 values in your table, you just need a 3 column table where the three columns are time, #cornell players, #opponent players.    There would only need to be 2 x number of penalties + number of goals rows.  2x penalties because each penalty has a beginning and an end. This would capture all events that change the number of players on the ice (naturally, there would be overlap, since a goal often coincides with the end of a penalty).   Then you just have to look at the rows in the table that represent goals and see how many players were on the ice at the time (i.e. in the previous row, just before the goal was scored).  Doesn't seem that bad to me - but then, no problem seems that bad before you actually try to solve it...

CowbellGuy

Well, I think I finally got it doing 2 minute penalties right. 4's and 5's should be easily integrated. *phew*

"[Hugh] Jessiman turned out to be a huge specimen of something alright." --Puck Daddy

CowbellGuy

Well, I would like to just send out a resounding ::flipd:: to the ::asshole:: at Collegehockeystats who wouldn't help out with the penalty system, as I finally got mine working today, for real, and should work in any potential situation. yay!

"[Hugh] Jessiman turned out to be a huge specimen of something alright." --Puck Daddy