Uses of Interface
com.jgalgo.graph.WeightFunctionInt
-
Packages that use WeightFunctionInt Package Description com.jgalgo.graph Graphs object are the fundamental building blocks of the JGAlgo library. -
-
Uses of WeightFunctionInt in com.jgalgo.graph
Subinterfaces of WeightFunctionInt in com.jgalgo.graph Modifier and Type Interface Description interfaceIWeightFunctionIntWeight function that maps graph edges or vertices ofIntGraphto integer weights.interfaceIWeightsByteSpecific weights ofbytefor int graphs.interfaceIWeightsIntSpecific weights ofintfor int graphs.interfaceIWeightsShortSpecific weights ofshortfor int graphs.interfaceWeightsByte<K>Specific weights ofbyte.interfaceWeightsInt<K>Specific weights ofint.interfaceWeightsShort<K>Specific weights ofshort.Fields in com.jgalgo.graph declared as WeightFunctionInt Modifier and Type Field Description static WeightFunctionInt<?>WeightFunction. CardinalityWeightFunctionA weight function that assign a weight of1to any element.Methods in com.jgalgo.graph that return WeightFunctionInt Modifier and Type Method Description static <K> WeightFunctionInt<K>WeightFunction. cardinalityWeightFunction()Get the cardinality weight function.static <K> WeightFunctionInt<K>WeightFunction. replaceNullWeightFunc(WeightFunctionInt<K> weightFunc)Replacenullweight function withWeightFunction.CardinalityWeightFunction.Methods in com.jgalgo.graph with parameters of type WeightFunctionInt Modifier and Type Method Description static <K> IWeightFunctionIntIndexIdMaps. idToIndexWeightFunc(WeightFunctionInt<K> w, IndexIdMap<K> map)Create an integer weight function that accept elements indices, given a weight function that accept elements IDs.static <K> WeightFunctionInt<K>WeightFunction. replaceNullWeightFunc(WeightFunctionInt<K> weightFunc)Replacenullweight function withWeightFunction.CardinalityWeightFunction.
-