Uses of Class
org.codehaus.plexus.util.dag.Vertex
-
Packages that use Vertex Package Description org.codehaus.plexus.util.dag -
-
Uses of Vertex in org.codehaus.plexus.util.dag
Fields in org.codehaus.plexus.util.dag with type parameters of type Vertex Modifier and Type Field Description (package private) java.util.List<Vertex>Vertex. children(package private) java.util.List<Vertex>Vertex. parentsprivate java.util.List<Vertex>DAG. vertexListConatin list of all verticesprivate java.util.Map<java.lang.String,Vertex>DAG. vertexMapMaps vertex's label to vertexMethods in org.codehaus.plexus.util.dag that return Vertex Modifier and Type Method Description VertexDAG. addVertex(java.lang.String label)Adds vertex to DAG.VertexDAG. getVertex(java.lang.String label)Methods in org.codehaus.plexus.util.dag that return types with arguments of type Vertex Modifier and Type Method Description java.util.List<Vertex>Vertex. getChildren()java.util.List<Vertex>Vertex. getParents()Get the list the most direct ancestors (parents).java.util.List<Vertex>DAG. getVertices()java.util.List<Vertex>DAG. getVerticies()Deprecated.instead useDAG.getVertices()Methods in org.codehaus.plexus.util.dag with parameters of type Vertex Modifier and Type Method Description voidDAG. addEdge(Vertex from, Vertex to)voidVertex. addEdgeFrom(Vertex vertex)voidVertex. addEdgeTo(Vertex vertex)private static booleanCycleDetector. dfsVisit(Vertex vertex, java.util.LinkedList<java.lang.String> cycle, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static voidTopologicalSorter. dfsVisit(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap, java.util.List<java.lang.String> list)static java.util.List<java.lang.String>CycleDetector. introducesCycle(Vertex vertex)static java.util.List<java.lang.String>CycleDetector. introducesCycle(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)This method will be called when an edge leading to given vertex was added and we want to check if introduction of this edge has not resulted in apparition of cycle in the graphprivate static booleanCycleDetector. isNotVisited(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static booleanTopologicalSorter. isNotVisited(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static booleanCycleDetector. isVisiting(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)voidDAG. removeEdge(Vertex from, Vertex to)voidVertex. removeEdgeFrom(Vertex vertex)voidVertex. removeEdgeTo(Vertex vertex)static java.util.List<java.lang.String>TopologicalSorter. sort(Vertex vertex)Method parameters in org.codehaus.plexus.util.dag with type arguments of type Vertex Modifier and Type Method Description private static booleanCycleDetector. dfsVisit(Vertex vertex, java.util.LinkedList<java.lang.String> cycle, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static voidTopologicalSorter. dfsVisit(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap, java.util.List<java.lang.String> list)static java.util.List<java.lang.String>CycleDetector. introducesCycle(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)This method will be called when an edge leading to given vertex was added and we want to check if introduction of this edge has not resulted in apparition of cycle in the graphprivate static booleanCycleDetector. isNotVisited(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static booleanTopologicalSorter. isNotVisited(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)private static booleanCycleDetector. isVisiting(Vertex vertex, java.util.Map<Vertex,java.lang.Integer> vertexStateMap)
-