$darkmode
DENOPTIM
denoptim.graph.RelatedAPPair Class Reference

Class representing a pair of AttachmentPoints related by some property that is defined by string. More...

Collaboration diagram for denoptim.graph.RelatedAPPair:
[legend]

Public Member Functions

 RelatedAPPair (AttachmentPoint apA, AttachmentPoint apB, Object property, String propID)
 Construct a new relation between two APs. More...
 
boolean equals (Object o)
 
String toString ()
 

Public Attributes

AttachmentPoint apA
 The first of the APs. More...
 
AttachmentPoint apB
 The second of the APs. More...
 
Object property
 The property defining the relation between the two APs. More...
 
String propID
 String-like version of the property for comparison purposes. More...
 

Detailed Description

Class representing a pair of AttachmentPoints related by some property that is defined by string.

Definition at line 11 of file RelatedAPPair.java.

Constructor & Destructor Documentation

◆ RelatedAPPair()

denoptim.graph.RelatedAPPair.RelatedAPPair ( AttachmentPoint  apA,
AttachmentPoint  apB,
Object  property,
String  propID 
)

Construct a new relation between two APs.

Parameters
apAThe first of the APs.
apBThe second of the APs.
propertythe string identifying the property putting in relation the two APS.

Definition at line 43 of file RelatedAPPair.java.

References denoptim.graph.RelatedAPPair.apA, denoptim.graph.RelatedAPPair.apB, denoptim.graph.RelatedAPPair.property, and denoptim.graph.RelatedAPPair.propID.

Referenced by denoptim.graph.RelatedAPPair.equals().

Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean denoptim.graph.RelatedAPPair.equals ( Object  o)

Definition at line 55 of file RelatedAPPair.java.

References denoptim.graph.RelatedAPPair.apA, denoptim.graph.RelatedAPPair.apB, denoptim.graph.RelatedAPPair.equals(), denoptim.graph.RelatedAPPair.property, denoptim.graph.RelatedAPPair.propID, and denoptim.graph.RelatedAPPair.RelatedAPPair().

Referenced by denoptim.graph.RelatedAPPair.equals(), and denoptim.graph.RelatedAPPairTest.testEquals().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

String denoptim.graph.RelatedAPPair.toString ( )

Definition at line 83 of file RelatedAPPair.java.

References denoptim.graph.RelatedAPPair.apA, denoptim.graph.RelatedAPPair.apB, denoptim.graph.AttachmentPoint.getAtomPositionNumber(), denoptim.graph.AttachmentPoint.getID(), and denoptim.graph.RelatedAPPair.property.

Here is the call graph for this function:

Member Data Documentation

◆ apA

◆ apB

◆ property

Object denoptim.graph.RelatedAPPair.property

The property defining the relation between the two APs.

Definition at line 26 of file RelatedAPPair.java.

Referenced by denoptim.graph.RelatedAPPair.equals(), denoptim.graph.RelatedAPPair.RelatedAPPair(), and denoptim.graph.RelatedAPPair.toString().

◆ propID

String denoptim.graph.RelatedAPPair.propID

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