Packages

class Graphs extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Graphs
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Graphs to any2stringadd[Graphs] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Graphs, B)
    Implicit
    This member is added by an implicit conversion from Graphs to ArrowAssoc[Graphs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ALSSyntheticData(): GraphFrame

    Some synthetic data that sits in Spark.

    Some synthetic data that sits in Spark.

    No description available.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def chain(n: Long): GraphFrame

    Returns a chain graph of the given size with Long ID type.

    Returns a chain graph of the given size with Long ID type. The vertex IDs are 0, 1, ..., n-1, and the edges are (0, 1), (1, 2), ...., (n-2, n-1).

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def empty[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): GraphFrame

    Returns an empty GraphFrame of the given ID type.

  11. def ensuring(cond: (Graphs) ⇒ Boolean, msg: ⇒ Any): Graphs
    Implicit
    This member is added by an implicit conversion from Graphs to Ensuring[Graphs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Graphs) ⇒ Boolean): Graphs
    Implicit
    This member is added by an implicit conversion from Graphs to Ensuring[Graphs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Graphs
    Implicit
    This member is added by an implicit conversion from Graphs to Ensuring[Graphs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Graphs
    Implicit
    This member is added by an implicit conversion from Graphs to Ensuring[Graphs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def friends: GraphFrame

    Graph of friends in a social network.

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def gridIsingModel(spark: SparkSession, n: Int): GraphFrame

    Version of gridIsingModel with vStd, eStd set to 1.0.

  21. def gridIsingModel(spark: SparkSession, n: Int, vStd: Double, eStd: Double): GraphFrame

    This method generates a grid Ising model with random parameters.

    This method generates a grid Ising model with random parameters.

    Ising models are probabilistic graphical models over binary variables xi. Each binary variable xi corresponds to one vertex, and it may take values -1 or +1. The probability distribution P(X) (over all xi) is parameterized by vertex factors ai and edge factors bij:

    P(X) = (1/Z) * exp[ \sum_i a_i x_i + \sum_{ij} b_{ij} x_i x_j ]

    where Z is the normalization constant (partition function). See Wikipedia for more information on Ising models.

    Each vertex is parameterized by a single scalar ai. Each edge is parameterized by a single scalar bij.

    n

    Length of one side of the grid. The grid will be of size n x n.

    vStd

    Standard deviation of normal distribution used to generate vertex factors "a". Default of 1.0.

    eStd

    Standard deviation of normal distribution used to generate edge factors "b". Default of 1.0.

    returns

    GraphFrame. Vertices have columns "id" and "a". Edges have columns "src", "dst", and "b". Edges are directed, but they should be treated as undirected in any algorithms run on this model. Vertex IDs are of the form "i,j". E.g., vertex "1,3" is in the second row and fourth column of the grid.

  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def star(n: Long): GraphFrame

    Returns a star graph with Long ID type, consisting of a central element indexed 0 (the root) and the n other leaf vertices 1, 2, ..., n.

    Returns a star graph with Long ID type, consisting of a central element indexed 0 (the root) and the n other leaf vertices 1, 2, ..., n.

    n

    the number of leaves

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def twoBlobs(blobSize: Int): GraphFrame

    Two densely connected blobs (vertices 0->n-1 and n->2n-1) connected by a single edge (0->n)

    Two densely connected blobs (vertices 0->n-1 and n->2n-1) connected by a single edge (0->n)

    blobSize

    the size of each blob.

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. def [B](y: B): (Graphs, B)
    Implicit
    This member is added by an implicit conversion from Graphs to ArrowAssoc[Graphs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Graphs to StringFormat[Graphs] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Graphs to any2stringadd[Graphs]

Inherited by implicit conversion StringFormat from Graphs to StringFormat[Graphs]

Inherited by implicit conversion Ensuring from Graphs to Ensuring[Graphs]

Inherited by implicit conversion ArrowAssoc from Graphs to ArrowAssoc[Graphs]

Ungrouped