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

    Metrics

    pub struct Metrics {
    part_weights : (Int64, Int64)
    part_sizes : (Int, Int)
    capacities : (Int64, Int64)
    cut_net : Int64
    connectivity : Int64
    max_to_average : Double
    } derive(
    Debug
    )

    Independently recomputed measurements for a complete feasible bipartition.

    Metrics::to_repr

    uniform_capacity

    fn uniform_capacity(total : Int64, imbalance_permille : Int) -> Result[Int64,
    InputError
    ]

    Exact ceil(total * (1000 + imbalance_permille) / 2000). Tolerance is between 0 and 1000 per mille. Intermediate products cannot overflow.

    verify

    Validate assignment length, IDs, nonempty parts, capacities and objective. Only the original graph is read. No solver counts or gain caches are accepted.

    Source Files