gives the Luccio–Sami components of the graph g.
LuccioSamiComponents[g,{v1,v2,…}]
gives the components that include at least one of the vertices v1, v2, … .
LuccioSamiComponents[{vw,…},…]
uses rules vw to specify the graph g.
LuccioSamiComponents
gives the Luccio–Sami components of the graph g.
LuccioSamiComponents[g,{v1,v2,…}]
gives the components that include at least one of the vertices v1, v2, … .
LuccioSamiComponents[{vw,…},…]
uses rules vw to specify the graph g.
Details
- LuccioSamiComponents is also known as an LS set.
- A Luccio–Sami component is a set of vertices where each proper subset has more ties to its complement within the set than to the outside.
- LuccioSamiComponents returns a list of components {c1,c2,…}, where each component ci is given as a list of vertices.
- LuccioSamiComponents[g] is equivalent to LuccioSamiComponents[g,VertexList[g]].
- LuccioSamiComponents works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examples
open all close allBasic Examples (1)
Scope (6)
LuccioSamiComponents works with undirected graphs:
LuccioSamiComponents[[image]]LuccioSamiComponents[[image]]LuccioSamiComponents[[image]]LuccioSamiComponents[[image]]Give the components that include at least one of the vertices:
LuccioSamiComponents[[image], {1, 3}]Use rules to specify the graph:
LuccioSamiComponents[{1 -> 2, 1 -> 3, 2 -> 4, 3 -> 4, 3 -> 5, 4 -> 6, 5 -> 6}]Applications (1)
Properties & Relations (2)
All Luccio–Sami components are lambda components:
g = [image];LuccioSamiComponents[g]LambdaComponents[g]MemberQ[LuccioSamiComponents[g], Alternatives @@ LambdaComponents[g]]The converse is not always true:
MemberQ[LambdaComponents[g], {5, 6, 7, 8}]MemberQ[LuccioSamiComponents[g], {5, 6, 7, 8}]Luccio–Sami components are partially ordered by inclusion:
g = [image];λ = LuccioSamiComponents[g]The corresponding directed acyclic graph:
AdjacencyGraph[λ, Table[Boole@(SubsetQ[λ[[j]], λ[[i]]] && λ[[i]] != λ[[j]]), {i, Length[λ]}, {j, Length[λ]}], VertexLabels -> "Name", ImagePadding -> 10]AcyclicGraphQ[%]Related Guides
Text
Wolfram Research (2012), LuccioSamiComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/LuccioSamiComponents.html (updated 2015).
CMS
Wolfram Language. 2012. "LuccioSamiComponents." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/LuccioSamiComponents.html.
APA
Wolfram Language. (2012). LuccioSamiComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LuccioSamiComponents.html
BibTeX
@misc{reference.wolfram_2026_lucciosamicomponents, author="Wolfram Research", title="{LuccioSamiComponents}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/LuccioSamiComponents.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_lucciosamicomponents, organization={Wolfram Research}, title={LuccioSamiComponents}, year={2015}, url={https://reference.wolfram.com/language/ref/LuccioSamiComponents.html}, note=[Accessed: 12-June-2026]}