graph-toolkit
Preparing search index...
paths/src
hamiltonianCycle
Function hamiltonianCycle
hamiltonianCycle
(
graph
:
Graph
,
options
?:
AbortOptions
,
)
:
readonly
VertexId
[]
|
undefined
Cycle visiting every vertex once, returned without repeating the start; needs V ≥ 3.
Parameters
graph
:
Graph
options
:
AbortOptions
= {}
Returns
readonly
VertexId
[]
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
graph-toolkit
Loading...
Cycle visiting every vertex once, returned without repeating the start; needs V ≥ 3.