Rigging a chain or whip

I’ve been going through the thought process of the best way to rig something like a chain. More accurately, something like the whip-sword used by the character Ivy in the Soul Calibur series of video games. I can’t think of a good way that doesn’t involve tons of counter-animation and manual calculations. Any ideas?