DeleteEdges
DeleteEdges[g,edgeList]
gives graph g minus the list of edges edgeList. If g is undirected, then the edges in edgeList are treated as undirected edges; otherwise they are treated as directed edges. If there are multiple edges that qualify, then only one edge is deleted.
DeleteEdges[g,edgeList,All]
will delete all edges that qualify. If only one edge is to be deleted, then edgeList can have the form {s,t}; otherwise it has the form {{s1,t1},{s2,t2},…}.
Details and Options
- DeleteEdges functionality is now available in the built-in Wolfram Language function EdgeDelete.
- To use DeleteEdges, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Wolfram Research (2012), DeleteEdges, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html.
Text
Wolfram Research (2012), DeleteEdges, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html.
Wolfram Research (2012), DeleteEdges, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html.
CMS
Wolfram Language. 2012. "DeleteEdges." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html.
Wolfram Language. 2012. "DeleteEdges." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html.
APA
Wolfram Language. (2012). DeleteEdges. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html
Wolfram Language. (2012). DeleteEdges. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html
BibTeX
@misc{reference.wolfram_2024_deleteedges, author="Wolfram Research", title="{DeleteEdges}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html}", note=[Accessed: 21-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_deleteedges, organization={Wolfram Research}, title={DeleteEdges}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/DeleteEdges.html}, note=[Accessed: 21-January-2025
]}