Package com.microstrategy.utils
Class DAG.Vertex
- java.lang.Object
 - 
- com.microstrategy.utils.DAG.AnnotatableObject
 - 
- com.microstrategy.utils.DAG.Vertex
 
 
 
- 
- Enclosing class:
 - DAG
 
public static class DAG.Vertex extends DAG.AnnotatableObject
This class represents an end point ("vertex") in a Directed Acyclic Graph. Each vertex must have a unique key which is used to identify that vertex in the graph. Each Vertex manages a set of "incoming" edges (those edges that have this Vertex as a "to" end) and a set of "outgoing" edges (those edges that have this Vertex as a "from" end). A Vertex is an "annotatable" object which means that callers may set properties on this object. It is the caller's responsibility to ensure that it uses property names which are unique.- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 DAG.AnnotatableObject
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIncomingEdgeCount()Returns the number of incoming edges to this Vertex.java.util.Iterator<DAG.Edge>getIncomingEdges()Returns the incoming edges to this Vertex.java.lang.StringgetKey()Returns the key associated with this Vertex.intgetOutgingEdgeCount()Returns the number of outgoing edges from this Vertex.java.util.Iterator<DAG.Edge>getOutgoingEdges()Returns the outgoing edges from this Vertex.- 
Methods inherited from class com.microstrategy.utils.DAG.AnnotatableObject
getProperty, setProperty 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getKey
public java.lang.String getKey()
Returns the key associated with this Vertex.- Returns:
 - The key associated with this Vertex.
 
 
- 
getIncomingEdgeCount
public int getIncomingEdgeCount()
Returns the number of incoming edges to this Vertex.- Returns:
 - The number of incoming edges to this Vertex.
 
 
- 
getOutgingEdgeCount
public int getOutgingEdgeCount()
Returns the number of outgoing edges from this Vertex.- Returns:
 - The number of outgoing edges from this Vertex.
 
 
- 
getIncomingEdges
public java.util.Iterator<DAG.Edge> getIncomingEdges()
Returns the incoming edges to this Vertex.- Returns:
 - The incoming edges to this Vertex.
 
 
- 
getOutgoingEdges
public java.util.Iterator<DAG.Edge> getOutgoingEdges()
Returns the outgoing edges from this Vertex.- Returns:
 - The outgoing edges from this Vertex.
 
 
 - 
 
 -