Arkanjo 0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
random_selector.hpp File Reference

Random selection of similar code pairs. More...

#include <string>
#include <vector>
#include <tuple>
#include <random>
#include "../base/path.hpp"
#include "../base/utils.hpp"
#include "../base/similarity_table.hpp"
+ Include dependency graph for random_selector.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Random_Selector
 Random pair selector for similar code segments. More...
 

Detailed Description

Random selection of similar code pairs.

Provides functionality to randomly select and display pairs of similar code segments within specified similarity ranges.

The Random Selector random selects a set of duplicated functions pairs enables to set the interval of acceptable similarity probability and the number of functions to be selected.

Definition in file random_selector.hpp.