找回密码
 注册
查看: 401|回复: 0

R语言 hypergraph包 Hypergraph-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 22:06:21 | 显示全部楼层 |阅读模式
Hypergraph-class(hypergraph)
Hypergraph-class()所属R语言包:hypergraph

                                        Class Hypergraph
                                         一类超图

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

A hypergraph consists of a set of nodes and a set of hyperedges.  Each hyperedge is a subset of the node set.  This class provides a representation of a hypergraph that is (hopefully) useful for computing.
一个超图由一组节点和一组超边。每个hyperedge是节点集的一个子集。这个类提供了一个超表示,这是(希望)计算有用。


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("Hypergraph", nodes, hyperedges). You can also use the convenience function Hypergraph.  The nodes argument should be a character vector of distinct labels representing the nodes of the hypergraph.  The hyperedges argument must be a list of Hyperedge-class objects.
创建对象可以通过检测的形式new("Hypergraph", nodes, hyperedges)。你也可以用方便的功能Hypergraph。 nodes参数应该是一个不同的标签代表的超图的节点的特征向量。 hyperedges参数必须是一个Hyperedge-class对象的名单。


插槽----------Slots----------




nodes: A "character" vector specifying the nodes
nodes:"character"向量指定的节点




hyperedges: A "list" of
hyperedges:"list"


方法----------Methods----------




hyperedges signature(.Object = "Hypergraph"): Return
超边signature(.Object = "Hypergraph"):返回




hyperedgeLabels signature(.Object = "Hypergraph"): Return a character vector of labels for the Hyperedge objects in the
hyperedgeLabelssignature(.Object = "Hypergraph"):Hyperedge对象返回的标签特征向量




inciMat signature(.Object = "Hypergraph"): Return the
inciMatsignature(.Object = "Hypergraph"):返回




inciMat2HG signature(.Object = "matrix"): Return the
inciMat2HG signature(.Object = "matrix"):返回




initialize signature(.Object = "Hypergraph"): Create
初始化signature(.Object = "Hypergraph"):创建




nodes signature(object = "Hypergraph"): Return the
节点signature(object = "Hypergraph"):返回




numNodes signature(object = "Hypergraph"): Return the
numNodessignature(object = "Hypergraph"):返回




toGraphNEL signature(.Object = "Hypergraph"): Return the graphNEL representation of the hypergraph (a bipartite
toGraphNELsignature(.Object = "Hypergraph"):返回graphNEL超图表示(二部


作者(S)----------Author(s)----------


Seth Falcon



参见----------See Also----------

Hyperedge-class DirectedHyperedge-class graphNEL-class
Hyperedge-classDirectedHyperedge-classgraphNEL-class


举例----------Examples----------


nodes <- LETTERS[1:4]
hEdges <- lapply(list("A", LETTERS[1:2], LETTERS[3:4]), "Hyperedge")
hg <- new("Hypergraph", nodes=nodes, hyperedges=hEdges)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-29 04:20 , Processed in 0.024850 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表