From 066f0ff358aafc4a5b72094f530389041829c022 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 4 Jan 2025 20:10:11 +0800 Subject: [PATCH] Fill in some parts --- 4-4-graph.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/4-4-graph.md b/4-4-graph.md index 49db779..18056e2 100644 --- a/4-4-graph.md +++ b/4-4-graph.md @@ -174,7 +174,11 @@ #### Predefined methods -- Provides access to information, and operation +- Provides access to information, and operation: + - `Graph.vertices`, `graph.edges`, `graph.triples`: access property + - `Graph.degrees`: Access connected edges: Provides a tuple with + (`vertexId`, `degree` of each vertex) + - `Graph.connectedComponents`: each of the connected components of the graph - Pregel-like iterative graph traversals: - Number of iterations are needed - `mergeMsg`: Combine incoming messages to a single one