Add a row with node_id and f64 score (PageRank, SSSP, LCC, centrality).
(&mut self, node_id: String, value: f64)
| 69 | |
| 70 | /// Add a row with node_id and f64 score (PageRank, SSSP, LCC, centrality). |
| 71 | pub fn push_node_f64(&mut self, node_id: String, value: f64) { |
| 72 | self.text_columns[0].push(node_id); |
| 73 | self.f64_columns[0].push(value); |
| 74 | self.row_count += 1; |
| 75 | } |
| 76 | |
| 77 | /// Add a row with node_id and i64 value (WCC component, community, triangles, coreness). |
| 78 | pub fn push_node_i64(&mut self, node_id: String, value: i64) { |