scalax.collection.GraphBase

NodeBase

abstract class NodeBase extends InnerNodeLike

Attributes
protected
Linear Supertypes
InnerNodeLike, Node, Serializable, Serializable, NodeOut[N], GraphParamNode[N], GraphParamOut[N, Nothing], GraphParam[N, Nothing], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NodeBase
  2. InnerNodeLike
  3. Node
  4. Serializable
  5. Serializable
  6. NodeOut
  7. GraphParamNode
  8. GraphParamOut
  9. GraphParam
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NodeBase()

Abstract Value Members

  1. abstract def edges: ExtSet[EdgeT]

    All edges at this node - commonly denoted as E(v).

    All edges at this node - commonly denoted as E(v).

    returns

    all edges with at least one end connecting to this node.

    Definition Classes
    InnerNodeLike
  2. abstract def isContaining[N, E[X] <: EdgeLikeIn[X]](g: GraphBase[N, E]): Boolean

    Definition Classes
    NodeOut
  3. abstract def value: N

    The outer node as supplied by the user at instantiation time or by adding nodes this graph.

    The outer node as supplied by the user at instantiation time or by adding nodes this graph.

    returns

    Reference to the user-supplied outer node.

    Definition Classes
    InnerNodeLikeGraphParamNode

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def <~(from: NodeT): Set[EdgeT]

    Synonym for incomingFrom.

    Synonym for incomingFrom.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  5. final def <~: Set[EdgeT]

    Synonym for incoming.

    Synonym for incoming.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  6. final def <~?(from: NodeT): Option[EdgeT]

    Synonym for findIncomingFrom.

    Synonym for findIncomingFrom.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  7. final def <~|: Set[NodeT]

    Synonym for diPredecessors.

    Synonym for diPredecessors.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def addDiPredecessors(edge: EdgeT, add: (NodeT) ⇒ Unit): Unit

    Attributes
    protected[scalax.collection]
    Definition Classes
    InnerNodeLike
  11. def addDiSuccessors(edge: EdgeT, add: (NodeT) ⇒ Unit): Unit

    Attributes
    protected[scalax.collection]
    Definition Classes
    InnerNodeLike
  12. def addNeighbors(edge: EdgeT, add: (NodeT) ⇒ Unit): Unit

    Attributes
    protected[scalax.collection]
    Definition Classes
    InnerNodeLike
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. final def asNodeT[N <: N, E[X] <: EdgeLikeIn[X], G <: GraphBase[N, E] with Singleton](g: G): GraphPredef.NodeOut.asNodeT.G.NodeT

    Attributes
    protected[scalax.collection]
    Definition Classes
    NodeOut
  15. final def asNodeTProjection[N <: N, E[X] <: EdgeLikeIn[X]]: NodeT

    Attributes
    protected[scalax.collection]
    Definition Classes
    NodeOut
  16. def canEqual(that: Any): Boolean

    Definition Classes
    InnerNodeLike
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def degree: Int

    The degree of this node.

    The degree of this node.

    returns

    the number of edges that connect to this node. An edge that connects to this node at more than one ends (loop) is counted as much times as it is connected to this node.

    Definition Classes
    InnerNodeLike
  19. def diPredecessors: Set[NodeT]

    All direct predecessors of this node, also called predecessor set or open in-neighborhood: source nodes of directed incident edges and / or adjacent nodes of undirected incident edges excluding this node.

    All direct predecessors of this node, also called predecessor set or open in-neighborhood: source nodes of directed incident edges and / or adjacent nodes of undirected incident edges excluding this node.

    returns

    set of all direct predecessors of this node.

    Definition Classes
    InnerNodeLike
  20. def diSuccessors: Set[NodeT]

    All direct successors of this node, also called successor set or open out-neighborhood: target nodes of directed incident edges and / or adjacent nodes of undirected incident edges excluding this node.

    All direct successors of this node, also called successor set or open out-neighborhood: target nodes of directed incident edges and / or adjacent nodes of undirected incident edges excluding this node.

    returns

    set of all direct successors of this node.

    Definition Classes
    InnerNodeLike
  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean

    Definition Classes
    InnerNodeLike → AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def findIncomingFrom(from: NodeT): Option[EdgeT]

    An edge at from having this node as a successor.

    An edge at from having this node as a successor.

    from

    The node being at an edge which has this node as a successor.

    returns

    An edges at from having this node as a successor. If from equals this node a hook may be returned. If from is not an adjacent node None is returned.

    Definition Classes
    InnerNodeLike
  25. def findOutgoingTo(to: NodeT): Option[EdgeT]

    An outgoing edge connecting this node with to.

    An outgoing edge connecting this node with to.

    to

    The node which is the end point of an edge starting at this node.

    returns

    One of possibly several edges connecting this node with to. If to equals this node a hook may be returned. If to is not an adjacent node None is returned.

    Definition Classes
    InnerNodeLike
  26. final def fold[N <: N, E[X] <: EdgeLikeIn[X], G <: GraphBase[N, E] with Singleton, T](g: G)(fa: (GraphPredef.NodeOut.fold.G.NodeT) ⇒ T, fb: (NodeT) ⇒ T): T

    Definition Classes
    NodeOut
  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def hasOnlyHooks: Boolean

    Checks whether this node has only hooks or no edges at all.

    Checks whether this node has only hooks or no edges at all.

    returns

    true if this node has only hooks or it does not participate in any edge

    Definition Classes
    InnerNodeLike
  29. def hashCode(): Int

    Definition Classes
    InnerNodeLike → AnyRef → Any
  30. def inDegree: Int

    The incoming degree of this node.

    The incoming degree of this node.

    returns

    the number of edges that come in to this node including undirected edges. Every loop on this node is counted twice.

    Definition Classes
    InnerNodeLike
  31. final def inNeighbors: Set[NodeT]

    Synonym for diPredecessors.

    Synonym for diPredecessors.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  32. def incoming: Set[EdgeT]

    Incoming edges of this node.

    Incoming edges of this node.

    returns

    set of all edges incoming to of this including undirected edges.

    Definition Classes
    InnerNodeLike
  33. def incomingFrom(from: NodeT): Set[EdgeT]

    All incoming edges connecting from with this node.

    All incoming edges connecting from with this node.

    from

    The node with zero, one or more edges having this node as a direct successor.

    returns

    All edges at from having this node as a direct successor. If from equals this node all hooks are returned. If from is not an adjacent node an empty set is returned.

    Definition Classes
    InnerNodeLike
  34. def isDirectPredecessorOf(that: NodeT): Boolean

    Whether that is an adjacent (direct successor) to this node.

    Whether that is an adjacent (direct successor) to this node.

    that

    The node to check for adjacency.

    returns

    true if that is adjacent to this node.

    Definition Classes
    InnerNodeLike
  35. def isEdge: Boolean

    Definition Classes
    GraphParamNode
  36. def isIn: Boolean

    Definition Classes
    GraphParamOutGraphParam
  37. def isIndependentOf(that: NodeT): Boolean

    Whether that is independent of this node meaning that there exists no edge connecting this node with that.

    Whether that is independent of this node meaning that there exists no edge connecting this node with that.

    that

    The node to check for independency.

    returns

    true if that node is independent of this node.

    Definition Classes
    InnerNodeLike
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. final def isIsolated: Boolean

    Returns whether this node's degree equals to 0.

    Returns whether this node's degree equals to 0.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  40. final def isLeaf: Boolean

    Returns whether this node's degree equals to 1.

    Returns whether this node's degree equals to 1.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  41. def isNode: Boolean

    Definition Classes
    GraphParamNode
  42. def isOut: Boolean

    Definition Classes
    GraphParamOutGraphParam
  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. def neighbors: Set[NodeT]

    All adjacent nodes (direct successors and predecessors) of this node, also called open neighborhood excluding this node.

    All adjacent nodes (direct successors and predecessors) of this node, also called open neighborhood excluding this node.

    returns

    set of all neighbors.

    Definition Classes
    InnerNodeLike
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def outDegree: Int

    The outgoing degree of this node.

    The outgoing degree of this node.

    returns

    the number of edges that go out from this node including undirected edges. Every loop on this node is counted twice.

    Definition Classes
    InnerNodeLike
  48. final def outNeighbors: Set[NodeT]

    Synonym for diSuccessors.

    Synonym for diSuccessors.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  49. def outgoing: Set[EdgeT]

    All edges outgoing from this node.

    All edges outgoing from this node.

    returns

    set of all edges outgoing from this node including undirected edges and hooks.

    Definition Classes
    InnerNodeLike
  50. def outgoingTo(to: NodeT): Set[EdgeT]

    All outgoing edges connecting this node with to.

    All outgoing edges connecting this node with to.

    to

    The node which is the end point of zero, one or more edges starting at this node.

    returns

    All edges connecting this node with to. If to equals this node all hooks are returned. If to is not an adjacent an empty set is returned.

    Definition Classes
    InnerNodeLike
  51. def stringPrefix: String

    Definition Classes
    GraphParamNode
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. final def toNodeT[N <: N, E[X] <: EdgeLikeIn[X], G <: GraphBase[N, E] with Singleton](g: G)(f: (NodeT) ⇒ GraphPredef.NodeOut.toNodeT.G.NodeT): GraphPredef.NodeOut.toNodeT.G.NodeT

    Definition Classes
    NodeOut
  54. def toString(): String

    Definition Classes
    GraphParamNode → AnyRef → Any
  55. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def ~: ExtSet[EdgeT]

    Synonym for edges.

    Synonym for edges.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  59. final def ~>(to: NodeT): Set[EdgeT]

    Synonym for outgoingTo.

    Synonym for outgoingTo.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  60. final def ~>: Set[EdgeT]

    Synonym for outgoing.

    Synonym for outgoing.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  61. final def ~>?(to: NodeT): Option[EdgeT]

    Synonym for outgoingTo.

    Synonym for outgoingTo.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  62. final def ~>|: Set[NodeT]

    Synonym for diSuccessors.

    Synonym for diSuccessors.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()
  63. final def ~|: Set[NodeT]

    Synonym for neighbors.

    Synonym for neighbors.

    Definition Classes
    InnerNodeLike
    Annotations
    @inline()

Inherited from InnerNodeLike

Inherited from Node

Inherited from Serializable

Inherited from Serializable

Inherited from NodeOut[N]

Inherited from GraphParamNode[N]

Inherited from GraphParamOut[N, Nothing]

Inherited from GraphParam[N, Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped