Packages

class InnerDiHyperEdge extends DiHyperEdge[CC.NodeT] with CC.EdgeT

Annotations
@SerialVersionUID()
Linear Supertypes
CC.GraphInnerEdge, CC.BaseInnerEdge, CC.InnerEdge, CC.InnerElem, InnerEdgeLike[CC.NodeT], DiHyperEdge[CC.NodeT], AnyDiHyperEdge[CC.NodeT], EqDiHyper, AnyHyperEdge[CC.NodeT], EqHyper, Eq, Edge[CC.NodeT], Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InnerDiHyperEdge
  2. GraphInnerEdge
  3. BaseInnerEdge
  4. InnerEdge
  5. InnerElem
  6. InnerEdgeLike
  7. DiHyperEdge
  8. AnyDiHyperEdge
  9. EqDiHyper
  10. AnyHyperEdge
  11. EqHyper
  12. Eq
  13. Edge
  14. Equals
  15. AnyRef
  16. Any
Implicitly
  1. by toOuterEdge
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InnerDiHyperEdge(sources: OneOrMore[CC.NodeT], targets: OneOrMore[CC.NodeT], outer: E)

Value Members

  1. def adjacents: Set[CC.EdgeT]

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

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

    Definition Classes
    BaseInnerEdge
  2. 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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  3. def canEqual(that: Any): Boolean
    Definition Classes
    BaseInnerEdgeEdge → Equals
  4. final def containingGraph: CC.ThisGraph

    The Graph instance that contains this inner edge.

    The Graph instance that contains this inner edge.

    Definition Classes
    GraphInnerEdge
  5. final def contains[M >: CC.NodeT](node: M): Boolean

    Same as isAt.

    Same as isAt.

    Definition Classes
    Edge
    Annotations
    @inline()
  6. def ends: Several[CC.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
    AnyDiHyperEdgeEdge
  7. def equals(other: Any): Boolean
    Definition Classes
    BaseInnerEdge → Equals → AnyRef → Any
  8. def hasSource(pred: (CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  9. def hasSource[M >: CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  10. def hasTarget(pred: (CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  11. def hasTarget[M >: CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  12. def hashCode(): Int
    Definition Classes
    BaseInnerEdge → AnyRef → Any
  13. def isAt(pred: (CC.NodeT) => Boolean): Boolean

    true if any end of this edge fulfills pred.

    true if any end of this edge fulfills pred.

    Definition Classes
    AnyHyperEdgeEdge
  14. def isAt[M >: CC.NodeT](node: M): Boolean

    true if node is incident with this edge.

    true if node is incident with this edge.

    Definition Classes
    AnyHyperEdgeEdge
  15. final def isDirected: Boolean

    Whether this edge is directed.

    Whether this edge is directed.

    Definition Classes
    AnyDiHyperEdgeAnyHyperEdgeEdge
    Annotations
    @inline()
  16. 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
    AnyHyperEdgeEdge
  17. def isLabeled: Boolean
    Definition Classes
    Edge
  18. 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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  19. final def isUndirected: Boolean

    Whether this edge is undirected.

    Whether this edge is undirected.

    Definition Classes
    Edge
    Annotations
    @inline()
  20. def matches(p1: (CC.NodeT) => Boolean, p2: (CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  21. def matches[M >: CC.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
    AnyDiHyperEdgeAnyHyperEdgeEdge
  22. def node(n: Int): CC.NodeT

    The n'th node of this edge.

    The n'th node of this edge.

    Definition Classes
    AnyHyperEdgeEdge
    Exceptions thrown

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

  23. def node1: CC.NodeT

    The first node of this edge.

    The first node of this edge.

    Definition Classes
    AnyDiHyperEdgeAnyHyperEdgeEdge
  24. def node2: CC.NodeT

    The second node of this edge.

    The second node of this edge.

    Definition Classes
    AnyHyperEdgeEdge
  25. final def nonHyperEdge: Boolean

    Whether this edge has exactly two ends.

    Whether this edge has exactly two ends.

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

    Same as ! looping.

    Same as ! looping.

    Definition Classes
    Edge
    Annotations
    @inline()
  27. val outer: E

    The outer edge as supplied by instantiation or addition.

    The outer edge as supplied by instantiation or addition.

    Definition Classes
    InnerDiHyperEdgeInnerEdge
  28. def privateNodes: Set[CC.NodeT]

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

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

    Definition Classes
    BaseInnerEdge
  29. val sources: OneOrMore[CC.NodeT]

    All source ends of this edge.

    All source ends of this edge.

    Definition Classes
    InnerDiHyperEdgeAnyHyperEdgeEdge
  30. val targets: OneOrMore[CC.NodeT]

    All target ends of this edge.

    All target ends of this edge.

    Definition Classes
    InnerDiHyperEdgeAnyHyperEdgeEdge
  31. def toString(): String
    Definition Classes
    BaseInnerEdge → AnyRef → Any
  32. 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()
  33. def withSources[U](f: (CC.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
    AnyHyperEdgeEdge
  34. def withTargets[U](f: (CC.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
    AnyHyperEdgeEdge

Shadowed Implicit Value Members

  1. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).arity
    Definition Classes
    Edge
  2. def canEqual(that: Any): Boolean
    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).canEqual(that)
    Definition Classes
    Edge → Equals
  3. final def contains[M >: CC.NodeT](node: M): Boolean

    Same as isAt.

    Same as isAt.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).contains(node)
    Definition Classes
    Edge
    Annotations
    @inline()
  4. def ends: Several[N]

    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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).ends
    Definition Classes
    Edge
  5. def hasSource(pred: (N) => Boolean): Boolean

    true if any source end of this edge fulfills pred.

    true if any source end of this edge fulfills pred.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).hasSource(pred)
    Definition Classes
    Edge
  6. def hasSource[M >: CC.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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).hasSource(node)
    Definition Classes
    Edge
  7. def hasTarget(pred: (N) => Boolean): Boolean

    true if any target end of this edge fulfills pred.

    true if any target end of this edge fulfills pred.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).hasTarget(pred)
    Definition Classes
    Edge
  8. def hasTarget[M >: CC.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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).hasTarget(node)
    Definition Classes
    Edge
  9. def isAt(pred: (N) => Boolean): Boolean

    true if any end of this edge fulfills pred.

    true if any end of this edge fulfills pred.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isAt(pred)
    Definition Classes
    Edge
  10. def isAt[M >: CC.NodeT](node: M): Boolean

    true if node is incident with this edge.

    true if node is incident with this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isAt(node)
    Definition Classes
    Edge
  11. def isDirected: Boolean

    Whether this edge is directed.

    Whether this edge is directed.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isDirected
    Definition Classes
    Edge
  12. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isHyperEdge
    Definition Classes
    Edge
  13. def isLabeled: Boolean
    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isLabeled
    Definition Classes
    Edge
  14. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isLooping
    Definition Classes
    Edge
  15. final def isUndirected: Boolean

    Whether this edge is undirected.

    Whether this edge is undirected.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).isUndirected
    Definition Classes
    Edge
    Annotations
    @inline()
  16. def matches(p1: (N) => Boolean, p2: (N) => Boolean): Boolean

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

    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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).matches(p1, p2)
    Definition Classes
    Edge
  17. def matches[M >: CC.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.
    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).matches(n1, n2)
    Definition Classes
    Edge
  18. def node(n: Int): N

    The n'th node of this edge.

    The n'th node of this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).node(n)
    Definition Classes
    Edge
    Exceptions thrown

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

  19. def node1: N

    The first node of this edge.

    The first node of this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).node1
    Definition Classes
    Edge
  20. def node2: N

    The second node of this edge.

    The second node of this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).node2
    Definition Classes
    Edge
  21. final def nonHyperEdge: Boolean

    Whether this edge has exactly two ends.

    Whether this edge has exactly two ends.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).nonHyperEdge
    Definition Classes
    Edge
    Annotations
    @inline()
  22. final def nonLooping: Boolean

    Same as ! looping.

    Same as ! looping.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).nonLooping
    Definition Classes
    Edge
    Annotations
    @inline()
  23. def sources: OneOrMore[N]

    All source ends of this edge.

    All source ends of this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).sources
    Definition Classes
    Edge
  24. def targets: OneOrMore[N]

    All target ends of this edge.

    All target ends of this edge.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).targets
    Definition Classes
    Edge
  25. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).weight
    Definition Classes
    Edge
  26. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).withSources(f)
    Definition Classes
    Edge
  27. 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.

    Implicit
    This member is added by an implicit conversion from CC.InnerDiHyperEdge toE performed by method toOuterEdge in scalax.collection.GraphBase.BaseInnerEdge.
    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:
    (innerDiHyperEdge: E).withTargets(f)
    Definition Classes
    Edge