📄 latn_add_1.cc
字号:
// file: latn_add_1.cc//// isip include files//#include "lattice_node.h"#include "lattice_node_constants.h"// method: add_next_node_cc//// arguments:// Lattice_node* lat_node_a: (input) node to be added to next node list//// return: logical_1 indicating status//// this method adds a node to the list of the next nodes//logical_1 Lattice_node::add_next_node_cc(Lattice_node* lat_node_a) { // allocate if necessary, and initialize the link list // if (next_nodes_d == (Link_list*)NULL) { next_nodes_d = new Link_list(); } next_nodes_d->insert_cc((void_p)lat_node_a); // increment the number of outgoing arcs // num_arcs_out_d++; // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -