libs.graph.BipartiteGraph
libs.graph.BipartiteGraph
Fields
| Name | Type | |
|---|---|---|
n | I32 | |
m | I32 | |
edges | hl.types.ArrayObj | |
pairU | hl.types.ArrayBytes_Int | |
pairV | hl.types.ArrayBytes_Int | |
adj | hl.types.ArrayObj | |
_dist | hl.types.ArrayBytes_Int | |
_maxDist | I32 | |
| static | INF | I32 |
| static | NIL | I32 |
Protos
f@33716reset(libs.graph.BipartiteGraph, I32, I32) → Voidf@33717addEdge(libs.graph.BipartiteGraph, I32, I32) → Voidf@33718maximumMatching(libs.graph.BipartiteGraph) → hl.types.ArrayObjf@33719minimumVertexCover(libs.graph.BipartiteGraph) → hl.types.ArrayObjf@33720maximumIndependentSet(libs.graph.BipartiteGraph) → hl.types.ArrayObjf@33721bfs(libs.graph.BipartiteGraph) → Boolf@33722dfs(libs.graph.BipartiteGraph, I32) → Boolf@33723walk(libs.graph.BipartiteGraph, hl.types.ArrayBytes_Int, I32, hl.types.ArrayObj, hl.types.ArrayBytes_Int, hl.types.ArrayObj, hl.types.ArrayBytes_Int, hl.types.ArrayObj) → Void
Bindings
- static
f@33715__constructor__(libs.graph.BipartiteGraph, I32, I32) → Void