<div dir="ltr"><br>> Say I start with the Clusterer class, I create a ClustererImpl class which<br>> is the internal class that Clusterer points to. But since Clusterer is<br>> abstract, and KMeans inherits from Clusterer, how do I maintain the<br>> inheritance and do the same for KMeans?<br><br>I think the following links could serve as a reference:<br><a href="https://github.com/xapian/xapian/blob/master/xapian-letor/include/xapian-letor/feature.h">https://github.com/xapian/xapian/blob/master/xapian-letor/include/xapian-letor/feature.h</a><div><a href="https://github.com/xapian/xapian/tree/master/xapian-letor/feature">https://github.com/xapian/xapian/tree/master/xapian-letor/feature</a></div><div><br></div><div>Here `Feature` is an abstract base class.<br><div><br><br></div></div></div>