Packages

  • package root

    Welcome to the Graph for Scala API reference.

    Welcome to the Graph for Scala API reference. Some suggested navigation entry points:

    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package collection

    Contains the base traits and objects needed to use Graph for Scala.

    Contains the base traits and objects needed to use Graph for Scala.

    See also the Graph for Scala Core User Guide.

    Definition Classes
    scalax
  • package config
    Definition Classes
    collection
  • package edge

    Predefined edges.

    Predefined edges.

    While basic edge types are defined in the object GraphEdge, the predefined edges in this package cover the following categories (prefixes, shortcuts):

    weighted (W, %), key-weighted (Wk, %#), labeled (L, +), key-labeled (Lk, +#), weighted and labeled (WL, %+), key-weighted and labeled (WkL, %#+), weighted and key-labeled (WLk, %+#) and key-weighted and key-labeled (WkLk, %#+#).

    These predefined edges provide alternatives for any edge extension taking the burden from the user to implement his/her custom edge class - but baring the disadvantage that user edge attributes must be part of a label class as opposed to being part of the edge class directly. It may also serve as a source for looking up how to implement custom edge classes.

    Definition Classes
    collection
  • package generator

    This package helps you to create random graphs with predefined metrics.

    This package helps you to create random graphs with predefined metrics. It is not only possible to create random graph instances but also Scalacheck generators.

    Definition Classes
    collection
  • package generic
    Definition Classes
    collection
  • AnyOrdering
  • GraphCompanion
  • GraphCoreCompanion
  • GroupIterator
  • ImmutableGraphCompanion
  • MutableGraphCompanion
  • package immutable
    Definition Classes
    collection
  • package interfaces
    Definition Classes
    collection
  • package mutable
    Definition Classes
    collection

package generic

Type Members

  1. class AnyOrdering[N] extends Ordering[N]

    Ordering for Any with the following rules: numerical > string > any other reference type.

    Ordering for Any with the following rules: numerical > string > any other reference type. If a reference type is not a subclass of Ordered, it will be ordered according to its toString value.

  2. trait GraphCompanion[+CC[N, E[X] <: EdgeLikeIn[X]] <: Graph[N, E[X]] with GraphLike[N, E[X], CC]] extends AnyRef

    Methods common to Graph companion objects in the core module.

    Methods common to Graph companion objects in the core module.

    CC

    the kind of type of the graph that is to become the companion class/trait of the object extending this trait.

  3. trait GraphCoreCompanion[+CC[N, E[X] <: EdgeLikeIn[X]] <: Graph[N, E[X]] with GraphLike[N, E[X], CC]] extends GraphCompanion[CC]

    GraphCompanion extended to work with CoreConfig.

  4. trait GroupIterator[A] extends Iterator[A]

    Iterator facilitating group-wise iteration over two ore more levels.

    Iterator facilitating group-wise iteration over two ore more levels. Each level is represented by an inner iterator. Interactions between these levels are handled internally thus the implementor just needs to define the individual level iterators. Level iterator implementations will typically be inner objects inheriting from the public inner traits of this trait.

    This trait is not graph-specific.

    A

    Simple or composite type of elements being subject to the iteration. For instance, a two-level iteration could expose just the elements of the inner loop or both the outer and the inner loop elements as a tuple.

  5. trait ImmutableGraphCompanion[+CC[N, E[X] <: EdgeLikeIn[X]] <: immutable.Graph[N, E[X]] with GraphLike[N, E[X], CC]] extends GraphCoreCompanion[CC]
  6. trait MutableGraphCompanion[+CC[N, E[X] <: EdgeLikeIn[X]] <: mutable.Graph[N, E[X]] with mutable.GraphLike[N, E[X], CC]] extends GraphCoreCompanion[CC]

Ungrouped