DP-HLS
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
AHRunner Class Reference

#include <pyapi.h>

Public Member Functions

 AHRunner ()
 
 AHRunner (string query_string, string reference_string)
 
void run (py::dict py_penalties)
 runs the kernel with the query and reference strings set already. More...
 
void run (string query_string, string reference_string, py::dict py_penalties)
 runs the kernel with provided query and strings. More...
 
std::vector< std::vector< char > > get_traceback_path ()
 returns the traceback path. Address the traceback path of the zeroth block as tbp[0] and the oneth element as tbp[0][1]. More...
 
std::vector< std::vector
< std::vector< std::vector
< float > > > > 
get_scores ()
 Get the scores of all the blocks. Each block score is a 3d vector with dimension query_length x reference_length x N_LAYERS. More...
 

Public Attributes

string query
 
string reference
 
LoopLogger logger
 

Constructor & Destructor Documentation

AHRunner::AHRunner ( )
inline
AHRunner::AHRunner ( string  query_string,
string  reference_string 
)
inline

Member Function Documentation

std::vector<std::vector<std::vector<std::vector<float> > > > AHRunner::get_scores ( )

Get the scores of all the blocks. Each block score is a 3d vector with dimension query_length x reference_length x N_LAYERS.

Returns
std::vector<std::vector<std::vector<float>>>
std::vector<std::vector<char> > AHRunner::get_traceback_path ( )

returns the traceback path. Address the traceback path of the zeroth block as tbp[0] and the oneth element as tbp[0][1].

Returns
std::vector<std::vector<string>>
void AHRunner::run ( py::dict  py_penalties)

runs the kernel with the query and reference strings set already.

void AHRunner::run ( string  query_string,
string  reference_string,
py::dict  py_penalties 
)

runs the kernel with provided query and strings.

Parameters
query_string
reference_string

Member Data Documentation

LoopLogger AHRunner::logger
string AHRunner::query
string AHRunner::reference

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