DominatorVertexList
✖
DominatorVertexList
✖
DominatorVertexList[g,r]
gives the list of dominators of the directed graph g from the root vertex r.
Details

- DominatorVertexList is also known as immediate dominators.
- Typically used to analyze and detect dependencies in flow graphs.
- For a graph g with vertices {u1,u2,…}, DominatorVertexList[g,r] gives a list of vertices {v1,v2,…} where every path from r to ui goes through vi.
- DominatorVertexList[g,r] returns a list of predecessor vertices vi of vertices ui where vi dominates ui.

Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (1)Survey of the scope of standard use cases
DominatorVertexList works with directed graphs:
In[1]:=1

✖
https://wolfram.com/xid/0k73oaec6mc92-5mwujr
Out[1]=1

Properties & Relations (1)Properties of the function, and connections to other functions
Use DominatorTreeGraph to find the dominator tree of the given graph:
In[6]:=6

✖
https://wolfram.com/xid/0k73oaec6mc92-2n2wve
In[7]:=7

✖
https://wolfram.com/xid/0k73oaec6mc92-xk90sh
Out[7]=7

Wolfram Research (2021), DominatorVertexList, Wolfram Language function, https://reference.wolfram.com/language/ref/DominatorVertexList.html.
✖
Wolfram Research (2021), DominatorVertexList, Wolfram Language function, https://reference.wolfram.com/language/ref/DominatorVertexList.html.
Text
Wolfram Research (2021), DominatorVertexList, Wolfram Language function, https://reference.wolfram.com/language/ref/DominatorVertexList.html.
✖
Wolfram Research (2021), DominatorVertexList, Wolfram Language function, https://reference.wolfram.com/language/ref/DominatorVertexList.html.
CMS
Wolfram Language. 2021. "DominatorVertexList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DominatorVertexList.html.
✖
Wolfram Language. 2021. "DominatorVertexList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DominatorVertexList.html.
APA
Wolfram Language. (2021). DominatorVertexList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DominatorVertexList.html
✖
Wolfram Language. (2021). DominatorVertexList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DominatorVertexList.html
BibTeX
✖
@misc{reference.wolfram_2025_dominatorvertexlist, author="Wolfram Research", title="{DominatorVertexList}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/DominatorVertexList.html}", note=[Accessed: 27-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_dominatorvertexlist, organization={Wolfram Research}, title={DominatorVertexList}, year={2021}, url={https://reference.wolfram.com/language/ref/DominatorVertexList.html}, note=[Accessed: 27-March-2025
]}