Class/Object

scalax.collection.edge

WHyperEdge

Related Docs: object WHyperEdge | package edge

Permalink

class WHyperEdge[+N] extends HyperEdge[N] with WEdge[N] with EdgeCopy[WHyperEdge] with OuterEdge[N, WHyperEdge]

weighted, undirected hyperedge.

Annotations
@SerialVersionUID()
Linear Supertypes
WEdge[N], HyperEdge[N], EqHyper, OuterEdge[N, WHyperEdge], EdgeParam, InParam[N, WHyperEdge], Param[N, WHyperEdge], EdgeCopy[WHyperEdge], EdgeLike[N], Serializable, Serializable, Eq, Iterable[N], IterableLike[N, Iterable[N]], Equals, GenIterable[N], GenIterableLike[N, Iterable[N]], Traversable[N], GenTraversable[N], GenericTraversableTemplate[N, Iterable], TraversableLike[N, Iterable[N]], GenTraversableLike[N, Iterable[N]], Parallelizable[N, ParIterable[N]], TraversableOnce[N], GenTraversableOnce[N], FilterMonadic[N, Iterable[N]], HasNewBuilder[N, Iterable[N]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WHyperEdge
  2. WEdge
  3. HyperEdge
  4. EqHyper
  5. OuterEdge
  6. EdgeParam
  7. InParam
  8. Param
  9. EdgeCopy
  10. EdgeLike
  11. Serializable
  12. Serializable
  13. Eq
  14. Iterable
  15. IterableLike
  16. Equals
  17. GenIterable
  18. GenIterableLike
  19. Traversable
  20. GenTraversable
  21. GenericTraversableTemplate
  22. TraversableLike
  23. GenTraversableLike
  24. Parallelizable
  25. TraversableOnce
  26. GenTraversableOnce
  27. FilterMonadic
  28. HasNewBuilder
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WHyperEdge(nodes: Product, weight: Long)

    Permalink

Type Members

  1. class EdgeException extends Exception

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  2. type Self = Iterable[N]

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

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: N, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[N], B, That]): That

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

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

    Permalink
    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, N) ⇒ B): B

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

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

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

    Permalink

    The first node.

    The first node. Same as _n(0).

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  10. def _2: N

    Permalink

    The second node.

    The second node. Same as _n(1).

    Definition Classes
    EdgeLike
  11. def _n(n: Int): N

    Permalink

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

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

    Definition Classes
    EdgeLike
  12. def addString(b: StringBuilder): StringBuilder

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  16. 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.

    Definition Classes
    EdgeLike
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def attributesToString: String

    Permalink
    Attributes
    protected
    Definition Classes
    WEdge
  19. def baseEquals(other: EdgeLike[_]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EqHyperEq
  20. def baseHashCode: Int

    Permalink
    Attributes
    protected
    Definition Classes
    EqHyperEq
  21. def brackets: Brackets

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  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.

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  28. def copy[NN](newNodes: Product): WHyperEdge[NN]

    Permalink

    It is a prerequisite for edge-classes to implement this method.

    It is a prerequisite for edge-classes to implement this method. Otherwise they cannot be passed to a Graph.

    Graph calls this method internally to obtain a new instance of the edge passed to Graph with nodes of the type of the inner class NodeT which itself contains the outer node.

    Attributes
    protected[scalax.collection]
    Definition Classes
    WHyperEdgeHyperEdgeEdgeCopy
  29. def copyToArray[B >: N](xs: Array[B], start: Int, len: Int): Unit

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

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

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

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

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

    Permalink

    true if this edge is directed.

    true if this edge is directed.

    Definition Classes
    EdgeLike
  35. def drop(n: Int): Iterable[N]

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  38. def edge: WHyperEdge[N]

    Permalink
    Definition Classes
    OuterEdge
  39. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. 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
    Definition Classes
    EdgeLike
  41. def equals(other: Any): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  54. def genericBuilder[B]: Builder[B, Iterable[B]]

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

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

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

    Permalink
    Definition Classes
    IterableLike
  58. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  59. def hasSource(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any source end of this edge fulfills pred.

    true if any source end of this edge fulfills pred.

    Definition Classes
    HyperEdgeEdgeLike
  60. 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.

    Definition Classes
    HyperEdgeEdgeLike
  61. def hasTarget(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any target end of this edge fulfills pred.

    true if any target end of this edge fulfills pred.

    Definition Classes
    HyperEdgeEdgeLike
  62. 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.

    Definition Classes
    HyperEdgeEdgeLike
  63. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike
  68. def isAt(pred: (N) ⇒ Boolean): Boolean

    Permalink

    true if any end of this edge fulfills pred.

    true if any end of this edge fulfills pred.

    Definition Classes
    HyperEdgeEdgeLike
  69. def isAt[M >: N](node: M): Boolean

    Permalink

    true if node is incident with this edge.

    true if node is incident with this edge.

    Definition Classes
    HyperEdgeEdgeLike
  70. def isDefined: Boolean

    Permalink
    Definition Classes
    Param
  71. final def isDirected: Boolean

    Permalink

    Same as directed.

    Same as directed.

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  72. def isEdge: Boolean

    Permalink
    Definition Classes
    EdgeParam
  73. def isEmpty: Boolean

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

    Permalink

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

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

    Definition Classes
    EdgeLike
  75. def isIn: Boolean

    Permalink
    Definition Classes
    InParamParam
  76. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  77. def isLabeled: Boolean

    Permalink

    true if this edge is labeled.

    true if this edge is labeled. See also label.

    Definition Classes
    EdgeLike
  78. 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.

    Definition Classes
    EdgeLike
  79. def isNode: Boolean

    Permalink
    Definition Classes
    EdgeParam
  80. def isOut: Boolean

    Permalink
    Definition Classes
    InParamParam
  81. final def isTraversableAgain: Boolean

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

    Permalink

    Same as undirected.

    Same as undirected.

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  83. 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
    Definition Classes
    HyperEdgeEdgeLike
  84. 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
    Definition Classes
    EdgeLike
  85. def isValidCustomExceptionMessage: String

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  86. 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
    HyperEdgeEdgeLike → IterableLike → GenIterableLike
  87. 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.

    Definition Classes
    EdgeLike
    Exceptions thrown

    UnsupportedOperationException if the edge is non-labeled.

  88. def last: N

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  91. 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.

    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.

    Definition Classes
    HyperEdgeEdgeLike
  92. 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.

    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.

    Definition Classes
    HyperEdgeEdgeLike
  93. final def matches(fList: List[(N) ⇒ Boolean]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    HyperEdge
  94. def max[B >: N](implicit cmp: Ordering[B]): N

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

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

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

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

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

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

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

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

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

    Permalink

    Sequence of the end points of this edge.

    Sequence of the end points of this edge.

    Definition Classes
    EdgeLike
  104. val 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.

    Definition Classes
    HyperEdgeEdgeLike
  105. def nodesToString: String

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  106. def nodesToStringSeparator: String

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  107. def nodesToStringWithParenthesis: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  108. def nonEmpty: Boolean

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

    Permalink

    true if this edge has exactly two ends.

    true if this edge has exactly two ends.

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  110. final def nonLooping: Boolean

    Permalink

    Same as ! looping.

    Same as ! looping.

    Definition Classes
    EdgeLike
  111. final def notify(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  128. 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.

  129. def seq: Iterable[N]

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

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

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

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

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

    Permalink

    All source ends of this edge.

    All source ends of this edge.

    Definition Classes
    EdgeLike
  135. def span(p: (N) ⇒ Boolean): (Iterable[N], Iterable[N])

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

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

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

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

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

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

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

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

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

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

    Permalink

    All target ends of this edge.

    All target ends of this edge.

    Definition Classes
    EdgeLike
  146. def thisCollection: Iterable[N]

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

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  148. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, N, Col[N]]): Col[N]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  157. def toSeq: Seq[N]

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeLike
  162. def toTraversable: Traversable[N]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  164. 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.

  165. final def undirected: Boolean

    Permalink

    true if this edge is undirected.

    true if this edge is undirected.

    Definition Classes
    EdgeLike
    Annotations
    @inline()
  166. def unzip[A1, A2](implicit asPair: (N) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
  168. 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
    Definition Classes
    EdgeLike
    Exceptions thrown

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  174. val 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.

    Definition Classes
    WHyperEdgeEdgeLike
  175. def withFilter(p: (N) ⇒ Boolean): FilterMonadic[N, Iterable[N]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  176. def withSources[U](f: (N) ⇒ U): Unit

    Permalink

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

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

    Definition Classes
    HyperEdgeEdgeLike
  177. def withTargets[U](f: (N) ⇒ U): Unit

    Permalink

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

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

    Definition Classes
    HyperEdgeEdgeLike
  178. def zip[A1 >: N, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[N], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  179. 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
  180. def zipWithIndex[A1 >: N, That](implicit bf: CanBuildFrom[Iterable[N], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from WEdge[N]

Inherited from HyperEdge[N]

Inherited from EqHyper

Inherited from OuterEdge[N, WHyperEdge]

Inherited from EdgeParam

Inherited from InParam[N, WHyperEdge]

Inherited from Param[N, WHyperEdge]

Inherited from EdgeCopy[WHyperEdge]

Inherited from EdgeLike[N]

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 GenericTraversableTemplate[N, Iterable]

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

Ungrouped