E
- the graph edge typepublic class FastutilFastLookupIntVertexGSS<E> extends Object implements GraphSpecificsStrategy<Integer,E>
Graphs constructed using this strategy use additional data structures to improve the performance
of methods which depend on edge retrievals, e.g. getEdge(V u, V v), containsEdge(V u, V
v),addEdge(V u, V v). A disadvantage is an increase in memory consumption. If memory utilization
is an issue, use the FastutilIntVertexGSS
instead.
Constructor and Description |
---|
FastutilFastLookupIntVertexGSS() |
Modifier and Type | Method and Description |
---|---|
Function<GraphType,IntrusiveEdgesSpecifics<Integer,E>> |
getIntrusiveEdgesSpecificsFactory()
Get a function which creates the intrusive edges specifics.
|
BiFunction<Graph<Integer,E>,GraphType,Specifics<Integer,E>> |
getSpecificsFactory()
Get a function which creates the specifics.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEdgeSetFactory
public BiFunction<Graph<Integer,E>,GraphType,Specifics<Integer,E>> getSpecificsFactory()
GraphSpecificsStrategy
getSpecificsFactory
in interface GraphSpecificsStrategy<Integer,E>
public Function<GraphType,IntrusiveEdgesSpecifics<Integer,E>> getIntrusiveEdgesSpecificsFactory()
GraphSpecificsStrategy
Note that it is very important to use a map implementation which respects iteration order.
getIntrusiveEdgesSpecificsFactory
in interface GraphSpecificsStrategy<Integer,E>
Copyright © 2019. All rights reserved.