trait LoopFreeEdge[+N] extends EdgeLike[N]
- Alphabetic
- By Inheritance
- LoopFreeEdge
- EdgeLike
- Serializable
- Eq
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- by iterableOnceExtensionMethods
- by ChainingOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- class EdgeException extends Exception
- Attributes
- protected
- Definition Classes
- EdgeLike
Abstract Value Members
- abstract def baseEquals(other: EdgeLike[_]): Boolean
- Attributes
- protected
- Definition Classes
- Eq
- abstract def baseHashCode: Int
- Attributes
- protected
- Definition Classes
- Eq
- abstract def hasSource(pred: (N) => Boolean): Boolean
true
if any source end of this edge fulfillspred
.true
if any source end of this edge fulfillspred
.- Definition Classes
- EdgeLike
- abstract def hasSource[M >: N](node: M): Boolean
true
ifnode
is a source of this edge.true
ifnode
is a source of this edge. In case this edge is undirected this method maps toisAt
.- Definition Classes
- EdgeLike
- abstract def hasTarget(pred: (N) => Boolean): Boolean
true
if any target end of this edge fulfillspred
.true
if any target end of this edge fulfillspred
.- Definition Classes
- EdgeLike
- abstract def hasTarget[M >: N](node: M): Boolean
true
ifnode
is a target of this edge.true
ifnode
is a target of this edge. In case this edge is undirected this method maps toisAt
.- Definition Classes
- EdgeLike
- abstract def isAt(pred: (N) => Boolean): Boolean
true
if any end of this edge fulfillspred
.true
if any end of this edge fulfillspred
.- Definition Classes
- EdgeLike
- abstract def isAt[M >: N](node: M): Boolean
true
ifnode
is incident with this edge.true
ifnode
is incident with this edge.- Definition Classes
- EdgeLike
- abstract def isValidArity(size: Int): Boolean
A function to determine whether the
arity
of the passedProduct
of nodes (that is the number of edge ends) is valid.A function to determine whether the
arity
of the passedProduct
of nodes (that is the number of edge ends) is valid. This function is called on every edge-instantiation byvalidate
that throws EdgeException if this method returnsfalse
.- Attributes
- protected
- Definition Classes
- EdgeLike
- 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 → IterableOnce
- abstract def matches(p1: (N) => Boolean, p2: (N) => Boolean): Boolean
true
if
a) two distinct ends of this undirected edge exist for whichp1
andp2
hold or
b)p1
holds for a source andp2
for a target of this directed edge.true
if
a) two distinct ends of this undirected edge exist for whichp1
andp2
hold or
b)p1
holds for a source andp2
for a target of this directed edge.- Definition Classes
- EdgeLike
- abstract def matches[M >: N](n1: M, n2: M): Boolean
true
if
a) bothn1
andn2
are at this edge for an undirected edge
b)n1
is a source andn2
a target of this edge for a directed edge.true
if
a) bothn1
andn2
are at this edge for an undirected edge
b)n1
is a source andn2
a target of this edge for a directed edge.- Definition Classes
- EdgeLike
- 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.- Definition Classes
- EdgeLike
- abstract def sources: Iterable[N]
All source ends of this edge.
All source ends of this edge.
- Definition Classes
- EdgeLike
- abstract def targets: Iterable[N]
All target ends of this edge.
All target ends of this edge.
- Definition Classes
- EdgeLike
- abstract def withSources[U](f: (N) => U): Unit
Applies
f
to all source ends of this edge without any memory allocation.Applies
f
to all source ends of this edge without any memory allocation.- Definition Classes
- EdgeLike
- abstract def withTargets[U](f: (N) => U): Unit
Applies
f
to the target ends of this edge without any memory allocation.Applies
f
to the target ends of this edge without any memory allocation.- Definition Classes
- EdgeLike
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toany2stringadd[LoopFreeEdge[N]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- final def ++[B >: N](suffix: scala.collection.IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def ->[B](y: B): (LoopFreeEdge[N], B)
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toArrowAssoc[LoopFreeEdge[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def _1: N
The first node.
The first node. Same as _n(0).
- Definition Classes
- EdgeLike
- Annotations
- @inline()
- def _2: N
The second node.
The second node. Same as _n(1).
- Definition Classes
- EdgeLike
- def _n(n: Int): N
The n'th node with 0 <= n < arity.
The n'th node with 0 <= n < arity.
- Definition Classes
- EdgeLike
- final def addString(b: StringBuilder): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- IterableOnceOps
- 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.
- Definition Classes
- EdgeLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attributesToString: String
- Attributes
- protected
- Definition Classes
- EdgeLike
- def brackets: Brackets
- Attributes
- protected
- Definition Classes
- EdgeLike
- def canEqual(that: Any): Boolean
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def coll: LoopFreeEdge.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[N, B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[N, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def concat[B >: N](suffix: scala.collection.IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- final def contains[M >: N](node: M): Boolean
Same as
isAt
.Same as
isAt
.- Definition Classes
- EdgeLike
- Annotations
- @inline()
- def copyToArray[B >: N](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: N](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: N](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: scala.collection.IterableOnce[B])(p: (N, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (N) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def directed: Boolean
true
if this edge is directed.true
if this edge is directed.- Definition Classes
- EdgeLike
- def drop(n: Int): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Iterable[N]
- Definition Classes
- IterableOps
- def dropWhile(p: (N) => Boolean): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: Iterable[N]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def ensuring(cond: (LoopFreeEdge[N]) => Boolean, msg: => Any): LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toEnsuring[LoopFreeEdge[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (LoopFreeEdge[N]) => Boolean): LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toEnsuring[LoopFreeEdge[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toEnsuring[LoopFreeEdge[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toEnsuring[LoopFreeEdge[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- Definition Classes
- EdgeLike
- def equals(other: Any): Boolean
- Definition Classes
- EdgeLike → AnyRef → Any
- def exists(p: (N) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: (N) => Boolean): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: (N) => Boolean): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def find(p: (N) => Boolean): Option[N]
- Definition Classes
- IterableOnceOps
- def flatMap[B](f: (N) => scala.collection.IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (N) => scala.collection.IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: N](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, N) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: (N) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (N) => U): Unit
- Definition Classes
- IterableOnceOps
- def fromSpecific(coll: scala.collection.IterableOnce[N]): Iterable[N]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupBy[K](f: (N) => K): Map[K, Iterable[N]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (N) => K)(f: (N) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (N) => K)(f: (N) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- EdgeLike → AnyRef → Any
- def head: N
- Definition Classes
- IterableOps
- def headOption: Option[N]
- Definition Classes
- IterableOps
- def init: Iterable[N]
- Definition Classes
- IterableOps
- def inits: Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- final def isDirected: Boolean
Same as
directed
.Same as
directed
.- Definition Classes
- EdgeLike
- Annotations
- @inline()
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- def isHyperEdge: Boolean
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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLabeled: Boolean
true
if this edge is labeled.true
if this edge is labeled. See alsolabel
.- Definition Classes
- EdgeLike
- 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.- Definition Classes
- EdgeLike
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- final def isUndirected: Boolean
Same as
undirected
.Same as
undirected
.- Definition Classes
- EdgeLike
- Annotations
- @inline()
- 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 byvalidate
that throws EdgeException if this method returnsfalse
.- Attributes
- protected
- Definition Classes
- LoopFreeEdge → EdgeLike
- def isValidCustomExceptionMessage: String
- Attributes
- protected
- Definition Classes
- LoopFreeEdge → EdgeLike
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → IterableOps
- def knownSize: Int
- Definition Classes
- IterableOnce
- 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 callingisLabeled
, 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 asLDiEdge
or define a custom edge class that mixes inExtendedKey
and addslabel
tokeyAttributes
.- Definition Classes
- EdgeLike
- Exceptions thrown
UnsupportedOperationException
if the edge is non-labeled.
- def last: N
- Definition Classes
- IterableOps
- def lastOption: Option[N]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[N, B, LoopFreeEdge.this.type]
- Definition Classes
- Iterable
- def map[B](f: (N) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def max[B >: N](implicit ord: Ordering[B]): N
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (N) => B)(implicit cmp: Ordering[B]): Option[N]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: N](implicit ord: Ordering[B]): Option[N]
- Definition Classes
- IterableOnceOps
- def min[B >: N](implicit ord: Ordering[B]): N
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (N) => B)(implicit cmp: Ordering[B]): Option[N]
- Definition Classes
- IterableOnceOps
- def minOption[B >: N](implicit ord: Ordering[B]): Option[N]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[N, Iterable[N]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nodeSeq: Seq[N]
Sequence of the end points of this edge.
Sequence of the end points of this edge.
- Definition Classes
- EdgeLike
- def nodesToString: String
- Attributes
- protected
- Definition Classes
- EdgeLike
- def nodesToStringSeparator: String
- Attributes
- protected
- Definition Classes
- EdgeLike
- def nodesToStringWithParenthesis: Boolean
- Attributes
- protected
- Definition Classes
- EdgeLike
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def nonHyperEdge: Boolean
true
if this edge has exactly two ends.true
if this edge has exactly two ends.- Definition Classes
- EdgeLike
- Annotations
- @inline()
- final def nonLooping: Boolean
Same as
! looping
.Same as
! looping
.- Definition Classes
- EdgeLike
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def partition(p: (N) => Boolean): (Iterable[N], Iterable[N])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (N) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def pipe[B](f: (LoopFreeEdge[N]) => B): B
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toChainingOps[LoopFreeEdge[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def product[B >: N](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: N](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: N](op: (B, N) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: N](op: (B, N) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: N](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: N](op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: N](op: (N, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reversed: Iterable[N]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: N](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, N) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (N, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- val self: LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toChainingOps[LoopFreeEdge[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- def span(p: (N) => Boolean): (Iterable[N], Iterable[N])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Iterable[N], Iterable[N])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[N, S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Definition Classes
- EdgeLike → Iterable
- def sum[B >: N](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Iterable[N]
- Definition Classes
- IterableOps
- def tails: Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- def take(n: Int): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Iterable[N]
- Definition Classes
- IterableOps
- def takeWhile(p: (N) => Boolean): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- def tap[U](f: (LoopFreeEdge[N]) => U): LoopFreeEdge[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toChainingOps[LoopFreeEdge[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def tapEach[U](f: (N) => U): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- final def thisSimpleClassName: String
- Attributes
- protected
- Definition Classes
- EdgeLike
- def to[C1](factory: Factory[N, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: N](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: N]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[N]
- Definition Classes
- IterableOnceOps
- def toList: List[N]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[N, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[N]
- Definition Classes
- IterableOnceOps
- def toSet[B >: N]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- EdgeLike → Iterable → AnyRef → Any
- def toStringWithParenthesis: Boolean
- Attributes
- protected
- Definition Classes
- EdgeLike
- def toVector: Vector[N]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (N) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- final def undirected: Boolean
true
if this edge is undirected.true
if this edge is undirected.- Definition Classes
- EdgeLike
- Annotations
- @inline()
- def unzip[A1, A2](implicit asPair: (N) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (N) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- final def validate: Unit
Performs basic, inevitable edge validation.
Performs basic, inevitable edge validation. Among others, ensures that
nodes ne null
and no edge endeq 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 validationisValidCustom
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.
- def view: View[N]
- Definition Classes
- IterableOps
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def weight: Double
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 asWDiEdge
or define a custom edge class that mixes inExtendedKey
and addsweight
tokeyAttributes
.- Definition Classes
- EdgeLike
- def withFilter(p: (N) => Boolean): WithFilter[N, Iterable]
- Definition Classes
- IterableOps
- def zip[B](that: scala.collection.IterableOnce[B]): Iterable[(N, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: N, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[(N, Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def ++:[B >: N](that: scala.collection.IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def /:[B](z: B)(op: (B, N) => B): B
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N])./:(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- final def /:[B](z: B)(op: (B, N) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- def :\[B](z: B)(op: (N, B) => B): B
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).:\(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- final def :\[B](z: B)(op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, N) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def collectFirst[B](f: PartialFunction[N, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).collectFirst(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.collectFirst(...) instead
- def companion: IterableFactory[Iterable]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def copyToBuffer(dest: Buffer[N]): Unit
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).copyToBuffer(dest)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.copyToBuffer(...) instead
- final def copyToBuffer[B >: N](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def count(f: (N) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).count(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.count(...) instead
- def exists(f: (N) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).exists(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.exists(...) instead
- def filter(f: (N) => Boolean): Iterator[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).filter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.filter(...) instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def find(p: (N) => Boolean): Option[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).find(p)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.find instead
- def flatMap[B](f: (N) => scala.collection.IterableOnce[B]): scala.collection.IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).flatMap(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).fold(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.fold instead
- def foldLeft[B](z: B)(op: (B, N) => B): B
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).foldLeft(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- def foldRight[B](z: B)(op: (N, B) => B): B
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).foldRight(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- def forall(f: (N) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).forall(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.forall(...) instead
- def foreach[U](f: (N) => U): Unit
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).foreach(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foreach(...) instead
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toStringFormat[LoopFreeEdge[N]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).isEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.isEmpty instead
- def map[B](f: (N) => B): scala.collection.IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).map(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable
- def max(implicit ord: Ordering[N]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).max(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.max instead
- def maxBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.maxBy(...) instead
- def min(implicit ord: Ordering[N]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).min(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.min instead
- def minBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).minBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.minBy(...) instead
- def mkString: String
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).mkString
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).mkString(sep)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).mkString(start, sep, end)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).nonEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.nonEmpty instead
- def product(implicit num: Numeric[N]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).product(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.product instead
- def reduce(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduce(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduce(...) instead
- def reduceLeft(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduceLeft(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeft(...) instead
- def reduceLeftOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduceLeftOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead
- def reduceOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduceOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceOption(...) instead
- def reduceRight(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduceRight(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRight(...) instead
- def reduceRightOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).reduceRightOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRightOption(...) instead
- final def repr: Iterable[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def sameElements[B >: A](that: scala.collection.IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sameElements instead
- def seq: LoopFreeEdge.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def size: Int
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).size
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.size instead
- def sum(implicit num: Numeric[N]): N
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).sum(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sum instead
- def to[C1](factory: Factory[N, C1]): C1
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).to(factory)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(factory) instead
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toArray(arg0)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toArray
- def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toBuffer
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead
- def toIndexedSeq: IndexedSeq[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toIndexedSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toIndexedSeq instead
- final def toIterable: Iterable[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toIterable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toIterable: LoopFreeEdge.this.type
- Definition Classes
- Iterable → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toIterator: Iterator[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toIterator
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead
- final def toIterator: Iterator[N]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- def toList: List[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toList
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(List) instead
- def toMap[K, V](implicit ev: <:<[N, (K, V)]): Map[K, V]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toMap(ev)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(Map) instead
- def toSeq: Seq[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Seq) instead
- def toSet[B >: A]: Set[B]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toSet
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Set) instead
- def toStream: Stream[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toStream
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(LazyList) instead
- final def toStream: Stream[N]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toTraversable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toTraversable: Traversable[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toVector: Vector[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).toVector
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Vector) instead
- def view(from: Int, until: Int): View[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def withFilter(f: (N) => Boolean): Iterator[N]
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(loopFreeEdge: IterableOnceExtensionMethods[N]).withFilter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.withFilter(...) instead
- def →[B](y: B): (LoopFreeEdge[N], B)
- Implicit
- This member is added by an implicit conversion from LoopFreeEdge[N] toArrowAssoc[LoopFreeEdge[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.