Any suggestions for hair particle collision algorithm?

I’ve found some scholarly papers on the web and am wading through them, but I was wondering if anyone knew of any actual code examples that might be available?