Description Usage Arguments Details Value Author(s) Examples
An eulerian cycle is a path in a graph which visits every edge exactly once, and starts and ends at the same node.
1 | hasEulerianCycle(graph)
|
graph |
a |
A graph will have an euler cycle if and only if every node has same number of edges entering into and going out of it.
TRUE
, if graph has an auler cycle. FALSE
, otherwise.
Ashis Saha
1 2 3 4 5 |
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.