edu.duke.cs.osprey
3.3
edu.duke.cs.osprey
/
edu.duke.cs.osprey.molscope.molecule
/
Molecule
/
bfs
bfs
fun
bfs
(
source
:
Atom
,
visitSource
:
Boolean
=
false
,
shouldVisit
:
(
fromAtom
:
Atom
,
toAtom
:
Atom
,
dist
:
Int
)
->
Boolean
=
{ _, _, _ -> true }
)
:
Iterable
<
Molecule.Searched
>
Content copied to clipboard
Crawl the bond network in breadth-first order starting at the source atom.