Interface GraphSpecificsStrategy<V,E>
- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultGraphSpecificsStrategy, FastLookupGraphSpecificsStrategy, FastutilFastLookupGSS, FastutilFastLookupIntVertexGSS, FastutilGSS, FastutilIntVertexGSS
A graph specifics construction factory.
Such a strategy can be used to adjust the internals of the default graph implementations.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault EdgeSetFactory<V, E> Get an edge set factory.Get a function which creates the intrusive edges specifics.Get a function which creates the specifics.
-
Method Details
-
getIntrusiveEdgesSpecificsFactory
Function<GraphType, IntrusiveEdgesSpecifics<V,E>> getIntrusiveEdgesSpecificsFactory()Get a function which creates the intrusive edges specifics. The factory will accept the graph type as a parameter.Note that it is very important to use a map implementation which respects iteration order.
- Returns:
- a function which creates intrusive edges specifics.
-
getSpecificsFactory
-
getEdgeSetFactory
Get an edge set factory.- Returns:
- an edge set factory
-