Uses of Interface
com.jgalgo.graph.IWeights
Packages that use IWeights
Package
Description
Graphs object are the fundamental building blocks of the JGAlgo library.
-
Uses of IWeights in com.jgalgo.graph
Subinterfaces of IWeights in com.jgalgo.graphModifier and TypeInterfaceDescriptioninterfaceSpecific weights ofbooleanfor int graphs.interfaceSpecific weights ofbytefor int graphs.interfaceSpecific weights ofcharfor int graphs.interfaceSpecific weights ofdoublefor int graphs.interfaceSpecific weights offloatfor int graphs.interfaceSpecific weights ofintfor int graphs.interfaceSpecific weights oflongfor int graphs.interfaceIWeightsObj<T>Specific weights ofObjectfor int graphs.interfaceSpecific weights ofshortfor int graphs.Methods in com.jgalgo.graph with type parameters of type IWeightsModifier and TypeMethodDescriptionstatic <T,WeightsT extends IWeights<T>>
WeightsTIWeights.createExternalEdgesWeights(IntGraph g, Class<? super T> type) Create an external edge weights container.static <T,WeightsT extends IWeights<T>>
WeightsTIWeights.createExternalEdgesWeights(IntGraph g, Class<? super T> type, T defVal) Create an external edge weights container with default values.static <T,WeightsT extends IWeights<T>>
WeightsTIWeights.createExternalVerticesWeights(IntGraph g, Class<? super T> type) Create an external vertex weights container.static <T,WeightsT extends IWeights<T>>
WeightsTIWeights.createExternalVerticesWeights(IntGraph g, Class<? super T> type, T defVal) Create an external vertex weights container with default values.static <K,T, WeightsT extends IWeights<T>>
WeightsTIndexIdMaps.idToIndexWeights(Weights<K, T> weights, IndexIdMap<K> map) Create a weights view that is accessed by the elements indices, given a weights container that is accessed by the element IDs.