BitMagic-C++: svsample09.cpp File Reference

BitMagic-C++

Typedefs | Functions
svsample09.cpp File Reference

Example: Use of sparse vector mismatch search. More...

`#include <assert.h>`
`#include <stdlib.h>`
`#include <iostream>`
`#include <vector>`
`#include <utility>`
`#include "bm.h"`
`#include "bmsparsevec.h"`
`#include "bmsparsevec_algo.h"`
Include dependency graph for svsample09.cpp:

Go to the source code of this file.

## Typedefs
typedef bm::sparse_vector< unsigned, bm::bvector<> > | svector_u32

## Functions
int | main (void)

## Detailed Description

Example: Use of sparse vector mismatch search.

Definition in file svsample09.cpp.

## Typedef Documentation

## ◆ svector_u32

typedef bm::sparse_vector<unsigned, bm::bvector<> > svector_u32

Examples
  svsample09.cpp.

Definition at line 50 of file svsample09.cpp.

## Function Documentation

## ◆ main()

int main | ( | void |  | ) |

Examples
  svsample09.cpp.

Definition at line 53 of file svsample09.cpp.

References bm::sparse_vector< Val, BV >::push_back(), bm::sparse_vector< Val, BV >::set_null(), bm::sparse_vector_find_first_mismatch(), and bm::use_null.