KiTrack
1.7.0
|
A base class for subsets. More...
#include <Subset.h>
Public Member Functions | |
void | add (T newElement) |
Adds an element. | |
void | add (std::vector< T > newElements) |
Adds a vector of elements. | |
std::vector< T > | getAccepted () |
std::vector< T > | getRejected () |
Protected Attributes | |
std::vector< T > | _elements |
std::vector< T > | _acceptedElements |
std::vector< T > | _rejectedElements |
A base class for subsets.
The idea behind the subset classes is, that one has a collection of elements, but not all elements are compatible with each other. One wants to find a subset of these elements, where all are compatible. Also the subset should have a high quality. Details about this can be found in the derived classes. For technical reasons (templates and virtual methods) this class only covers the basics.
|
inline |
|
inline |