Uses of Interface
com.jgalgo.graph.Weights
Packages that use Weights
Package
Description
Adapters from Guava to JGalgo, and from JGalgo to Guava.
Adapters from JGraphT to JGalgo, and from JGalgo to JGraphT.
Graphs object are the fundamental building blocks of the JGAlgo library.
-
Uses of Weights in com.jgalgo.adapt.guava
Methods in com.jgalgo.adapt.guava with type parameters of type WeightsModifier and TypeMethodDescriptionGuavaNetworkWrapper.addEdgesWeights(String key, Class<? super T> type, T defVal) GuavaNetworkWrapper.addVerticesWeights(String key, Class<? super T> type, T defVal) GuavaNetworkWrapper.edgesWeights(String key) GuavaNetworkWrapper.verticesWeights(String key) -
Uses of Weights in com.jgalgo.adapt.jgrapht
Methods in com.jgalgo.adapt.jgrapht with type parameters of type WeightsModifier and TypeMethodDescriptionJGraphTWrapper.addEdgesWeights(String key, Class<? super T> type, T defVal) JGraphTWrapper.addVerticesWeights(String key, Class<? super T> type, T defVal) JGraphTWrapper.edgesWeights(String key) JGraphTWrapper.verticesWeights(String key) -
Uses of Weights in com.jgalgo.graph
Subinterfaces of Weights in com.jgalgo.graphModifier and TypeInterfaceDescriptioninterfaceIWeights<T>Weights of int graph vertices or edges.interfaceSpecific 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.interfaceWeightsBool<K>Specific weights ofboolean.interfaceWeightsByte<K>Specific weights ofbyte.interfaceWeightsChar<K>Specific weights ofchar.interfaceSpecific weights ofdouble.interfaceWeightsFloat<K>Specific weights offloat.interfaceWeightsInt<K>Specific weights ofint.interfaceWeightsLong<K>Specific weights oflong.interfaceWeightsObj<K,T> Specific weights ofObject.interfaceWeightsShort<K>Specific weights ofshort.Methods in com.jgalgo.graph with type parameters of type WeightsModifier and TypeMethodDescriptionGraph.addEdgesWeights(String key, Class<? super T> type) Add a new weights container associated with the edges of this graph.Graph.addEdgesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the edges of this graph with default value.GraphBuilder.addEdgesWeights(String key, Class<? super T> type) Add a new weights container associated with the edges of the built graph.GraphBuilder.addEdgesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the edges of the built graph with default value.IndexGraph.addEdgesWeights(String key, Class<? super T> type) Add a new weights container associated with the edges of this graph.IndexGraph.addEdgesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the edges of this graph with default value.Graph.addVerticesWeights(String key, Class<? super T> type) Add a new weights container associated with the vertices of this graph.Graph.addVerticesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the vertices of this graph with default value.GraphBuilder.addVerticesWeights(String key, Class<? super T> type) Add a new weights container associated with the vertices of the built graph.GraphBuilder.addVerticesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the vertices of built graph with default value.IndexGraph.addVerticesWeights(String key, Class<? super T> type) Add a new weights container associated with the vertices of this graph.IndexGraph.addVerticesWeights(String key, Class<? super T> type, T defVal) Add a new weights container associated with the vertices of this graph with default value.static <E,T, WeightsT extends Weights<E, T>>
WeightsTWeights.createExternalEdgesWeights(Graph<?, E> g, Class<? super T> type) Create an external edge weights container.static <E,T, WeightsT extends Weights<E, T>>
WeightsTWeights.createExternalEdgesWeights(Graph<?, E> g, Class<? super T> type, T defVal) Create an external edge weights container with default values.static <V,T, WeightsT extends Weights<V, T>>
WeightsTWeights.createExternalVerticesWeights(Graph<V, ?> g, Class<? super T> type) Create an external vertex weights container.static <V,T, WeightsT extends Weights<V, T>>
WeightsTWeights.createExternalVerticesWeights(Graph<V, ?> g, Class<? super T> type, T defVal) Create an external vertex weights container with default values.Graph.edgesWeights(String key) Get the edges weights of some key.GraphBuilder.edgesWeights(String key) Get the edges weights of some key.IntGraph.edgesWeights(String key) Get the edges weights of some key.IntGraphBuilder.edgesWeights(String key) Get the edges weights of some key.Graph.verticesWeights(String key) Get the vertices weights of some key.GraphBuilder.verticesWeights(String key) Get the vertices weights of some key.IntGraph.verticesWeights(String key) Get the vertices weights of some key.IntGraphBuilder.verticesWeights(String key) Get the vertices weights of some key.Methods in com.jgalgo.graph with parameters of type WeightsModifier and TypeMethodDescriptionstatic <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.