Ag108/MoonHyperPart/src/initial does not have a README file

    InitialResult

    pub struct InitialResult {
    assignment : Array[Int]
    metrics :
    Metrics

    starts_tried : Int
    search_nodes : Int
    } derive(
    Debug
    )

    SolveError

    pub(all) struct SolveError {
    kind : String
    message : String
    } derive(Eq,
    Debug
    ,
    ToJson
    )

    impossible marks a proved failure of a necessary feasibility condition. search_exhausted describes the bounded search only.

    SolveError::equal

    fn SolveError::equal(SolveError, SolveError) -> Bool

    SolveError::not_equal

    fn SolveError::not_equal(x : SolveError, y : SolveError) -> Bool

    SolveError::to_json

    construct

    fn construct(graph :
    Hypergraph
    , capacities : Array[Int64], seed~ : UInt, starts~ : Int, search_nodes~ : Int) -> Result[InitialResult, SolveError]

    Multi-start greedy packing followed by bounded repair when all starts fail. Start zero uses decreasing vertex weight and increasing ID for ties.

    Source Files