Object

net.walend.disentangle.examples

BrandesExample

Related Doc: package examples

Permalink

object BrandesExample

Use Brandes' algorithms to find least paths and betweenness for a directed graph.

Since

v0.2.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BrandesExample
  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. lazy val betweennesses: Map[String, Double]

    Permalink

    The second item in the tuple holds the betweenness for the graph.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. lazy val edges: Seq[(String, String, String)]

    Permalink

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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. lazy val nodeOrder: Array[String]

    Permalink

    The labels from Brandes use node indexes from a directed graph, so it's best to control those via the optional nodeOrder parameter

  17. final def notify(): Unit

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

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

    Permalink

    Or just get the shortest paths

  20. lazy val shortPathLabels: IndexedSeq[(String, String, Option[BrandesSteps[String, Int]])]

    Permalink

    The first item in the tuple holds edges labels.

  21. lazy val shortestPathsAndBetweenness: (IndexedSeq[(String, String, Option[BrandesSteps[String, Int]])], Map[String, Double])

    Permalink

    Find shortest paths and betweenness for the graph

  22. lazy val shortestPathsAndBetweennessFromPar: (ParSeq[(String, String, Option[BrandesSteps[String, Int]])], ParMap[String, Double])

    Permalink

    Find shortest paths and betweenness for the graph in parallel

  23. lazy val subgraph: Set[InnerEdgeType]

    Permalink

    Get a subgraph that holds all the possible shortest paths

  24. lazy val support: BrandesSupport[String, Int, Int]

    Permalink

    BrandesSupport has some helper methods to generate the shortest paths.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped