Interface GrapeNbr.Factory<VID_T,​EDATA_T>

    • Method Detail

      • create

        GrapeNbr<VID_T,​EDATA_T> create​(VID_T lid)
        Create a Nbr with adjacent vertex.
        Parameters:
        lid - vertex id.
        Returns:
        Nbr instance.
      • create

        GrapeNbr<VID_T,​EDATA_T> create​(VID_T lid,
                                             EDATA_T edata)
        Create a Nbr with adjacent vertex and edge data.
        Parameters:
        lid - vertex id.
        edata - edge data.
        Returns:
        Nbr instance.