NodeBase
Attributes
- Graph
-
- Supertypes
-
trait GraphInnerNodetrait TraverserInnerNodetrait BaseInnerNodetrait InnerNodetrait InnerElemtrait Nodetrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class InnerNodeImplclass InnerNodeImpl
- Self type
Members list
Value members
Concrete methods
Inherited methods
Attributes
- Inherited from:
- BaseInnerNode
All edges connecting this node with other
including outgoing and incoming edges. This method is useful in case of multigraphs.
All edges connecting this node with other
including outgoing and incoming edges. This method is useful in case of multigraphs.
Value parameters
- other
-
A node which is possibly connected with this node.
Attributes
- Returns
-
All edges connecting this node with
other
. Ifother
equals this node all hooks are returned. Ifother
is not connected with this node an empty set is returned. - Inherited from:
- BaseInnerNode
The Graph
instance that contains this
inner edge.
The degree of this node.
The degree of this node.
Attributes
- 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.
- Inherited from:
- BaseInnerNode
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.
Attributes
- Returns
-
set of all direct predecessors of this node.
- Inherited from:
- BaseInnerNode
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.
Attributes
- Returns
-
set of all direct successors of this node.
- Inherited from:
- BaseInnerNode
All edges at this node - commonly denoted as E(v).
All edges at this node - commonly denoted as E(v).
Attributes
- Returns
-
all edges connecting to this node.
- Inherited from:
- BaseInnerNode
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
-
BaseInnerNode -> Any
- Inherited from:
- BaseInnerNode
An edge at from
having this node as a successor.
An edge at from
having this node as a successor.
Value parameters
- from
-
The node being at an edge which has this node as a successor.
Attributes
- Returns
-
An edges at
from
having this node as a successor. Iffrom
equals this node a hook may be returned. Iffrom
is not an adjacent nodeNone
is returned. - Inherited from:
- BaseInnerNode
An outgoing edge connecting this node with to
.
An outgoing edge connecting this node with to
.
Value parameters
- to
-
The node which is the end point of an edge starting at this node.
Attributes
- Returns
-
One of possibly several edges connecting this node with
to
. Ifto
equals this node a hook may be returned. Ifto
is not an adjacent nodeNone
is returned. - Inherited from:
- BaseInnerNode
Checks whether this node has only hooks or no edges at all.
Checks whether this node has only hooks or no edges at all.
Attributes
- Returns
-
true
if this node has only hooks or it isolated. - Inherited from:
- BaseInnerNode
Whether this node has any predecessors.
Whether this node has any successors.
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
BaseInnerNode -> Any
- Inherited from:
- BaseInnerNode
Attributes
- Returns
-
A looping edge out of one or more at this node or
None
if this node has no looping edge. - Inherited from:
- BaseInnerNode
The incoming degree of this node after applying some filters to the incoming edges and predecessors.
The incoming degree of this node after applying some filters to the incoming edges and predecessors.
Attributes
- Inherited from:
- BaseInnerNode
The incoming degree of this node.
The incoming degree of this node.
Attributes
- Returns
-
the number of edges that come in to this node including undirected edges. Loops count once each.
- Inherited from:
- BaseInnerNode
Synonym for diPredecessors
.
Incoming edges of this node.
Incoming edges of this node.
Attributes
- Returns
-
set of all edges incoming to of this including undirected edges.
- Inherited from:
- BaseInnerNode
All incoming edges connecting from
with this node.
All incoming edges connecting from
with this node.
Value parameters
- from
-
The node with zero, one or more edges having this node as a direct successor.
Attributes
- Returns
-
All edges at
from
having this node as a direct successor. Iffrom
equals this node all hooks are returned. Iffrom
is not an adjacent node an empty set is returned. - Inherited from:
- BaseInnerNode
Instantiates an InnerEdgeTraverser which extends scala.collection.Iterable
with elements of type EdgeT
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an InnerEdgeTraverser which extends scala.collection.Iterable
with elements of type EdgeT
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an InnerElemTraverser which extends scala.collection.Iterable
with elements of type InnerElem
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an InnerElemTraverser which extends scala.collection.Iterable
with elements of type InnerElem
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an InnerNodeDownUpTraverser which extends scala.collection.Iterable
with elements of type (Boolean, NodeT)
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an InnerNodeDownUpTraverser which extends scala.collection.Iterable
with elements of type (Boolean, NodeT)
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an InnerNodeTraverser which extends scala.collection.Iterable
with elements of type NodeT
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an InnerNodeTraverser which extends scala.collection.Iterable
with elements of type NodeT
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Whether that
is an adjacent (direct successor) to this node.
Whether that
is an adjacent (direct successor) to this node.
Value parameters
- that
-
The node to check for adjacency.
Attributes
- Returns
-
true
ifthat
is adjacent to this node. - Inherited from:
- BaseInnerNode
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
.
Value parameters
- that
-
The node to check for independency.
Attributes
- Returns
-
true
ifthat
node is independent of this node. - Inherited from:
- BaseInnerNode
true
if this node's degree equals to 0.
true
if this node's degree equals to 1.
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.
Attributes
- Returns
-
set of all neighbors.
- Inherited from:
- BaseInnerNode
The outgoing degree of this node after applying some filters to the outgoing edges and successors.
The outgoing degree of this node after applying some filters to the outgoing edges and successors.
Attributes
- Inherited from:
- BaseInnerNode
The outgoing degree of this node.
The outgoing degree of this node.
Attributes
- Returns
-
the number of edges that go out from this node including undirected edges. Loops count once each.
- Inherited from:
- BaseInnerNode
Synonym for diSuccessors
.
The outer node as supplied by instantiation or addition.
Instantiates an OuterEdgeTraverser which extends scala.collection.Iterable
with elements of type E[N]
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an OuterEdgeTraverser which extends scala.collection.Iterable
with elements of type E[N]
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an OuterElemTraverser which extends scala.collection.Iterable
with elements of type OuterElem
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an OuterElemTraverser which extends scala.collection.Iterable
with elements of type OuterElem
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an OuterNodeDownUpTraverser which extends scala.collection.Iterable
with elements of type (Boolean, N)
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an OuterNodeDownUpTraverser which extends scala.collection.Iterable
with elements of type (Boolean, N)
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
Instantiates an OuterNodeTraverser which extends scala.collection.Iterable
with elements of type N
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Instantiates an OuterNodeTraverser which extends scala.collection.Iterable
with elements of type N
and sets its root
to this node. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
Value parameters
- parameters
-
The properties controlling subsequent traversals.
Attributes
- Inherited from:
- TraverserInnerNode
All edges outgoing from this node.
All edges outgoing from this node.
Attributes
- Returns
-
set of all edges outgoing from this node including undirected edges and hooks.
- Inherited from:
- BaseInnerNode
All outgoing edges connecting this node with to
.
All outgoing edges connecting this node with to
.
Value parameters
- to
-
The node which is the end point of zero, one or more edges starting at this node.
Attributes
- Returns
-
All edges connecting this node with
to
. Ifto
equals this node all hooks are returned. Ifto
is not an adjacent an empty set is returned. - Inherited from:
- BaseInnerNode
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
BaseInnerNode -> Any
- Inherited from:
- BaseInnerNode