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 TypeInterfaceDescriptioninterfaceWeight function that maps graph edges or vertices ofIntGraphto integer weights.interfaceSpecific weights ofbytefor int graphs.interfaceSpecific weights ofintfor int graphs.interfaceSpecific 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 WeightFunctionIntModifier and TypeFieldDescriptionstatic final WeightFunctionInt<?> WeightFunction.CardinalityWeightFunctionA weight function that assign a weight of1to 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) Replacenullweight function withWeightFunction.CardinalityWeightFunction.Methods in com.jgalgo.graph with parameters of type WeightFunctionIntModifier and TypeMethodDescriptionstatic <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.