Ag108/MoonHyperPart/src/model does not have a README file
type Hypergraph derive(@moonbitlang/core/debug.DebugDebug)
fn Hypergraph::degree(self : Hypergraph, v : Int) -> Int
fn Hypergraph::edge_count(self : Hypergraph) -> Int
fn Hypergraph::edge_size(self : Hypergraph, e : Int) -> Int
fn Hypergraph::edge_weight(self : Hypergraph, e : Int) -> Int64
fn Hypergraph::incident_at(self : Hypergraph, v : Int, i : Int) -> Int
fn Hypergraph::pin_at(self : Hypergraph, e : Int, i : Int) -> Int
fn Hypergraph::pin_count(self : Hypergraph) -> Int
fn Hypergraph::to_repr(Hypergraph) -> @moonbitlang/core/debug.ReprRepr
fn Hypergraph::total_edge_weight(self : Hypergraph) -> Int64
fn Hypergraph::total_vertex_weight(self : Hypergraph) -> Int64
fn Hypergraph::vertex_count(self : Hypergraph) -> Int
fn Hypergraph::vertex_weight(self : Hypergraph, v : Int) -> Int64
pub(all) struct InputError { code : String line : Int message : String} derive(Eq, @moonbitlang/core/debug.DebugDebug, @moonbitlang/core/json.ToJsonToJson)
fn InputError::equal(InputError, InputError) -> Bool
fn InputError::not_equal(x : InputError, y : InputError) -> Bool
fn InputError::to_json(InputError) -> @moonbitlang/core/json.JsonJson
fn InputError::to_repr(InputError) -> @moonbitlang/core/debug.ReprRepr
pub(all) struct Limits { max_vertices : Int max_edges : Int max_pins : Int max_text_bytes : Int} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Limits::default() -> Limits
fn Limits::equal(Limits, Limits) -> Bool
fn Limits::not_equal(x : Limits, y : Limits) -> Bool
fn Limits::to_repr(Limits) -> @moonbitlang/core/debug.ReprRepr
fn build(vertex_weights : Array[Int64], edges : Array[Array[Int]], edge_weights : Array[Int64], limits? : Limits) -> Result[Hypergraph, InputError]
let max_weight : Int64
Install
Deterministic weighted hypergraph bipartitioning with independent validation
No dependencies
No dependents