shogun-toolbox/shogun — pull request #517 by pluskid (2012-05-09 15:02:29+00:00)
Title: Prototype of new Labels system.

Here's the prototype of the new Labels system. Note this is not compilable yet, if you are OK with this architecture, I'll make it compilable and make changes to existing code accordingly.

Briefly, as we discussed, a common CLabels pure-virtual base class, and enum to indicate Labels types for easier casting. Template is used here, but don't hate it. It is only used to avoid code duplication.