Adjacency
Adjacencies store neighborhood information for an Ngraph. An adjacency is a directed link from a
"from" object to a "to" object. If the "to" object has an adjacency
back to the "from" object, then the two adjacencies are paired and
store pointers to each other. Since an adjacency is pair of SObjects, it is a Space
Implementations:
Member functions:
- back: Adjacency -> Adjacency
If the
adjacency is paired, returns the corresponding back-adjacency.
- from: Adjacency -> SObject
Returns the
root object.
- paired: Adjacency -> bool
Returns whether or not the
there is an adjacency back from the neighbor.
- to: Adjacency -> SObject
Returns the
neighboring object.