case class Context[N, A, B](inAdj: Adj[N, B], vertex: N, label: A, outAdj: Adj[N, B]) extends Product with Serializable
The view of a graph focused on the context surrounding a particular node.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&(g: Graph[N, A, B]): Graph[N, A, B]
Alias for
embed
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addPred(n: N, edge: B): Context[N, A, B]
Insert a predecessor after the focused node
-
def
addSucc(n: N, edge: B): Context[N, A, B]
Insert a successor after the focused node
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
embed(g: Graph[N, A, B]): Graph[N, A, B]
Embed this context in the given graph
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inAdj: Adj[N, B]
-
def
inEdges: Vector[LEdge[N, B]]
Labeled edges into the focused node, including identity arrows to self
-
def
ins: Adj[N, B]
Adjacency list for all the incoming edges plus identity arrows to self
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: A
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neighbors: Vector[N]
All neighbors of the node
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outAdj: Adj[N, B]
-
def
outEdges: Vector[LEdge[N, B]]
Labeled edges from the focused node, including identity arrows from self
-
def
outs: Adj[N, B]
Adjacency list for all the outgoing edges plus identity arrows from self
-
def
predecessors: Vector[N]
All the sources of incoming edges
-
def
successors: Vector[N]
All the targets of outgoing edges
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toGrContext: GrContext[N, A, B]
- val vertex: N
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()