$darkmode
DENOPTIM
denoptim.fragspace.IdFragmentAndAP Class Reference

Data structure containing information that identifies a single AP of a vertex/fragment. More...

Collaboration diagram for denoptim.fragspace.IdFragmentAndAP:
[legend]

Public Member Functions

 IdFragmentAndAP ()
 
 IdFragmentAndAP (long vIdx, int molId, BBType molTyp, int apId, int vSymSetId, int apSymSetId)
 
long getVertexId ()
 
int getVertexMolId ()
 
BBType getVertexMolType ()
 
int getApId ()
 
int getVrtSymSetId ()
 
int getApSymSetId ()
 
void setVrtSymSetId (int vSymSetId)
 
boolean sameFragAndAp (IdFragmentAndAP other)
 Compares this and another identifier considering solely the fragment ID in the type-specific fragment library, and the attachment point ID in that fragment. More...
 
String toString ()
 

Private Attributes

long vId = -1
 the ID of the vertex containing the fragment. More...
 
int molId = -1
 the index of the fragment in that library. More...
 
BBType molTyp = BBType.UNDEFINED
 the type of library containing the fragment. More...
 
int apId = -1
 the index of a specific attachment point. More...
 
int vSymSetId = -1
 the index of the symmetric set the vertex belongs to. More...
 
int apSymSetId = -1
 the index of the symmetric set the AP belongs to. More...
 

Detailed Description

Data structure containing information that identifies a single AP of a vertex/fragment.

Author
Marco Foscato

Definition at line 32 of file IdFragmentAndAP.java.

Constructor & Destructor Documentation

◆ IdFragmentAndAP() [1/2]

denoptim.fragspace.IdFragmentAndAP.IdFragmentAndAP ( )

Definition at line 66 of file IdFragmentAndAP.java.

◆ IdFragmentAndAP() [2/2]

denoptim.fragspace.IdFragmentAndAP.IdFragmentAndAP ( long  vIdx,
int  molId,
BBType  molTyp,
int  apId,
int  vSymSetId,
int  apSymSetId 
)

Member Function Documentation

◆ getApId()

int denoptim.fragspace.IdFragmentAndAP.getApId ( )

◆ getApSymSetId()

int denoptim.fragspace.IdFragmentAndAP.getApSymSetId ( )

◆ getVertexId()

long denoptim.fragspace.IdFragmentAndAP.getVertexId ( )

Definition at line 85 of file IdFragmentAndAP.java.

References denoptim.fragspace.IdFragmentAndAP.vId.

Referenced by denoptim.combinatorial.GraphBuildingTask.call().

Here is the caller graph for this function:

◆ getVertexMolId()

int denoptim.fragspace.IdFragmentAndAP.getVertexMolId ( )

◆ getVertexMolType()

BBType denoptim.fragspace.IdFragmentAndAP.getVertexMolType ( )

◆ getVrtSymSetId()

int denoptim.fragspace.IdFragmentAndAP.getVrtSymSetId ( )

Definition at line 113 of file IdFragmentAndAP.java.

References denoptim.fragspace.IdFragmentAndAP.vSymSetId.

Referenced by denoptim.combinatorial.GraphBuildingTask.call(), and denoptim.fragspace.FragsCombinationIterator.next().

Here is the caller graph for this function:

◆ sameFragAndAp()

boolean denoptim.fragspace.IdFragmentAndAP.sameFragAndAp ( IdFragmentAndAP  other)

Compares this and another identifier considering solely the fragment ID in the type-specific fragment library, and the attachment point ID in that fragment.

Parameters
otherthe other identified to be compared with this.
Returns
true if this and the other identify the same fragment and AP ID.

Definition at line 142 of file IdFragmentAndAP.java.

References denoptim.fragspace.IdFragmentAndAP.getApId(), denoptim.fragspace.IdFragmentAndAP.getVertexMolId(), and denoptim.fragspace.IdFragmentAndAP.getVertexMolType().

Here is the call graph for this function:

◆ setVrtSymSetId()

void denoptim.fragspace.IdFragmentAndAP.setVrtSymSetId ( int  vSymSetId)

Definition at line 127 of file IdFragmentAndAP.java.

References denoptim.fragspace.IdFragmentAndAP.vSymSetId.

Referenced by denoptim.fragspace.FragsCombinationIterator.next().

Here is the caller graph for this function:

◆ toString()

Member Data Documentation

◆ apId

int denoptim.fragspace.IdFragmentAndAP.apId = -1
private

◆ apSymSetId

int denoptim.fragspace.IdFragmentAndAP.apSymSetId = -1
private

◆ molId

int denoptim.fragspace.IdFragmentAndAP.molId = -1
private

◆ molTyp

BBType denoptim.fragspace.IdFragmentAndAP.molTyp = BBType.UNDEFINED
private

◆ vId

long denoptim.fragspace.IdFragmentAndAP.vId = -1
private

the ID of the vertex containing the fragment.

Definition at line 37 of file IdFragmentAndAP.java.

Referenced by denoptim.fragspace.IdFragmentAndAP.getVertexId(), and denoptim.fragspace.IdFragmentAndAP.toString().

◆ vSymSetId

int denoptim.fragspace.IdFragmentAndAP.vSymSetId = -1
private

The documentation for this class was generated from the following file: