com.twitter.cassovary.graph

TestGraphs

Related Doc: package graph

object TestGraphs

Some sample graphs for quick testing in tests.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TestGraphs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def bipartiteGraphDoubleSide: BipartiteGraph

  6. def bipartiteGraphSingleSide: BipartiteGraph

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def dangling_g7: ArrayBasedDirectedGraph

  9. def dangling_g7_in: ArrayBasedDirectedGraph

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val g1: TestGraph

  14. val g2_mutual: TestGraph

  15. val g2_nonmutual: TestGraph

  16. def g3: ArrayBasedDirectedGraph

  17. val g3_dangling_in: ArrayBasedDirectedGraph

  18. val g3_dangling_out: ArrayBasedDirectedGraph

  19. val g3_dangling_seq: Seq[NodeIdEdgesMaxId]

  20. def g5: ArrayBasedDirectedGraph

  21. def g6: ArrayBasedDirectedGraph

  22. def g6WithEmptyNodes: ArrayBasedDirectedGraph

  23. def g6_onlyin: ArrayBasedDirectedGraph

  24. def g6_onlyout: ArrayBasedDirectedGraph

  25. def g7_onlyin: ArrayBasedDirectedGraph

  26. def g7_onlyout: ArrayBasedDirectedGraph

  27. def generateCompleteGraph(numNodes: Int): TestGraph

  28. def generateRandomGraph(numNodes: Int, probEdge: Double, graphDir: StoredGraphDir = StoredGraphDir.BothInOut, rand: Random = new Random): ArrayBasedDirectedGraph

    numNodes

    number of nodes in the graph

    probEdge

    probability of existence of an edge

    graphDir

    store both directions or only one direction

    returns

    a random Erdos-Renyi Directed graph

  29. def generateRandomUndirectedGraph(numNodes: Int, probEdge: Double, graphDir: StoredGraphDir = StoredGraphDir.BothInOut, rand: Random = new Random, parallelismLimit: Int = 2): ArrayBasedDirectedGraph

    numNodes

    number of nodes in the undirected graph

    probEdge

    probability of existence of an edge, constant for each of (numNodes choose 2) edges

    graphDir

    store both directions or only one direction

    returns

    a random Erdos-Renyi undirected graph (a graph which only has mutual edges)

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

    Definition Classes
    AnyRef → Any
  31. def getProbEdgeRandomDirected(numNodes: Int, avgOutDegree: Int): Double

    returns

    Probability of existence of an edge in a random E-R graph.

  32. def hashCode(): Int

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

    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. val nodeSeqIterator: Seq[NodeIdEdgesMaxId]

  36. val nodeSeqIterator2: Seq[NodeIdEdgesMaxId]

  37. val nodeSeqIteratorWithEmpty: Seq[NodeIdEdgesMaxId]

  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped