Class FastutilIntVertexGSS<E>

  • Type Parameters:
    E - the graph edge type
    All Implemented Interfaces:
    java.io.Serializable, GraphSpecificsStrategy<java.lang.Integer,​E>

    public class FastutilIntVertexGSS<E>
    extends java.lang.Object
    implements GraphSpecificsStrategy<java.lang.Integer,​E>
    A specifics strategy implementation using fastutil maps for storage specialized for integer vertices.
    Author:
    Dimitrios Michail
    See Also:
    Serialized Form
    • Constructor Detail

      • FastutilIntVertexGSS

        public FastutilIntVertexGSS()
    • Method Detail

      • getSpecificsFactory

        public java.util.function.BiFunction<Graph<java.lang.Integer,​E>,​GraphType,​Specifics<java.lang.Integer,​E>> getSpecificsFactory()
        Description copied from interface: GraphSpecificsStrategy
        Get a function which creates the specifics. The factory will accept the graph type as a parameter.
        Specified by:
        getSpecificsFactory in interface GraphSpecificsStrategy<java.lang.Integer,​E>
        Returns:
        a function which creates intrusive edges specifics.
      • getIntrusiveEdgesSpecificsFactory

        public java.util.function.Function<GraphType,​IntrusiveEdgesSpecifics<java.lang.Integer,​E>> getIntrusiveEdgesSpecificsFactory()
        Description copied from interface: GraphSpecificsStrategy
        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.

        Specified by:
        getIntrusiveEdgesSpecificsFactory in interface GraphSpecificsStrategy<java.lang.Integer,​E>
        Returns:
        a function which creates intrusive edges specifics.