请达人把下面的c的结构体转为delphi(pascal)

typedefstructnode_{intm_featureNr;//decisiononthisfeatureREALm_value;//thepredictionv... typedef struct node_
{
int m_featureNr; // decision on this feature
REAL m_value; // the prediction value
struct node_* m_toSmallerEqual; // pointer to node, if: feature[m_featureNr] <= m_value
struct node_* m_toLarger; // pointer to node, if: feature[m_featureNr] > m_value
int* m_trainSamples; // a list of indices of the training samples in this node
int m_nSamples; // the length of m_trainSamples
} node;
展开
 我来答
tx2153024
2012-08-21 · 超过11用户采纳过TA的回答
知道答主
回答量:24
采纳率:0%
帮助的人:17.6万
展开全部
type
pointer=^struct;
struct=record
m_featureNr:integer; {ecision on this feature}
m_value:real; { the prediction value}
m_toSmallerEqual:pointer ; { pointer to node, if: feature[m_featureNr] <= m_value}
m_toLarger:pointer ; {pointer to node, if: feature[m_featureNr] > m_value}
m_trainSamples:^integer; {a list of indices of the training samples in this node}
m_nSamples:integer; { the length of m_trainSamples}
end;
var
node:struct;
user19990313
2012-08-21 · 超过34用户采纳过TA的回答
知道答主
回答量:101
采纳率:0%
帮助的人:88.1万
展开全部
type node_=record
m_featurenr,m_nsamples:integer;
m_value:real;
m_trainstamples:^integer;
m_tosmallerequal,m_tolarger:^node_;
end;
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式