Object

net.walend.disentangle.examples

DijkstraExample

Related Doc: package examples

Permalink

object DijkstraExample

Use Dijkstra's algorithms to find either single-source or all-pairs shortest paths using the default semiring.

Since

v0.2.0

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

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. lazy val edges: Seq[(String, String, String)]

    Permalink

    Edges are just a Seq of Tuple3[Node,Node,Edge]

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. lazy val initialLabelDigraph: IndexedLabelDigraph[String, Label]

    Permalink

    To get all shortest paths from a single source (or sink), first create the initial label digraph.

    To get all shortest paths from a single source (or sink), first create the initial label digraph. You'll want to reuse this graph for different sources and sinks.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. lazy val labelDigraph: AdjacencyLabelDigraph[String, Label]

    Permalink

    The helper methods in AllPathsFirstSteps need a directed graph.

    The helper methods in AllPathsFirstSteps need a directed graph. Use AllPathsFirstSteps.semiring's annihilator - None - for noEdgeExistsValue.

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. lazy val paths: Seq[Seq[InnerNodeType]]

    Permalink

    Or just get the shortest paths

  19. lazy val shortPathLabelsFromA: Seq[(String, String, Label)]

    Permalink

    Use the initialLabelDigraph to create the labels for the shortest paths from the source.

  20. lazy val simpleShortPathLabels: Seq[(String, String, Option[FirstStepsTrait[String, Int]])]

    Permalink

    Generate all the shortest paths in the graph

  21. lazy val simpleShortPathLabelsFromPar: ParSeq[(String, String, Option[FirstStepsTrait[String, Int]])]

    Permalink

    Generate all the shortest paths in the graph in parallel

  22. lazy val subgraph: Set[InnerEdgeType]

    Permalink

    Get a subgraph that holds all the possible shortest paths

  23. lazy val support: AllPathsFirstSteps[String, Int, Int]

    Permalink

    The simplest API call finds paths with the fewest nodes, and supplies possible first steps to follow those paths.

    The simplest API call finds paths with the fewest nodes, and supplies possible first steps to follow those paths. AllPathsFirstSteps has some helper methods to generate the shortest paths.

    AllPathsFirstSteps takes a type parameter for Node's type, so you'll need to create a new one for your use.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped