COMBINATORIAL_BLAS  1.6
combblas::OptBuf< IT, NT > Class Template Reference

#include <OptBuf.h>

Public Member Functions

 OptBuf ()
 
void MarkEmpty ()
 
void Set (const std::vector< int > &maxsizes, int mA)
 
 ~OptBuf ()
 
 OptBuf (const OptBuf< IT, NT > &rhs)
 
OptBuf< IT, NT > & operator= (const OptBuf< IT, NT > &rhs)
 

Public Attributes

IT * inds
 
NT * nums
 
int * dspls
 
BitMapisthere
 
int p_c
 
int totmax
 
int localm
 

Detailed Description

template<class IT, class NT>
class combblas::OptBuf< IT, NT >

This special data structure is used for optimizing BFS iterations by providing a fixed sized buffer for communication the contents of the buffer are irrelevant until SpImpl:SpMXSpV starts hence the copy constructor that doesn't copy contents

Definition at line 43 of file OptBuf.h.

Constructor & Destructor Documentation

◆ OptBuf() [1/2]

template<class IT, class NT>
combblas::OptBuf< IT, NT >::OptBuf ( )
inline

Definition at line 46 of file OptBuf.h.

◆ ~OptBuf()

template<class IT, class NT>
combblas::OptBuf< IT, NT >::~OptBuf ( )
inline

Definition at line 68 of file OptBuf.h.

◆ OptBuf() [2/2]

template<class IT, class NT>
combblas::OptBuf< IT, NT >::OptBuf ( const OptBuf< IT, NT > &  rhs)
inline

Definition at line 82 of file OptBuf.h.

Member Function Documentation

◆ MarkEmpty()

template<class IT, class NT>
void combblas::OptBuf< IT, NT >::MarkEmpty ( )
inline

Definition at line 47 of file OptBuf.h.

◆ operator=()

template<class IT, class NT>
OptBuf<IT,NT>& combblas::OptBuf< IT, NT >::operator= ( const OptBuf< IT, NT > &  rhs)
inline

Definition at line 92 of file OptBuf.h.

◆ Set()

template<class IT, class NT>
void combblas::OptBuf< IT, NT >::Set ( const std::vector< int > &  maxsizes,
int  mA 
)
inline

Definition at line 55 of file OptBuf.h.

Member Data Documentation

◆ dspls

template<class IT, class NT>
int* combblas::OptBuf< IT, NT >::dspls

Definition at line 121 of file OptBuf.h.

◆ inds

template<class IT, class NT>
IT* combblas::OptBuf< IT, NT >::inds

Definition at line 119 of file OptBuf.h.

◆ isthere

template<class IT, class NT>
BitMap* combblas::OptBuf< IT, NT >::isthere

Definition at line 122 of file OptBuf.h.

◆ localm

template<class IT, class NT>
int combblas::OptBuf< IT, NT >::localm

Definition at line 125 of file OptBuf.h.

◆ nums

template<class IT, class NT>
NT* combblas::OptBuf< IT, NT >::nums

Definition at line 120 of file OptBuf.h.

◆ p_c

template<class IT, class NT>
int combblas::OptBuf< IT, NT >::p_c

Definition at line 123 of file OptBuf.h.

◆ totmax

template<class IT, class NT>
int combblas::OptBuf< IT, NT >::totmax

Definition at line 124 of file OptBuf.h.


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