GraphTheory
FindAsteroidalTriple
find asteroidal triple
IsAsteroidalTripleFree
check if graph is free of asteroidal triples
Calling Sequence
Parameters
Options
Description
Definition
Examples
Compatibility
FindAsteroidalTriple(G)
IsAsteroidalTripleFree(G,opts)
G
-
graph
opts
(optional) one or more options as specified below
certificate : keyword option of the form certificate=true or certificate=false.
Specifies whether a list representing the asteroidal triple should be returned in the event the graph contains an asteroidal triple. The default is false.
FindAsteroidalTriple(G) returns an asteroidal triple as a list of vertices of G if one exists, and NULL otherwise.
IsAsteroidalTripleFree(G) returns true if G does not contain an asteroidal triple, and false if it does.
An asteroidal triple for a graph G is a triple (u,v,w) of non-adjacent vertices of G such that for each pair from the triple, there exists a path between them that does not intersect the third vertex or any of its neighbors.
with⁡GraphTheory:
with⁡SpecialGraphs:
C≔CycleGraph⁡5
C≔Graph 1: an undirected graph with 5 vertices and 5 edge(s)
FindAsteroidalTriple⁡C
The Petersen graph is not Asteroidal (that is, it does not contain an asteroidal triple), but it does contain an asteroidal path.
P≔PetersenGraph⁡
P≔Graph 2: an undirected graph with 10 vertices and 15 edge(s)
FindAsteroidalTriple⁡P
2,4,6
The GraphTheory[FindAsteroidalTriple] and GraphTheory[IsAsteroidalTripleFree] commands were introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
DrawGraph
Download Help Document