|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
Owned neighbour list. More...
#include <include/seams.hpp>
Public Member Functions | |
| std::size_t | nnz () const |
| Number of neighbour pairs, omitting self. | |
| std::vector< int > | degrees () const |
| Degree of each atom. | |
| std::vector< std::pair< int, int > > | pairs () const |
| Directed pairs (atom, neighbour). | |
| ChordlessCycles | chordless (int size) const |
| Chordless cycles of one length on this graph. | |
| Public Member Functions inherited from seams::detail::Handle< seams_neighbours, seams_neighbours_destroy > | |
| Handle ()=default | |
| Handle & | operator= (const Handle &)=delete |
| ~Handle () | |
| operator bool () const noexcept | |
Additional Inherited Members | |
| Protected Member Functions inherited from seams::detail::Handle< seams_neighbours, seams_neighbours_destroy > | |
| seams_neighbours * | get () const noexcept |
| void | reset () noexcept |
| Protected Attributes inherited from seams::detail::Handle< seams_neighbours, seams_neighbours_destroy > | |
| seams_neighbours * | ptr_ |
Owned neighbour list.
Move-only. Destruction frees the C handle. The self entry is omitted. A neighbour list is not safe to share across threads.
|
inlinenodiscard |
Chordless cycles of one length on this graph.
| size | Cycle length, from 3 through 12. |
Definition at line 709 of file seams.hpp.
|
inlinenodiscard |
Degree of each atom.
Definition at line 659 of file seams.hpp.
|
inlinenodiscard |
|
inlinenodiscard |
Directed pairs (atom, neighbour).
Definition at line 682 of file seams.hpp.