| Modifier and Type | Field and Description |
|---|---|
protected ElementOrderMethod<V> |
BaseValueGraphAdapter.vertexOrderMethod |
protected ElementOrderMethod<V> |
BaseNetworkAdapter.vertexOrderMethod |
protected ElementOrderMethod<V> |
BaseGraphAdapter.vertexOrderMethod |
| Modifier and Type | Method and Description |
|---|---|
static <T> ElementOrderMethod<T> |
ElementOrderMethod.comparator(java.util.Comparator<T> comparator)
Get the comparator ordering method.
|
static <T> ElementOrderMethod<T> |
ElementOrderMethod.guavaComparator()
Get the guava comparator ordering method.
|
static <T> ElementOrderMethod<T> |
ElementOrderMethod.internal()
Get the internal ordering method.
|
static <T> ElementOrderMethod<T> |
ElementOrderMethod.natural()
Get the natural ordering method
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jgrapht.graph.guava.ElementOrder<V> |
BaseValueGraphAdapter.createVertexOrder(ElementOrderMethod<V> vertexOrderMethod)
Create the internal vertex order implementation.
|
protected org.jgrapht.graph.guava.ElementOrder<V> |
BaseNetworkAdapter.createVertexOrder(ElementOrderMethod<V> vertexOrderMethod)
Create the internal vertex order implementation.
|
protected org.jgrapht.graph.guava.ElementOrder<V> |
BaseGraphAdapter.createVertexOrder(ElementOrderMethod<V> vertexOrderMethod)
Create the internal vertex order implementation.
|
| Constructor and Description |
|---|
BaseGraphAdapter(G graph,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<com.google.common.graph.EndpointPair<V>> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new adapter.
|
BaseNetworkAdapter(N network,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<E> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new network adapter.
|
BaseValueGraphAdapter(VG valueGraph,
java.util.function.ToDoubleFunction<W> valueConverter,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<com.google.common.graph.EndpointPair<V>> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new adapter.
|
MutableGraphAdapter(com.google.common.graph.MutableGraph<V> graph,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<com.google.common.graph.EndpointPair<V>> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new adapter.
|
MutableNetworkAdapter(com.google.common.graph.MutableNetwork<V,E> network,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<E> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new network adapter.
|
MutableValueGraphAdapter(com.google.common.graph.MutableValueGraph<V,W> valueGraph,
W defaultValue,
java.util.function.ToDoubleFunction<W> valueConverter,
java.util.function.Supplier<V> vertexSupplier,
java.util.function.Supplier<com.google.common.graph.EndpointPair<V>> edgeSupplier,
ElementOrderMethod<V> vertexOrderMethod)
Create a new adapter.
|
Copyright © 2021. All rights reserved.