19package denoptim.fragspace;
22import denoptim.graph.Vertex.BBType;
37 private long vId = -1;
158 StringBuilder sb =
new StringBuilder();
159 sb.append(
"IdFragmentAndAP [vId=").append(
vId);
160 sb.append(
", molId=").append(
molId);
161 sb.append(
", molTyp=").append(
molTyp);
162 sb.append(
", apId=").append(
apId);
163 sb.append(
", vSymSetId=").append(
vSymSetId);
164 sb.append(
", aSymSetId=").append(
apSymSetId).append(
"]");
165 return sb.toString();
Data structure containing information that identifies a single AP of a vertex/fragment.
int apId
the index of a specific attachment point.
int vSymSetId
the index of the symmetric set the vertex belongs to.
BBType getVertexMolType()
long vId
the ID of the vertex containing the fragment.
int molId
the index of the fragment in that library.
BBType molTyp
the type of library containing the fragment.
void setVrtSymSetId(int vSymSetId)
IdFragmentAndAP(long vIdx, int molId, BBType molTyp, int apId, int vSymSetId, int apSymSetId)
int apSymSetId
the index of the symmetric set the AP belongs to.
boolean sameFragAndAp(IdFragmentAndAP other)
Compares this and another identifier considering solely the fragment ID in the type-specific fragment...
The type of building block.