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 interface
IWeightFunctionInt
Weight function that maps graph edges or vertices ofIntGraph
to integer weights.interface
IWeightsByte
Specific weights ofbyte
for int graphs.interface
IWeightsInt
Specific weights ofint
for int graphs.interface
IWeightsShort
Specific weights ofshort
for int graphs.interface
WeightsByte<K>
Specific weights ofbyte
.interface
WeightsInt<K>
Specific weights ofint
.interface
WeightsShort<K>
Specific weights ofshort
.Fields in com.jgalgo.graph declared as WeightFunctionInt Modifier and Type Field Description static WeightFunctionInt<?>
WeightFunction. CardinalityWeightFunction
A weight function that assign a weight of1
to 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)
Replacenull
weight function withWeightFunction.CardinalityWeightFunction
.Methods in com.jgalgo.graph with parameters of type WeightFunctionInt Modifier and Type Method Description static <K> IWeightFunctionInt
IndexIdMaps. 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)
Replacenull
weight function withWeightFunction.CardinalityWeightFunction
.
-