scalax.collection.GraphEdge

EdgeLike

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 traversable2ops
  2. by MonadOps
  3. by any2stringadd
  4. by any2stringfmt
  5. by any2ArrowAssoc
  6. by any2Ensuring
  7. by alternateImplicit
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[N]

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

    Definition Classes
    TraversableLike

Abstract Value Members

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

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

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

    true if any source end of this edge fulfills pred.

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

    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

    true if any target end of this edge fulfills pred.

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

    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

    true if any end of this edge fulfills pred.

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

    true if node is incident with this edge.

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

    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]

    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

    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

    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

    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

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

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

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

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  13. final def _1: N

    The first node.

    The first node. Same as _n(0).

    Annotations
    @inline()
  14. def _2: N

    The second node.

    The second node. Same as _n(1).

  15. def _n(n: Int): N

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

  16. def addString(b: StringBuilder): StringBuilder

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. final def arity: Int

    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.

  21. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  22. def asParIterable: ParIterable[N]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  23. def asParSeq: ParSeq[N]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  24. def attributesToString: String

    Attributes
    protected
  25. def brackets: Brackets

    Attributes
    protected
  26. def canEqual(that: Any): Boolean

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

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

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

    Definition Classes
    TraversableOnce
  30. def companion: GenericCompanion[Iterable]

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

    Same as isAt.

    Same as isAt.

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def directed: Boolean

    true it this edge is directed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike
  65. def hasDefiniteSize: Boolean

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

    Definition Classes
    EdgeLike → AnyRef → Any
  67. def head: N

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

    Definition Classes
    TraversableLike → GenTraversableLike
  69. def ifParSeq[R](isbody: (ParSeq[N]) ⇒ R): (TraversableOps[N])#Otherwise[R]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  70. def init: Iterable[N]

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

    Definition Classes
    TraversableLike
  72. final def isDirected: Boolean

    Same as directed.

    Same as directed.

    Annotations
    @inline()
  73. def isEmpty: Boolean

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

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

  75. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  76. def isLabeled: Boolean

    true if this edge is labeled.

    true if this edge is labeled. See also label.

  77. def isLooping: Boolean

    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.

  78. def isParIterable: Boolean

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  79. def isParSeq: Boolean

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  80. def isParallel: Boolean

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  81. final def isTraversableAgain: Boolean

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

    Same as undirected.

    Same as undirected.

    Annotations
    @inline()
  83. def isValidCustom: Boolean

    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
  84. def isValidCustomExceptionMessage: String

    Attributes
    protected
  85. def label: Any

    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.

  86. def last: N

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def mkString: String

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

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

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

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

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

    Sequence of the end points of this edge.

  99. def nodesToString: String

    Attributes
    protected
  100. def nodesToStringSeparator: String

    Attributes
    protected
  101. def nodesToStringWithParenthesis: Boolean

    Attributes
    protected
  102. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. final def nonHyperEdge: Boolean

    true if this edge has exactly two ends.

    true if this edge has exactly two ends.

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

    Same as ! looping.

  105. final def notify(): Unit

    Definition Classes
    AnyRef
  106. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  107. def par: ParIterable[N]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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.

  123. def seq: Iterable[N]

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

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

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

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

    Definition Classes
    IterableLike
  128. def sources: Traversable[N]

    All source ends of this edge.

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  131. def stringPrefix: String

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

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

    Definition Classes
    AnyRef
  134. def tail: Iterable[N]

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

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

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

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

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

    All target ends of this edge.

  140. def thisCollection: Iterable[N]

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  149. def toList: List[N]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  151. def toParArray: ParArray[N]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to TraversableOps[N] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  152. def toSeq: Seq[N]

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

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

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

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

    Attributes
    protected
  157. def toTraversable: Traversable[N]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  158. def toVector: Vector[N]

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

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  160. final def undirected: Boolean

    true it this edge is undirected.

    true it this edge is undirected.

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

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

    Definition Classes
    GenericTraversableTemplate
  163. final def validate: Unit

    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.

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

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

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

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

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

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

    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.

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

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

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

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

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

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

Shadowed Implicit Value Members

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

    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]

    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]

    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. val self: Any

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeLike: StringAdd).self
    Definition Classes
    StringAdd
  5. val self: Any

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeLike: StringFormat).self
    Definition Classes
    StringFormat
  6. def withFilter(p: (N) ⇒ Boolean): Iterator[N]

    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

Deprecated Value Members

  1. def /:\[A1 >: N](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

  2. def x: EdgeLike[N]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to ArrowAssoc[EdgeLike[N]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeLike: ArrowAssoc[EdgeLike[N]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: EdgeLike[N]

    Implicit information
    This member is added by an implicit conversion from EdgeLike[N] to Ensuring[EdgeLike[N]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeLike: Ensuring[EdgeLike[N]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion traversable2ops from EdgeLike[N] to TraversableOps[N]

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

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

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

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

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

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

Ungrouped