Uses of Interface
com.jgalgo.graph.WeightFunctionInt
Package
Description
Graphs object are the fundamental building blocks of the JGAlgo library.
-
Uses of WeightFunctionInt in com.jgalgo.graph
Modifier and TypeInterfaceDescriptioninterface
Weight function that maps graph edges or vertices ofIntGraph
to integer weights.interface
Specific weights ofbyte
for int graphs.interface
Specific weights ofint
for int graphs.interface
Specific weights ofshort
for int graphs.interface
WeightsByte<K>
Specific weights ofbyte
.interface
WeightsInt<K>
Specific weights ofint
.interface
WeightsShort<K>
Specific weights ofshort
.Modifier and TypeFieldDescriptionstatic final WeightFunctionInt
<?> WeightFunction.CardinalityWeightFunction
A weight function that assign a weight of1
to any element.Modifier and TypeMethodDescriptionstatic <K> WeightFunctionInt
<K> WeightFunction.cardinalityWeightFunction()
Get the cardinality weight function.static <K> WeightFunctionInt
<K> WeightFunction.replaceNullWeightFunc
(WeightFunctionInt<K> weightFunc) Replacenull
weight function withWeightFunction.CardinalityWeightFunction
.Modifier and TypeMethodDescriptionstatic <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
.