BitMagic-C++
Typedefs | Functions
strsvsample02a.cpp File Reference

Example: str_sparse_vector<> sort example. More...

#include <iostream>
#include <string>
#include <vector>
#include <random>
#include <algorithm>
#include "bm.h"
#include "bmstrsparsevec.h"
#include "bmsparsevec_algo.h"
#include "bmtimer.h"
#include "bmdbg.h"
#include "bmundef.h"
Include dependency graph for strsvsample02a.cpp:

Go to the source code of this file.

Typedefs

typedef bm::bvector bvector_type
 
typedef bm::str_sparse_vector< char, bvector_type, 3 > str_sv_type
 

Functions

static void generate_string_set (vector< string > &str_vec, const unsigned max_coll=250000)
 generate collection of strings from integers and shuffle it More...
 
int main (void)
  More...
 

Detailed Description

Example: str_sparse_vector<> sort example.

Definition in file strsvsample02a.cpp.

Function Documentation

◆ generate_string_set()

static void generate_string_set ( vector< string > &  str_vec,
const unsigned  max_coll = 250000 
)
static

generate collection of strings from integers and shuffle it

Examples
strsvsample02a.cpp.

Definition at line 62 of file strsvsample02a.cpp.

Referenced by main().

◆ main()

int main ( void  )