NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | Static Public Members | List of all members
nvbio::bowtie2::cuda::ConstantCost< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::bowtie2::cuda::ConstantCost< T >

Constant cost function

Definition at line 111 of file scoring.h.

#include <scoring.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE ConstantCost ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE ConstantCost (const T min_val, const T max_val)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
operator() (const int i) const
 

Public Members

m_val
 

Static Public Members

static const CostType COST_TYPE = CONSTANT_COST
 

Constructor & Destructor Documentation

Definition at line 116 of file scoring.h.

template<typename T>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::bowtie2::cuda::ConstantCost< T >::ConstantCost ( const min_val,
const max_val 
)
inline

Definition at line 119 of file scoring.h.

Member Function Documentation

template<typename T>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE T nvbio::bowtie2::cuda::ConstantCost< T >::operator() ( const int  i) const
inline

Definition at line 122 of file scoring.h.

Member Data Documentation

template<typename T>
const CostType nvbio::bowtie2::cuda::ConstantCost< T >::COST_TYPE = CONSTANT_COST
static

Definition at line 113 of file scoring.h.

template<typename T>
T nvbio::bowtie2::cuda::ConstantCost< T >::m_val

Definition at line 124 of file scoring.h.


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