org.apache.giraph.graph.Vertex.unwrapMutableEdges()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(0.9k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.apache.giraph.graph.Vertex.unwrapMutableEdges()方法的一些代码示例,展示了Vertex.unwrapMutableEdges()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Vertex.unwrapMutableEdges()方法的具体详情如下:
包路径:org.apache.giraph.graph.Vertex
类名称:Vertex
方法名:unwrapMutableEdges

Vertex.unwrapMutableEdges介绍

[英]If a org.apache.giraph.edge.MutableEdgesWrapper was used to provide a mutable iterator, copy any remaining edges to the new org.apache.giraph.edge.OutEdges data structure and keep a direct reference to it (thus discarding the wrapper). Called by the Giraph infrastructure after computation.
[中]如果是一个组织。阿帕奇。吉拉夫。边MutableEdgesWrapper用于提供一个可变迭代器,将任何剩余的边复制到新组织。阿帕奇。吉拉夫。边outedge数据结构并保留对它的直接引用(因此丢弃包装器)。计算后由Giraph基础设施调用。

代码示例

代码示例来源:origin: apache/giraph

vertex.unwrapMutableEdges();

代码示例来源:origin: org.apache.giraph/giraph-core

computation.compute(vertex, messages);
vertex.unwrapMutableEdges();

相关文章