19package denoptim.graph.rings;
21import denoptim.graph.Vertex;
145 String str =
" ChainLink[molID: " +
idx +
", ftype: " +
ftype
A vertex is a data structure that has an identity and holds a list of AttachmentPoints.
ChainLink represents a vertex in a closable chain.
int idx
Fragment ID in library.
Vertex.BBType ftype
Fragment type.
int apLeft
Index of AP towards left.
int apRight
Index of AP towards right.
ChainLink clone()
Returns a deep-clone.
ChainLink(int molID, Vertex.BBType ftype, int apLeft, int apRight)
Constructs a ChainLink from the involved points.
ChainLink()
Constructs an empty ChainLink.
Vertex.BBType getFragType()
The type of building block.