Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请问,我怎样才能得到糕点覆盖中的节点列表?那可能吗 ?
谢谢你。
我不相信直接获得糕点覆盖中所有节点的列表。并非所有节点都知道覆盖中的每个节点。然而,他们确实知道他们的叶子集中的节点。可以使用以下方法找到叶子集:node.getLeafSet()
我已经完成了一些关于糕点的阅读,通常似乎不需要检查网络中的所有节点。如果您想出于测试目的查看此内容,即节点已成功进入覆盖层,只需使用 .getLeafSet()