Function sequence_selection

Algorithm for automatic sequence sampling from clusters using greedy approach

The algoritem selects the most difficult sequences from each cluster.

Description of the algorithm

Prerequisites:

Initialization:

Main loop:

Input:

Output: