Constructors

  • Parameters

    • root: string

    Returns SocialGraph

Properties

followDistanceByUser: Map<number, number> = ...
followedByUser: Map<number, Set<number>> = ...
followersByUser: Map<number, Set<number>> = ...
latestFollowEventTimestamps: Map<number, number> = ...
root: number
usersByFollowDistance: Map<number, Set<number>> = ...

Methods

  • Parameters

    • followedUser: number
    • follower: number

    Returns void

  • Parameters

    • distance: number
    • user: number

    Returns void

  • Parameters

    • address: string

    Returns Set<string>

  • Parameters

    • address: string

    Returns number

  • Parameters

    • address: string

    Returns number

  • Parameters

    • user: string

    Returns number

  • Parameters

    • user: string
    • includeSelf: boolean = false

    Returns Set<string>

  • Parameters

    • address: string

    Returns Set<string>

  • Parameters

    Returns void

  • Parameters

    • follower: string
    • followedUser: string

    Returns boolean

  • Parameters

    • unfollowedUser: number
    • follower: number

    Returns void

  • Parameters

    • root: string

    Returns void

Generated using TypeDoc