Versions in this module Expand all Collapse all v0 v0.1.1 Jun 13, 2025 v0.1.0 Jun 13, 2025 Changes in this version + const CTypeRM + const CTypeSHEM + const DBGCoarsen + const DBGConnInfo + const DBGContigInfo + const DBGIPart + const DBGInfo + const DBGMemory + const DBGMoveInfo + const DBGRefine + const DBGSepInfo + const DBGTime + const Error + const ErrorInput + const ErrorMemory + const GTypeDual + const GTypeNodal + const IPTypeEdge + const IPTypeGrow + const IPTypeMetisRB + const IPTypeNode + const IPTypeRandom + const NoOptions + const OK + const ObjTypeCut + const ObjTypeNode + const ObjTypeVol + const OptionBalance + const OptionCCOrder + const OptionCType + const OptionCompress + const OptionContig + const OptionDBGLvl + const OptionGType + const OptionHelp + const OptionIPType + const OptionMinConn + const OptionNCommon + const OptionNCuts + const OptionNIter + const OptionNSeps + const OptionNo2Hop + const OptionNoOutput + const OptionNumbering + const OptionObjType + const OptionPFactor + const OptionPType + const OptionRType + const OptionSeed + const OptionTPWGTS + const OptionUBVec + const OptionUFactor + const PTypeKway + const PTypeRB + const RTypeFM + const RTypeGreedy + const RTypeSep1Sided + const RTypeSep2Sided + func CalculateEdgeCut(g *Graph, part []int32) int32 + func CalculatePartitionBalance(part []int32, vwgt []int32, nparts int32) (min, max, avg float64) + func ComputeVertexSeparator(xadj, adjncy, vwgt []int32, options []int32) (int32, []int32, error) + func MeshToDual(ne, nn int32, eptr, eind []int32, ncommon int32) ([]int32, []int32, error) + func MeshToNodal(ne, nn int32, eptr, eind []int32) ([]int32, []int32, error) + func NodeND(xadj, adjncy, vwgt []int32, options []int32) ([]int32, []int32, error) + func PartGraphKway(xadj, adjncy []int32, nparts int32, options []int32) ([]int32, int32, error) + func PartGraphKwayWeighted(xadj, adjncy, vwgt, adjwgt []int32, nparts int32, tpwgts, ubvec []float32, ...) ([]int32, int32, error) + func PartGraphRecursive(xadj, adjncy []int32, nparts int32, options []int32) ([]int32, int32, error) + func PartGraphRecursiveWeighted(xadj, adjncy, vwgt, adjwgt []int32, nparts int32, tpwgts, ubvec []float32, ...) ([]int32, int32, error) + func PartMeshDual(ne, nn int32, eptr, eind []int32, vwgt, vsize []int32, ncommon, nparts int32, ...) (int32, []int32, []int32, error) + func PartMeshNodal(ne, nn int32, eptr, eind []int32, vwgt, vsize []int32, nparts int32, ...) (int32, []int32, []int32, error) + func SetDefaultOptions(opts []int32) error + func Version() string + func WritePartitioning(w io.Writer, part []int32) error + type Graph struct + Adjncy []int32 + Adjwgt []int32 + Vwgt []int32 + Xadj []int32 + func ConvertMeshToGraph(ne, nn int32, eptr, eind []int32, dual bool, ncommon int32) (*Graph, error) + func NewGraph(xadj, adjncy []int32) *Graph + func ReadGraphFile(r io.Reader) (*Graph, error) + func (g *Graph) Degree(v int) int + func (g *Graph) Neighbors(v int) []int32 + func (g *Graph) NumEdges() int + func (g *Graph) NumVertices() int