hazy_create_view_regressions.cxx File Reference


Classes

struct  _id_entry

Functions

void parse_pair (const char *str, int &feature_id, float &feature_value)
bool check_table_exist (Hazy_Database *db_conn, string table_name)
void test_retrieve_unique_id (Hazy_Database *db_conn, bool &success)
void test_insert_newview_to_catalog (Hazy_Database *db_conn, bool &success)
void test_callGetStatsFeaturesFunction (Hazy_Database *db_conn, bool &success)
void test_normalizeAndGetM (Hazy_Database *db_conn, bool &success)
void test_callCreateEntityFeaturesFunction (Hazy_Database *db_conn, bool &success)
void test_callPrepareTrainFunction (Hazy_Database *db_conn, bool &success)
void test_getNumberOfFeatures (Hazy_Database *db_conn, bool &success)
void test_singleCreateView (Hazy_Database *db_conn, bool &success, enum storage_manager_type _sm, int _useepsmap, hazy_model::strategy _strategy, int _buffer_size)
void test_createView (Hazy_Database *db_conn, bool &success)
void test_createTriggers (Hazy_Database *db_conn, bool &success)
int main (int argc, char *argv[])

Variables

string view_name = "dblife_labeled_papers"
string view_key = "id"
string entity_table = "dblife_pubs"
string entity_table_key = "id"
string labels_table = "Paper_Area"
string label_in_table = "l"
string example_table = "Example_Papers"
string example_table_key = "id"
string example_table_label = "l"
string feature_function = "tf_bag_of_words"
int global_counter = 0
string dbname = "VLDB11_Exp"
enum storage_manager_type sm = ON_DISK_SM
int dense = 0
int useepsmap = 0
hazy_model::strategy hazy_strategy = hazy_model::EAGER_HAZY
int reservoir_size = 1000
double resort_time = 1.8
double tao_val = 0.0001
double alpha_ratio = 1
int buffer_size = 0
const std::string error_msg = "There is an error in the query\n"

Function Documentation

bool check_table_exist ( Hazy_Database db_conn,
string  table_name 
)

int main ( int  argc,
char *  argv[] 
)

void parse_pair ( const char *  str,
int &  feature_id,
float &  feature_value 
)

void test_callCreateEntityFeaturesFunction ( Hazy_Database db_conn,
bool &  success 
)

void test_callGetStatsFeaturesFunction ( Hazy_Database db_conn,
bool &  success 
)

void test_callPrepareTrainFunction ( Hazy_Database db_conn,
bool &  success 
)

void test_createTriggers ( Hazy_Database db_conn,
bool &  success 
)

void test_createView ( Hazy_Database db_conn,
bool &  success 
)

void test_getNumberOfFeatures ( Hazy_Database db_conn,
bool &  success 
)

void test_insert_newview_to_catalog ( Hazy_Database db_conn,
bool &  success 
)

void test_normalizeAndGetM ( Hazy_Database db_conn,
bool &  success 
)

void test_retrieve_unique_id ( Hazy_Database db_conn,
bool &  success 
)

void test_singleCreateView ( Hazy_Database db_conn,
bool &  success,
enum storage_manager_type  _sm,
int  _useepsmap,
hazy_model::strategy  _strategy,
int  _buffer_size 
)


Variable Documentation

double alpha_ratio = 1

int buffer_size = 0

string dbname = "VLDB11_Exp"

int dense = 0

string entity_table = "dblife_pubs"

string entity_table_key = "id"

const std::string error_msg = "There is an error in the query\n"

string example_table = "Example_Papers"

string example_table_key = "id"

string example_table_label = "l"

string feature_function = "tf_bag_of_words"

int global_counter = 0

hazy_model::strategy hazy_strategy = hazy_model::EAGER_HAZY

string label_in_table = "l"

string labels_table = "Paper_Area"

int reservoir_size = 1000

double resort_time = 1.8

enum storage_manager_type sm = ON_DISK_SM

double tao_val = 0.0001

int useepsmap = 0

string view_key = "id"

string view_name = "dblife_labeled_papers"


Generated on Wed Dec 15 10:46:16 2010 for Hazy_System by  doxygen 1.4.7