Uses of Interface
com.jgalgo.graph.WeightFunctionInt
Packages that use WeightFunctionInt
Package
Description
Graphs object are the fundamental building blocks of the JGAlgo library.
-
Uses of WeightFunctionInt in com.jgalgo.graph
Subinterfaces of WeightFunctionInt in com.jgalgo.graphModifier 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
.Fields in com.jgalgo.graph declared as WeightFunctionIntModifier and TypeFieldDescriptionstatic final WeightFunctionInt
<?> WeightFunction.CardinalityWeightFunction
A weight function that assign a weight of1
to any element.Methods in com.jgalgo.graph that return WeightFunctionIntModifier 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
.Methods in com.jgalgo.graph with parameters of type WeightFunctionIntModifier 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
.