$darkmode
DENOPTIM
|
ChainLink represents a vertex in a closable chain. More...
Public Member Functions | |
ChainLink () | |
Constructs an empty ChainLink. More... | |
ChainLink (int molID, Vertex.BBType ftype, int apLeft, int apRight) | |
Constructs a ChainLink from the involved points. More... | |
int | getIdx () |
Vertex.BBType | getFragType () |
int | getApIdToLeft () |
int | getApIdToRight () |
ChainLink | clone () |
Returns a deep-clone. More... | |
String | toString () |
Private Attributes | |
int | idx |
Fragment ID in library. More... | |
Vertex.BBType | ftype |
Fragment type. More... | |
int | apLeft |
Index of AP towards left. More... | |
int | apRight |
Index of AP towards right. More... | |
ChainLink represents a vertex in a closable chain.
This data structure stores information as to the corresponding molecule ID in the library of fragments, the type of fragment and the identify of the AP linking to the chain link before and after
Definition at line 32 of file ChainLink.java.
denoptim.graph.rings.ChainLink.ChainLink | ( | ) |
Constructs an empty ChainLink.
Definition at line 61 of file ChainLink.java.
Referenced by denoptim.graph.rings.ChainLink.clone().
denoptim.graph.rings.ChainLink.ChainLink | ( | int | molID, |
Vertex.BBType | ftype, | ||
int | apLeft, | ||
int | apRight | ||
) |
Constructs a ChainLink from the involved points.
Definition at line 71 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.apLeft, denoptim.graph.rings.ChainLink.apRight, and denoptim.graph.rings.ChainLink.ftype.
ChainLink denoptim.graph.rings.ChainLink.clone | ( | ) |
Returns a deep-clone.
Definition at line 131 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.apLeft, denoptim.graph.rings.ChainLink.apRight, denoptim.graph.rings.ChainLink.ChainLink(), denoptim.graph.rings.ChainLink.ftype, and denoptim.graph.rings.ChainLink.idx.
int denoptim.graph.rings.ChainLink.getApIdToLeft | ( | ) |
Definition at line 108 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.apLeft.
Referenced by denoptim.ga.GraphOperations.getFragmentForClosableChain(), and denoptim.graph.rings.ClosableChain.involvesVertexAndAP().
int denoptim.graph.rings.ChainLink.getApIdToRight | ( | ) |
Definition at line 120 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.apRight.
Referenced by denoptim.ga.GraphOperations.getFragmentForClosableChain(), and denoptim.graph.rings.ClosableChain.involvesVertexAndAP().
Vertex.BBType denoptim.graph.rings.ChainLink.getFragType | ( | ) |
Definition at line 96 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.ftype.
Referenced by denoptim.ga.GraphOperations.getFragmentForClosableChain(), denoptim.graph.rings.ClosableChain.involvesVertex(), and denoptim.graph.rings.ClosableChain.involvesVertexAndAP().
int denoptim.graph.rings.ChainLink.getIdx | ( | ) |
Definition at line 85 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.idx.
Referenced by denoptim.ga.GraphOperations.getFragmentForClosableChain(), denoptim.graph.rings.ClosableChain.getTurningPointIdx(), denoptim.graph.rings.ClosableChain.involvesVertex(), and denoptim.graph.rings.ClosableChain.involvesVertexAndAP().
String denoptim.graph.rings.ChainLink.toString | ( | ) |
Definition at line 143 of file ChainLink.java.
References denoptim.graph.rings.ChainLink.apLeft, denoptim.graph.rings.ChainLink.apRight, denoptim.graph.rings.ChainLink.ftype, and denoptim.graph.rings.ChainLink.idx.
|
private |
Index of AP towards left.
Definition at line 47 of file ChainLink.java.
Referenced by denoptim.graph.rings.ChainLink.ChainLink(), denoptim.graph.rings.ChainLink.clone(), denoptim.graph.rings.ChainLink.getApIdToLeft(), and denoptim.graph.rings.ChainLink.toString().
|
private |
Index of AP towards right.
Definition at line 52 of file ChainLink.java.
Referenced by denoptim.graph.rings.ChainLink.ChainLink(), denoptim.graph.rings.ChainLink.clone(), denoptim.graph.rings.ChainLink.getApIdToRight(), and denoptim.graph.rings.ChainLink.toString().
|
private |
Fragment type.
Definition at line 42 of file ChainLink.java.
Referenced by denoptim.graph.rings.ChainLink.ChainLink(), denoptim.graph.rings.ChainLink.clone(), denoptim.graph.rings.ChainLink.getFragType(), and denoptim.graph.rings.ChainLink.toString().
|
private |
Fragment ID in library.
Definition at line 37 of file ChainLink.java.
Referenced by denoptim.graph.rings.ChainLink.clone(), denoptim.graph.rings.ChainLink.getIdx(), and denoptim.graph.rings.ChainLink.toString().