I tried subclassing the QCAlgorithm class hoping to add a few functions to make some code easier read but it looks like the way we're finding the algorithm has a bug that doesn't look in the descendants. I guess we're using reflection and not recursing on Type.BaseType, ideally we could just be checking for typeof(IAlgorithm).IsAssignableFrom(type) -- or even better, couldn't we use MEF to compose the available algorithms at runtime?

Anyways, I just spilled some thoughts when in reality the first thing I should do is ask... has anyone had success doing this already and maybe I'm doing something else incorrectly?

Author