Packages

trait BaseInnerEdge extends InnerEdgeLike[NodeT] with InnerEdge with Equals

Self Type
EdgeT
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseInnerEdge
  2. InnerEdge
  3. InnerElem
  4. InnerEdgeLike
  5. Edge
  6. Equals
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def _1: NodeT

    The first node of this edge.

    The first node of this edge.

    Definition Classes
    Edge
  2. abstract def _2: NodeT

    The second node of this edge.

    The second node of this edge.

    Definition Classes
    Edge
  3. abstract def arity: Int

    Number of the endpoints of this edge.

    Number of the endpoints of this edge. At least two nodes are joined. In case of a hook, the two nodes are identical. Hyperedges may link more than two nodes.

    Definition Classes
    Edge
  4. abstract def asEdgeT: EdgeT
    Attributes
    protected[collection]
    Definition Classes
    InnerEdge
  5. abstract def ends: Several[NodeT]

    The endpoints of this edge, in other words the nodes this edge connects.

    The endpoints of this edge, in other words the nodes this edge connects.

    Definition Classes
    Edge
  6. abstract def hasSource(pred: (NodeT) => Boolean): Boolean

    true if any source end of this edge fulfills pred.

    true if any source end of this edge fulfills pred.

    Definition Classes
    Edge
  7. abstract def hasSource[M >: NodeT](node: M): Boolean

    true if node is a source of this edge.

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

    Definition Classes
    Edge
  8. abstract def hasTarget(pred: (NodeT) => Boolean): Boolean

    true if any target end of this edge fulfills pred.

    true if any target end of this edge fulfills pred.

    Definition Classes
    Edge
  9. abstract def hasTarget[M >: NodeT](node: M): Boolean

    true if node is a target of this edge.

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

    Definition Classes
    Edge
  10. abstract def isAt(pred: (NodeT) => Boolean): Boolean

    true if any end of this edge fulfills pred.

    true if any end of this edge fulfills pred.

    Definition Classes
    Edge
  11. abstract def isAt[M >: NodeT](node: M): Boolean

    true if node is incident with this edge.

    true if node is incident with this edge.

    Definition Classes
    Edge
  12. abstract def isDirected: Boolean

    Whether this edge is directed.

    Whether this edge is directed.

    Definition Classes
    Edge
  13. abstract def isHyperEdge: Boolean

    Whether this edge's type is hyperedge meaning that it may have more than two ends.

    Whether this edge's type is hyperedge meaning that it may have more than two ends.

    Definition Classes
    Edge
  14. abstract def isLooping: Boolean

    Whether this edge produces a self-loop.

    Whether 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 any of the targets is included in the sources. In case of an undirected hyperedge, a loop is given if any of the ends is a duplicate.

    Definition Classes
    Edge
  15. abstract def matches(p1: (NodeT) => Boolean, p2: (NodeT) => Boolean): Boolean

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

    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
    Edge
  16. abstract def matches[M >: NodeT](n1: M, n2: M): Boolean

    true if

    true if

    1. being an undirected edge, both n1 and n2 are at this edge
    2. being a directed edge, n1 is a source and n2 a target of this edge.
    Definition Classes
    Edge
  17. abstract def node(n: Int): NodeT

    The n'th node of this edge.

    The n'th node of this edge.

    Definition Classes
    Edge
    Exceptions thrown

    IllegalArgumentException if n does not meet 0 <= n < arity.

  18. abstract def outer: E

    The outer edge as supplied by instantiation or addition.

    The outer edge as supplied by instantiation or addition.

    Definition Classes
    InnerEdge
  19. abstract def sources: OneOrMore[NodeT]

    All source ends of this edge.

    All source ends of this edge.

    Definition Classes
    Edge
  20. abstract def targets: OneOrMore[NodeT]

    All target ends of this edge.

    All target ends of this edge.

    Definition Classes
    Edge
  21. abstract def withSources[U](f: (NodeT) => 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
    Edge
  22. abstract def withTargets[U](f: (NodeT) => 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
    Edge

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toany2stringadd[BaseInnerEdge] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BaseInnerEdge, B)
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toArrowAssoc[BaseInnerEdge] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def adjacents: Set[EdgeT]

    All connecting edges, that is all edges with ends incident with this edge including possible loops.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def canEqual(that: Any): Boolean
    Definition Classes
    BaseInnerEdgeEdge → Equals
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def contains[M >: NodeT](node: M): Boolean

    Same as isAt.

    Same as isAt.

    Definition Classes
    Edge
    Annotations
    @inline()
  11. def customMsgPrefix: String
    Attributes
    protected
    Definition Classes
    Edge
  12. def ensuring(cond: (BaseInnerEdge) => Boolean, msg: => Any): BaseInnerEdge
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toEnsuring[BaseInnerEdge] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (BaseInnerEdge) => Boolean): BaseInnerEdge
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toEnsuring[BaseInnerEdge] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): BaseInnerEdge
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toEnsuring[BaseInnerEdge] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): BaseInnerEdge
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toEnsuring[BaseInnerEdge] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(other: Any): Boolean
    Definition Classes
    BaseInnerEdge → Equals → AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    BaseInnerEdge → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isLabeled: Boolean
    Definition Classes
    Edge
  22. final def isUndirected: Boolean

    Whether this edge is undirected.

    Whether this edge is undirected.

    Definition Classes
    Edge
    Annotations
    @inline()
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def nonHyperEdge: Boolean

    Whether this edge has exactly two ends.

    Whether this edge has exactly two ends.

    Definition Classes
    Edge
    Annotations
    @inline()
  25. final def nonLooping: Boolean

    Same as ! looping.

    Same as ! looping.

    Definition Classes
    Edge
    Annotations
    @inline()
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def privateNodes: Set[NodeT]

    The nodes of this edge which only participate in this edge.

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    BaseInnerEdge → AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final 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 define a custom edge class that mixes in ExtendedKey and adds weight to keyAttributes.

    Definition Classes
    BaseInnerEdgeEdge
    Annotations
    @inline()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toStringFormat[BaseInnerEdge] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (BaseInnerEdge, B)
    Implicit
    This member is added by an implicit conversion from BaseInnerEdge toArrowAssoc[BaseInnerEdge] 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.

Inherited from GraphBase.InnerEdge

Inherited from GraphBase.InnerElem

Inherited from InnerEdgeLike[NodeT]

Inherited from Edge[NodeT]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromBaseInnerEdge to any2stringadd[BaseInnerEdge]

Inherited by implicit conversion StringFormat fromBaseInnerEdge to StringFormat[BaseInnerEdge]

Inherited by implicit conversion Ensuring fromBaseInnerEdge to Ensuring[BaseInnerEdge]

Inherited by implicit conversion ArrowAssoc fromBaseInnerEdge to ArrowAssoc[BaseInnerEdge]

Ungrouped