BitMagic-C++
Functions
bvsetalgebra.cpp File Reference

Example: algebra of sets operations. More...

#include <iostream>
#include <vector>
#include "bm.h"
#include "bmalgo.h"
#include "bmserial.h"
#include "bmaggregator.h"
Include dependency graph for bvsetalgebra.cpp:

Go to the source code of this file.

Functions

static void print_bvector (const bm::bvector<> &bv)
 
static void make_BLOB (vector< unsigned char > &target_buf, bm::bvector<> &bv)
 
static void DemoOR ()
 
static void DemoAND ()
 
static void DemoXOR ()
 
static void DemoSUB ()
 
static void DemoINV ()
 
static void DemoAND_SUB ()
 
int main (void)
 

Detailed Description

Example: algebra of sets operations.

Definition in file bvsetalgebra.cpp.

Function Documentation

◆ DemoAND()

static void DemoAND ( )
static

◆ DemoAND_SUB()

static void DemoAND_SUB ( )
static

◆ DemoINV()

static void DemoINV ( )
static
Examples:
bvsetalgebra.cpp.

Definition at line 517 of file bvsetalgebra.cpp.

References bm::bvector< Alloc >::invert(), print_bvector(), and bm::bvector< Alloc >::resize().

Referenced by main().

◆ DemoOR()

static void DemoOR ( )
static

◆ DemoSUB()

static void DemoSUB ( )
static

◆ DemoXOR()

static void DemoXOR ( )
static

◆ main()

int main ( void  )
Examples:
bvsetalgebra.cpp.

Definition at line 585 of file bvsetalgebra.cpp.

References DemoAND(), DemoAND_SUB(), DemoINV(), DemoOR(), DemoSUB(), and DemoXOR().

◆ make_BLOB()

static void make_BLOB ( vector< unsigned char > &  target_buf,
bm::bvector<> &  bv 
)
static

◆ print_bvector()

static void print_bvector ( const bm::bvector<> &  bv)
static