Object

pegasus.spark.graphgen

KroneckerGenerator

Related Doc: package graphgen

Permalink

object KroneckerGenerator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KroneckerGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Region(srcMin: Long, dstMin: Long, level: Int, numEdges: Long) extends Product with Serializable

    Permalink

    a region.

    a region.

    srcMin

    the minimum source node id in the region

    dstMin

    the minimum destination node id in the region

    level

    of recursion

    numEdges

    the number of edges in the region

  2. case class RegionSlot(edgeCapacity: Long, regions: Buffer[Region]) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generate(region: Region, seedGraph: Array[(Int, Int)]): Stream[(Long, Long)]

    Permalink

    generate edges within a given region

    generate edges within a given region

    region

    to process

    seedGraph

    array of edges of the seed graph

    returns

    list of edges in the region

  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def main(args: Array[String]): Unit

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def parseSeedGraph(seedGraphPath: String): Array[(Int, Int)]

    Permalink

    read seed graph.

    read seed graph.

    seedGraphPath

    seed graph file path

    returns

    the array of edges in the seed graph

  18. def regionOrder(r: Region): Long

    Permalink
  19. def regionSlotOrder(s: RegionSlot): Long

    Permalink
  20. def run(level: Int, seedGraph: Array[(Int, Int)], numTasks: Int, sc: SparkContext): RDD[(Long, Long)]

    Permalink

    submit the spark job.

    submit the spark job.

    level

    of recursion

    seedGraph

    array of edges of the seed graph

    numTasks

    degree of parallelism (the number of tasks to run)

    sc

    spark context

    returns

    an RDD containing edges of the generated graph

  21. def splitRegion(region: Region, seedGraph: Array[(Int, Int)]): Array[Region]

    Permalink

    split a region

    split a region

    region

    to split

    seedGraph

    array of edges of the seed graph

    returns

    list of splitted regions

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped