OpenStructure
Public Member Functions
AdjacencyBitmap Class Reference

#include <adjacency_bitmap.hh>

Public Member Functions

 AdjacencyBitmap (size_t n_vertices)
 
 AdjacencyBitmap (const DistanceMatrix &dmat_a, const DistanceMatrix &dmat_b, Real threshold, Real radius, int start, int end)
 
 AdjacencyBitmap (const SimilarityMatrix &sim, Real threshold)
 
 AdjacencyBitmap (const AdjacencyBitmap &rhs)
 
 ~AdjacencyBitmap ()
 
OverlapResult Overlap (size_t vert_i, size_t vert_j) const
 
void set (size_t i, size_t j, bool val, bool defined=true)
 
bool get (size_t i, size_t j) const
 
bool defined (size_t i, size_t j) const
 
size_t size () const
 
size_t num_bytes () const
 
void dump () const
 

Detailed Description

Definition at line 28 of file adjacency_bitmap.hh.

Constructor & Destructor Documentation

◆ AdjacencyBitmap() [1/4]

AdjacencyBitmap ( size_t  n_vertices)
inlineexplicit

Definition at line 30 of file adjacency_bitmap.hh.

◆ AdjacencyBitmap() [2/4]

AdjacencyBitmap ( const DistanceMatrix dmat_a,
const DistanceMatrix dmat_b,
Real  threshold,
Real  radius,
int  start,
int  end 
)
inline

Definition at line 39 of file adjacency_bitmap.hh.

◆ AdjacencyBitmap() [3/4]

AdjacencyBitmap ( const SimilarityMatrix sim,
Real  threshold 
)
inline

Definition at line 64 of file adjacency_bitmap.hh.

◆ AdjacencyBitmap() [4/4]

AdjacencyBitmap ( const AdjacencyBitmap rhs)
inline

Definition at line 79 of file adjacency_bitmap.hh.

◆ ~AdjacencyBitmap()

~AdjacencyBitmap ( )
inline

Definition at line 87 of file adjacency_bitmap.hh.

Member Function Documentation

◆ defined()

bool defined ( size_t  i,
size_t  j 
) const
inline

Definition at line 128 of file adjacency_bitmap.hh.

◆ dump()

void dump ( ) const

◆ get()

bool get ( size_t  i,
size_t  j 
) const
inline

Definition at line 119 of file adjacency_bitmap.hh.

◆ num_bytes()

size_t num_bytes ( ) const
inline

Definition at line 141 of file adjacency_bitmap.hh.

◆ Overlap()

OverlapResult Overlap ( size_t  vert_i,
size_t  vert_j 
) const

◆ set()

void set ( size_t  i,
size_t  j,
bool  val,
bool  defined = true 
)
inline

Definition at line 96 of file adjacency_bitmap.hh.

◆ size()

size_t size ( ) const
inline

Definition at line 137 of file adjacency_bitmap.hh.


The documentation for this class was generated from the following file: