The outer edge after transformation by means of the copy
method.
The outer edge after transformation by means of the copy
method.
This edge contains references to inner nodes while the original outer
edge contained references to outer nodes.
All connecting edges, that is all edges at any of the nodes incident with this edge.
All connecting edges, that is all edges at any of the nodes incident with this edge.
set of connecting edges including hooks.
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.
Same as isAt
.
Same as isAt
.
true
it this edge is directed.
true
it this edge is directed.
true
if any source end of this edge fulfills pred
.
true
if any source end of this edge fulfills pred
.
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
.
true
if any target end of this edge fulfills pred
.
true
if any target end of this edge fulfills pred
.
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
.
true
if any end of this edge fulfills pred
.
true
if any end of this edge fulfills pred
.
true
if node
is incident with this edge.
true
if node
is incident with this edge.
Same as directed
.
Same as directed
.
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.
true
if this edge is labeled.
true
if this edge is labeled. See also label
.
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.
Same as undirected
.
Same as undirected
.
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
.
if the edge is non-labeled.
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.
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.
Sequence of the end points of this edge.
Sequence of the end points of this edge.
The inner nodes incident with this inner edge.
The inner nodes incident with this inner edge.
This is just a synonym to this
that extends Iterable[NodeT]
.
true
if this edge has exactly two ends.
true
if this edge has exactly two ends.
Same as ! looping
.
Same as ! looping
.
Finds nodes of this edge which only participate in this edge.
Finds nodes of this edge which only participate in this edge.
those nodes of this edge which do not participate in any other edge
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
All source ends of this edge.
All source ends of this edge.
All target ends of this edge.
All target ends of this edge.
Reconstructs the outer edge by means of the copy
method.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
true
it this edge is undirected.
true
it this edge is undirected.
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
.
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.
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.
Synonym for adjacents
.
Synonym for adjacents
.
(innerEdge: E[NodeT]).++(that)(bf)
(innerEdge: E[NodeT]).++:(that)(bf)
(innerEdge: E[NodeT]).++:(that)(bf)
(innerEdge: E[NodeT])./:(z)(op)
(innerEdge: E[NodeT]).:\(z)(op)
(innerEdge: E[NodeT]).addString(b)
(innerEdge: E[NodeT]).addString(b, sep)
(innerEdge: E[NodeT]).addString(b, start, sep, end)
(innerEdge: E[NodeT]).aggregate(z)(seqop, combop)
(innerEdge: E[NodeT]).canEqual(that)
(innerEdge: E[NodeT]).collect(pf)(bf)
(innerEdge: E[NodeT]).collectFirst(pf)
(innerEdge: E[NodeT]).companion
(innerEdge: E[NodeT]).copyToArray(xs, start, len)
(innerEdge: E[NodeT]).copyToArray(xs)
(innerEdge: E[NodeT]).copyToArray(xs, start)
(innerEdge: E[NodeT]).copyToBuffer(dest)
(innerEdge: E[NodeT]).count(p)
(innerEdge: E[NodeT]).drop(n)
(innerEdge: E[NodeT]).dropRight(n)
(innerEdge: E[NodeT]).dropWhile(p)
(innerEdge: E[NodeT]).edge
(innerEdge: E[NodeT]).equals(other)
(innerEdge: E[NodeT]).exists(p)
(innerEdge: MonadOps[NodeT]).filter(p)
(innerEdge: E[NodeT]).filter(p)
(innerEdge: E[NodeT]).filterNot(p)
(innerEdge: E[NodeT]).find(p)
(innerEdge: MonadOps[NodeT]).flatMap(f)
(innerEdge: E[NodeT]).flatMap(f)(bf)
(innerEdge: FlattenOps[N]).flatten
(innerEdge: E[NodeT]).flatten(asTraversable)
(innerEdge: E[NodeT]).fold(z)(op)
(innerEdge: E[NodeT]).foldLeft(z)(op)
(innerEdge: E[NodeT]).foldRight(z)(op)
(innerEdge: E[NodeT]).forall(p)
(innerEdge: E[NodeT]).foreach(f)
(innerEdge: E[NodeT]).genericBuilder
(innerEdge: E[NodeT]).groupBy(f)
(innerEdge: E[NodeT]).grouped(size)
(innerEdge: E[NodeT]).hasDefiniteSize
(innerEdge: E[NodeT]).hashCode()
(innerEdge: E[NodeT]).head
(innerEdge: E[NodeT]).headOption
(innerEdge: E[NodeT]).init
(innerEdge: E[NodeT]).inits
(innerEdge: OuterNode[InnerEdge]).isDefined
(innerEdge: E[NodeT]).isDefined
(innerEdge: OuterNode[InnerEdge]).isEdge
(innerEdge: E[NodeT]).isEdge
(innerEdge: E[NodeT]).isEmpty
(innerEdge: OuterNode[InnerEdge]).isIn
(innerEdge: E[NodeT]).isIn
(innerEdge: OuterNode[InnerEdge]).isNode
(innerEdge: E[NodeT]).isNode
(innerEdge: OuterNode[InnerEdge]).isOut
(innerEdge: E[NodeT]).isOut
(innerEdge: E[NodeT]).isTraversableAgain
Iterator for the nodes (end-points) of this edge.
Iterator for the nodes (end-points) of this edge.
(innerEdge: E[NodeT]).iterator
(innerEdge: E[NodeT]).last
(innerEdge: E[NodeT]).lastOption
(innerEdge: MonadOps[NodeT]).map(f)
(innerEdge: E[NodeT]).map(f)(bf)
(innerEdge: E[NodeT]).max(cmp)
(innerEdge: E[NodeT]).maxBy(f)(cmp)
(innerEdge: E[NodeT]).min(cmp)
(innerEdge: E[NodeT]).minBy(f)(cmp)
(innerEdge: E[NodeT]).mkString
(innerEdge: E[NodeT]).mkString(sep)
(innerEdge: E[NodeT]).mkString(start, sep, end)
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.
(innerEdge: E[NodeT]).nodes
(innerEdge: E[NodeT]).nonEmpty
(innerEdge: E[NodeT]).par
(innerEdge: E[NodeT]).partition(p)
(innerEdge: E[NodeT]).product(num)
(innerEdge: E[NodeT]).reduce(op)
(innerEdge: E[NodeT]).reduceLeft(op)
(innerEdge: E[NodeT]).reduceLeftOption(op)
(innerEdge: E[NodeT]).reduceOption(op)
(innerEdge: E[NodeT]).reduceRight(op)
(innerEdge: E[NodeT]).reduceRightOption(op)
(innerEdge: E[NodeT]).repr
(innerEdge: E[NodeT]).sameElements(that)
(innerEdge: E[NodeT]).scan(z)(op)(cbf)
(innerEdge: E[NodeT]).scanLeft(z)(op)(bf)
(innerEdge: E[NodeT]).scanRight(z)(op)(bf)
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(innerEdge: StringAdd).self
(innerEdge: StringFormat).self
(innerEdge: E[NodeT]).seq
(innerEdge: E[NodeT]).size
(innerEdge: E[NodeT]).slice(from, until)
(innerEdge: E[NodeT]).sliding(size, step)
(innerEdge: E[NodeT]).sliding(size)
(innerEdge: E[NodeT]).span(p)
(innerEdge: E[NodeT]).splitAt(n)
(innerEdge: OuterNode[InnerEdge]).stringPrefix
(innerEdge: E[NodeT]).stringPrefix
(innerEdge: E[NodeT]).sum(num)
(innerEdge: E[NodeT]).tail
(innerEdge: E[NodeT]).tails
(innerEdge: E[NodeT]).take(n)
(innerEdge: E[NodeT]).takeRight(n)
(innerEdge: E[NodeT]).takeWhile(p)
(innerEdge: E[NodeT]).to(cbf)
(innerEdge: E[NodeT]).toArray(arg0)
(innerEdge: E[NodeT]).toBuffer
(innerEdge: E[NodeT]).toIndexedSeq
(innerEdge: E[NodeT]).toIterable
(innerEdge: E[NodeT]).toIterator
(innerEdge: E[NodeT]).toList
(innerEdge: E[NodeT]).toMap(ev)
(innerEdge: E[NodeT]).toSeq
(innerEdge: E[NodeT]).toSet
(innerEdge: E[NodeT]).toStream
(innerEdge: OuterNode[InnerEdge]).toString()
(innerEdge: E[NodeT]).toString()
(innerEdge: E[NodeT]).toTraversable
(innerEdge: E[NodeT]).toVector
(innerEdge: E[NodeT]).transpose(asTraversable)
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(innerEdge: E[NodeT]).unzip(asPair)
(innerEdge: E[NodeT]).unzip3(asTriple)
(innerEdge: E[NodeT]).view(from, until)
(innerEdge: E[NodeT]).view
(innerEdge: MonadOps[NodeT]).withFilter(p)
(innerEdge: E[NodeT]).withFilter(p)
(innerEdge: E[NodeT]).zip(that)(bf)
(innerEdge: E[NodeT]).zipAll(that, thisElem, thatElem)(bf)
(innerEdge: E[NodeT]).zipWithIndex(bf)
(innerEdge: E[NodeT])./:\(z)(op)
(Since version 2.10.0) use fold instead
(Since version 2.10.0) use fold instead
(Since version 1.8.0) Use toOuter instead
(innerEdge: ArrowAssoc[InnerEdge]).x
(Since version 2.10.0) Use leftOfArrow
instead
(innerEdge: Ensuring[InnerEdge]).x
(Since version 2.10.0) Use resultOfEnsuring
instead