Uses of Interface
com.jgalgo.graph.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
Modifier 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
Modifier 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
Modifier and TypeInterfaceDescriptioninterface
IWeights<T>
Weights of int graph vertices or edges.interface
Specific weights ofboolean
for int graphs.interface
Specific weights ofbyte
for int graphs.interface
Specific weights ofchar
for int graphs.interface
Specific weights ofdouble
for int graphs.interface
Specific weights offloat
for int graphs.interface
Specific weights ofint
for int graphs.interface
Specific weights oflong
for int graphs.interface
IWeightsObj<T>
Specific weights ofObject
for int graphs.interface
Specific weights ofshort
for int graphs.interface
WeightsBool<K>
Specific weights ofboolean
.interface
WeightsByte<K>
Specific weights ofbyte
.interface
WeightsChar<K>
Specific weights ofchar
.interface
Specific weights ofdouble
.interface
WeightsFloat<K>
Specific weights offloat
.interface
WeightsInt<K>
Specific weights ofint
.interface
WeightsLong<K>
Specific weights oflong
.interface
WeightsObj<K,
T> Specific weights ofObject
.interface
WeightsShort<K>
Specific weights ofshort
.Modifier 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.Modifier 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.