📄 tr_latn_add_0.cc
字号:
// file: tr_latn_add_0.cc//// isip include files//#include "train_lattice_node.h"#include "train_lattice_node_constants.h"// method: add_prev_node_cc//// arguments:// Train_Lattice_node* lat_node_a: (input) node to be added to prev node list//// return: logical_1 indicating status//// this method adds a node to the list of the prev nodes//logical_1 Train_Lattice_node::add_prev_node_cc(Train_Lattice_node* lat_node_a) { // the memory manager // Train_Memory_manager* manager = Train_Link_list::get_manager_cc(); // insert the node into the prev nodes list // Train_Link_node* temp_node = manager->new_node_cc(); temp_node->set_item_cc((void_p)lat_node_a); // allocate if necessary, and initialize the link list // if (prev_nodes_d == (Train_Link_list*)NULL) { prev_nodes_d = new Train_Link_list(); } prev_nodes_d->insert_cc(temp_node); // increment the number of incoming arcs // num_arcs_in_d++; // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -