HF RL Explorer

Feature Request: Extend igraph random walk to Support Edge Weights and Return Both Vertices and Edges

Feature Request: Extend igraph random walk to Support Edge Weights and Return Both Vertices and Edges: a task in LegoFlow-SWE (Harbor dataset). Extend igraph random walk() to accept an optional edge weight vector, and to allow returning vertices , edges , or both from the walk. The function should…

The task

Extend `igraph_random_walk()` to accept an optional edge weight vector, and to allow returning **vertices**, **edges**, or **both** from the walk. The function should handle all graph types (directed, undirected, loops, multi-edges) and traversal modes (`IGRAPH_OUT`, `IGRAPH_IN`, `IGRAPH_ALL`).

Part of Lego-X/LegoFlow-SWE.