在讨论图时节点(node )和顶点(vertex )是同义的。在本书中,您会发现这两个词都会被用到。但是在阿岶奇 TinkerPop的文档中只使用了单词"顶点",同样的在讨论Gremlin小精灵查询语言和其它概念时也是尽可能使用“顶点Vertex”。我也尽要能的使用顶点或者顶点的复数形式(vertices)。随着本书的形成,笔者发现这些术语的使用变成不一致,笔者还有持续的更新本书,笔者计划,除了少数异常情况,如在讨论二叉树,尽可能规范的使用术语“顶点vertex”而不是“节点node”。这样本书就与TinkerPop官方文档保持一致了。类似的,在讨论顶点的关系时用到的术语是边edge或者边的复数形式edges.在其它书或文章中,您也可能看到用了术语如“关系relationship”或者弧“arc”,在讨论图时,这些术语与边(edges)是同义的。
The words node and vertex are synonymous when discussing a graph. Throughout this book you
may find both words used. However, as the Apache TinkerPop documentation almost exclusively
uses the word vertex, as much as possible when discussing Gremlin queries and other concepts, I
endeavor to stick to the word vertex or the plural form vertices. As this book has evolved, I realized
my use of these terms had become inconsistent and as I continue to make updates, I plan, with a
few exceptions, such as when discussing binary trees, to standardize on vertex rather than node. In
that way, this book will be consistent with the official TinkerPop documentation. Similarly, when
discussing the connections between vertices I use the term edge or the plural form, edges. In other
books and articles you may also see terms like relationship or arc used. Again these terms are
synonymous in the context of graphs.
posted on 2022-03-30 22:47  bokeyuannicheng0000  阅读(37)  评论(0)    收藏  举报