obstnode.h

来自「动态规划实现的字典排序」· C头文件 代码 · 共 25 行

H
25
字号
#if !defined _OBSTNODE_H_
#define _OBSTNODE_H_
#include "string"
using namespace std;
class OBSTNode
{
public:
	void setpro(int i_total);
	void setcontent(string pch_string);
	void setvalue(int value);
	int returnvalue();
	float returnprobility();
	string returncontent();
	void setpro1(float i);
	void sethight(int iheight);
	int returnheight();
private:
	int i_value;
	float f_probility;
    string pch_content;
	int i_height;
};


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?