Trait/Object

scalax.collection.GraphEdge

EdgeLike

Related Docs: object EdgeLike | package GraphEdge

Permalink

sealed trait EdgeLike[+N] extends Iterable[N] with Eq with Serializable

Template for Edges in a Graph.

Implementation note: Irrespective of the containing Graph all library-provided Edges are immutable.

N

the user type of the nodes (ends) of this edge.

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EdgeLike
  2. Serializable
  3. Serializable
  4. Eq
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. AnyRef
  21. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by MonadOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  7. by alternateImplicit
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def baseEquals(other: EdgeLike[_]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Eq
  2. abstract def baseHashCode: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Eq
  3. abstract def hasSource(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any source end of this edge fulfills pred.

  4. abstract def hasSource[M >: N](node: M): Boolean

    Permalink

    true if node is a source of this edge.

    true if node is a source of this edge. In case this edge is undirected this method maps to isAt.

  5. abstract def hasTarget(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any target end of this edge fulfills pred.

  6. abstract def hasTarget[M >: N](node: M): Boolean

    Permalink

    true if node is a target of this edge.

    true if node is a target of this edge. In case this edge is undirected this method maps to isAt.

  7. abstract def isAt(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any end of this edge fulfills pred.

  8. abstract def isAt[M >: N](node: M): Boolean

    Permalink

    true if node is incident with this edge.

  9. abstract def isValidArity(size: Int): Boolean

    Permalink

    A function to determine whether the arity of the passed Product of nodes (that is the number of edge ends) is valid.

    A function to determine whether the arity of the passed Product of nodes (that is the number of edge ends) is valid. This function is called on every edge-instantiation by validate that throws EdgeException if this method returns false.

    Attributes
    protected
  10. abstract def iterator: Iterator[N]

    Permalink

    Iterator for the nodes (end-points) of this edge.

    Iterator for the nodes (end-points) of this edge.

    Definition Classes
    EdgeLike → IterableLike → GenIterableLike
  11. abstract def matches(p1: (N) ⇒ Boolean, p2: (N) ⇒ Boolean): Boolean

    Permalink

    true if
    a) two distinct ends of this undirected edge exist for which p1 and p2 hold or
    b) p1 holds for a source and p2 for a target of this directed edge.

  12. abstract def matches[M >: N](n1: M, n2: M): Boolean

    Permalink

    true if
    a) both n1 and n2 are at this edge for an undirected edge
    b) n1 is a source and n2 a target of this edge for a directed edge.

  13. abstract def nodes: Product

    Permalink

    The end nodes joined by this edge.

    The end nodes joined by this edge.

    Nodes will typically be represented by Tuples. Alternatively subclasses of Iterable implementing Product, such as List, may also be used. In the latter case be aware of higher memory footprint.

  14. abstract def withSources[U](f: (N) ⇒ U): Unit

    Permalink

    Applies f to all source ends of this edge without new memory allocation.

  15. abstract def withTargets[U](f: (N) ⇒ U): Unit

    Permalink

    Applies f to the target ends of this edge without new memory allocation.

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to any2stringadd[EdgeLike[N]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++[B >: N, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: N, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def ++:[B >: N, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  7. def ->[B](y: B): (EdgeLike[N], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to ArrowAssoc[EdgeLike[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. def /:[B](z: B)(op: (B, N) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  9. def :\[B](z: B)(op: (N, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def _1: N

    Permalink

    The first node.

    The first node. Same as _n(0).

    Annotations
    @inline()
  12. def _2: N

    Permalink

    The second node.

    The second node. Same as _n(1).

  13. def _n(n: Int): N

    Permalink

    The n'th node with 0 <= n < arity.

  14. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  16. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  17. def aggregate[B](z: ⇒ B)(seqop: (B, N) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. final def arity: Int

    Permalink

    Number of nodes linked by this Edge.

    Number of nodes linked by this Edge. At least two nodes are linked. In case of a hook, the two nodes are identical. Hyperedges may link more than two nodes.

  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def attributesToString: String

    Permalink
    Attributes
    protected
  21. def brackets: Brackets

    Permalink
    Attributes
    protected
  22. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    EdgeLike → IterableLike → Equals
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def collect[B, That](pf: PartialFunction[N, B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  25. def collectFirst[B](pf: PartialFunction[N, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  26. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  27. final def contains[M >: N](node: M): Boolean

    Permalink

    Same as isAt.

    Same as isAt.

    Annotations
    @inline()
  28. def copyToArray[B >: N](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  29. def copyToArray[B >: N](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  30. def copyToArray[B >: N](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  31. def copyToBuffer[B >: N](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  32. def count(p: (N) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def directed: Boolean

    Permalink

    true it this edge is directed.

  34. def drop(n: Int): Iterable[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  35. def dropRight(n: Int): Iterable[N]

    Permalink
    Definition Classes
    IterableLike
  36. def dropWhile(p: (N) ⇒ Boolean): Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  37. def ensuring(cond: (EdgeLike[N]) ⇒ Boolean, msg: ⇒ Any): EdgeLike[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to Ensuring[EdgeLike[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  38. def ensuring(cond: (EdgeLike[N]) ⇒ Boolean): EdgeLike[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to Ensuring[EdgeLike[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  39. def ensuring(cond: Boolean, msg: ⇒ Any): EdgeLike[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to Ensuring[EdgeLike[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. def ensuring(cond: Boolean): EdgeLike[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to Ensuring[EdgeLike[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  41. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def equals(other: EdgeLike[_]): Boolean

    Permalink

    Preconditions: this.directed == that.directed && this.isInstanceOf[Keyed] == that.isInstanceOf[Keyed]

    Preconditions: this.directed == that.directed && this.isInstanceOf[Keyed] == that.isInstanceOf[Keyed]

    Attributes
    protected
  43. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    EdgeLike → Equals → AnyRef → Any
  44. def exists(p: (N) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  45. def filter(p: (N) ⇒ Boolean): Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  46. def filterNot(p: (N) ⇒ Boolean): Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  47. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  48. def find(p: (N) ⇒ Boolean): Option[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  49. def flatMap[B, That](f: (N) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  50. def flatten[B](implicit asTraversable: (N) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  51. def fold[A1 >: N](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  52. def foldLeft[B](z: B)(op: (B, N) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. def foldRight[B](z: B)(op: (N, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  54. def forall(p: (N) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  55. def foreach[U](f: (N) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  56. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to StringFormat[EdgeLike[N]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  57. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  58. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  59. def groupBy[K](f: (N) ⇒ K): Map[K, Iterable[N]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def grouped(size: Int): Iterator[Iterable[N]]

    Permalink
    Definition Classes
    IterableLike
  61. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  62. def hashCode(): Int

    Permalink
    Definition Classes
    EdgeLike → AnyRef → Any
  63. def head: N

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  64. def headOption: Option[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  65. def init: Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  66. def inits: Iterator[Iterable[N]]

    Permalink
    Definition Classes
    TraversableLike
  67. final def isDirected: Boolean

    Permalink

    Same as directed.

    Same as directed.

    Annotations
    @inline()
  68. def isEmpty: Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  69. def isHyperEdge: Boolean

    Permalink

    true if this is a hyperedge that is it may have more than two ends.

  70. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  71. def isLabeled: Boolean

    Permalink

    true if this edge is labeled.

    true if this edge is labeled. See also label.

  72. def isLooping: Boolean

    Permalink

    true if this edge produces a self-loop.

    true if this edge produces a self-loop. In case of a non-hyperedge, a loop is given if the incident nodes are equal. In case of a directed hyperedge, a loop is given if the source is equal to any of the targets. In case of an undirected hyperedge, a loop is given if any pair of incident nodes has equal nodes.

  73. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  74. final def isUndirected: Boolean

    Permalink

    Same as undirected.

    Same as undirected.

    Annotations
    @inline()
  75. def isValidCustom: Boolean

    Permalink

    This method may be overridden to enforce additional validation at edge creation time.

    This method may be overridden to enforce additional validation at edge creation time. Be careful to call super.isValidCustom when overriding. This function is called on every edge-instantiation by validate that throws EdgeException if this method returns false.

    Attributes
    protected
  76. def isValidCustomExceptionMessage: String

    Permalink
    Attributes
    protected
  77. def label: Any

    Permalink

    The label of this edge.

    The label of this edge. If Graph's edge type parameter has been inferred or set to a labeled edge type all contained edges are labeled. Otherwise you should assert, for instance by calling isLabeled, that the edge instance is labeled before calling this method.

    Note that label is normally not part of the edge key (hashCode). As a result, edges with different labels connecting the same nodes will be evaluated as equal and thus added once and only once to the graph. In case you need multi-edges based on different labels you should either make use of a predefined key-labeled edge type such as LDiEdge or define a custom edge class that mixes in ExtendedKey and adds label to keyAttributes.

    Exceptions thrown

    UnsupportedOperationException if the edge is non-labeled.

  78. def last: N

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def lastOption: Option[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  80. def map[B, That](f: (N) ⇒ B)(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  81. def max[B >: N](implicit cmp: Ordering[B]): N

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def maxBy[B](f: (N) ⇒ B)(implicit cmp: Ordering[B]): N

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def min[B >: N](implicit cmp: Ordering[B]): N

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def minBy[B](f: (N) ⇒ B)(implicit cmp: Ordering[B]): N

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  89. def newBuilder: Builder[N, Iterable[N]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  90. def nodeSeq: Seq[N]

    Permalink

    Sequence of the end points of this edge.

  91. def nodesToString: String

    Permalink
    Attributes
    protected
  92. def nodesToStringSeparator: String

    Permalink
    Attributes
    protected
  93. def nodesToStringWithParenthesis: Boolean

    Permalink
    Attributes
    protected
  94. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. final def nonHyperEdge: Boolean

    Permalink

    true if this edge has exactly two ends.

    true if this edge has exactly two ends.

    Annotations
    @inline()
  96. final def nonLooping: Boolean

    Permalink

    Same as ! looping.

  97. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  99. def par: ParIterable[N]

    Permalink
    Definition Classes
    Parallelizable
  100. def parCombiner: Combiner[N, ParIterable[N]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  101. def partition(p: (N) ⇒ Boolean): (Iterable[N], Iterable[N])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  102. def product[B >: N](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def reduce[A1 >: N](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def reduceLeft[B >: N](op: (B, N) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  105. def reduceLeftOption[B >: N](op: (B, N) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def reduceOption[A1 >: N](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def reduceRight[B >: N](op: (N, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  108. def reduceRightOption[B >: N](op: (N, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def repr: Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  110. def reversed: List[N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  111. def sameElements[B >: N](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  112. def scan[B >: N, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  113. def scanLeft[B, That](z: B)(op: (B, N) ⇒ B)(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  114. def scanRight[B, That](z: B)(op: (N, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  115. def seq: Iterable[N]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  116. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def slice(from: Int, until: Int): Iterable[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  118. def sliding(size: Int, step: Int): Iterator[Iterable[N]]

    Permalink
    Definition Classes
    IterableLike
  119. def sliding(size: Int): Iterator[Iterable[N]]

    Permalink
    Definition Classes
    IterableLike
  120. def sources: Traversable[N]

    Permalink

    All source ends of this edge.

  121. def span(p: (N) ⇒ Boolean): (Iterable[N], Iterable[N])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  122. def splitAt(n: Int): (Iterable[N], Iterable[N])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  123. def stringPrefix: String

    Permalink
    Definition Classes
    EdgeLike → TraversableLike → GenTraversableLike
  124. def sum[B >: N](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  126. def tail: Iterable[N]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def tails: Iterator[Iterable[N]]

    Permalink
    Definition Classes
    TraversableLike
  128. def take(n: Int): Iterable[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  129. def takeRight(n: Int): Iterable[N]

    Permalink
    Definition Classes
    IterableLike
  130. def takeWhile(p: (N) ⇒ Boolean): Iterable[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  131. def targets: Traversable[N]

    Permalink

    All target ends of this edge.

  132. def thisCollection: Iterable[N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  133. final def thisSimpleClassName: String

    Permalink
    Attributes
    protected
  134. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, N, Col[N]]): Col[N]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  135. def toArray[B >: N](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def toBuffer[B >: N]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def toCollection(repr: Iterable[N]): Iterable[N]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  138. def toIndexedSeq: IndexedSeq[N]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def toIterable: Iterable[N]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  140. def toIterator: Iterator[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  141. def toList: List[N]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  142. def toMap[T, U](implicit ev: <:<[N, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  143. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to CollectionsHaveToParArray[EdgeLike[N], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (EdgeLike[N]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  144. def toSeq: Seq[N]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  145. def toSet[B >: N]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  146. def toStream: Stream[N]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  147. def toString(): String

    Permalink
    Definition Classes
    EdgeLike → TraversableLike → AnyRef → Any
  148. def toStringWithParenthesis: Boolean

    Permalink
    Attributes
    protected
  149. def toTraversable: Traversable[N]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  150. def toVector: Vector[N]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  151. def transpose[B](implicit asTraversable: (N) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  152. final def undirected: Boolean

    Permalink

    true it this edge is undirected.

    true it this edge is undirected.

    Annotations
    @inline()
  153. def unzip[A1, A2](implicit asPair: (N) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  154. def unzip3[A1, A2, A3](implicit asTriple: (N) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  155. final def validate: Unit

    Permalink

    Performs basic, inevitable edge validation.

    Performs basic, inevitable edge validation. Among others, ensures that nodes ne null and no edge end eq null.

    This validation method must be called in the constructor of any edge class that directly extends or mixes in EdgeLike. To perform additional custom validation isValidCustom is to be overridden.

    Attributes
    protected
    Exceptions thrown

    EdgeException if any of the basic validations or of eventually supplied additional validations fails.

  156. def view(from: Int, until: Int): IterableView[N, Iterable[N]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  157. def view: IterableView[N, Iterable[N]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  158. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  161. def weight: Long

    Permalink

    The weight of this edge with a default of 1.

    The weight of this edge with a default of 1.

    Note that weight is normally not part of the edge key (hashCode). As a result, edges with different weights connecting the same nodes will be evaluated as equal and thus added once and only once to the graph. In case you need multi-edges based on different weights you should either make use of a predefined key-weighted edge type such as WDiEdge or define a custom edge class that mixes in ExtendedKey and adds weight to keyAttributes.

    For weight types other than Long you may either convert then to Long prior to edge creation or define a custom edge class that includes the weight of the appropriate type and overrides def weight to provide the required conversion to Long.

  162. def withFilter(p: (N) ⇒ Boolean): FilterMonadic[N, Iterable[N]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  163. def zip[A1 >: N, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[N], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  164. def zipAll[B, A1 >: N, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[N], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  165. def zipWithIndex[A1 >: N, That](implicit bf: CanBuildFrom[Iterable[N], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  166. def [B](y: B): (EdgeLike[N], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to ArrowAssoc[EdgeLike[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def filter(p: (N) ⇒ Boolean): TraversableOnce[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to MonadOps[N] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (edgeLike: MonadOps[N]).filter(p)
    Definition Classes
    MonadOps
  2. def flatMap[B](f: (N) ⇒ GenTraversableOnce[B]): TraversableOnce[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to MonadOps[N] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (edgeLike: MonadOps[N]).flatMap(f)
    Definition Classes
    MonadOps
  3. def map[B](f: (N) ⇒ B): TraversableOnce[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to MonadOps[N] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (edgeLike: MonadOps[N]).map(f)
    Definition Classes
    MonadOps
  4. def withFilter(p: (N) ⇒ Boolean): Iterator[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to MonadOps[N] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (edgeLike: MonadOps[N]).withFilter(p)
    Definition Classes
    MonadOps

Inherited from Serializable

Inherited from Serializable

Inherited from Eq

Inherited from Iterable[N]

Inherited from IterableLike[N, Iterable[N]]

Inherited from Equals

Inherited from GenIterable[N]

Inherited from GenIterableLike[N, Iterable[N]]

Inherited from Traversable[N]

Inherited from GenTraversable[N]

Inherited from TraversableLike[N, Iterable[N]]

Inherited from GenTraversableLike[N, Iterable[N]]

Inherited from Parallelizable[N, ParIterable[N]]

Inherited from TraversableOnce[N]

Inherited from GenTraversableOnce[N]

Inherited from FilterMonadic[N, Iterable[N]]

Inherited from HasNewBuilder[N, Iterable[N] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from EdgeLike[N] to CollectionsHaveToParArray[EdgeLike[N], T]

Inherited by implicit conversion MonadOps from EdgeLike[N] to MonadOps[N]

Inherited by implicit conversion any2stringadd from EdgeLike[N] to any2stringadd[EdgeLike[N]]

Inherited by implicit conversion StringFormat from EdgeLike[N] to StringFormat[EdgeLike[N]]

Inherited by implicit conversion Ensuring from EdgeLike[N] to Ensuring[EdgeLike[N]]

Inherited by implicit conversion ArrowAssoc from EdgeLike[N] to ArrowAssoc[EdgeLike[N]]

Inherited by implicit conversion alternateImplicit from EdgeLike[N] to ForceImplicitAmbiguity

Ungrouped