Class RMap
java.lang.Object
org.openscience.cdk.isomorphism.mcss.RMap
An RMap implements the association between an edge (bond) in G1 and an edge
(bond) in G2, G1 and G2 being the compared graphs in a RGraph context.
- Author:
- Stephane Werner, IXELIS <mail@ixelis.net>
- Source code:
- main
- Belongs to CDK module:
- standard
- Created on:
- 2002-07-24
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The equals method.int
getId1()
Gets the id1 attribute of the RMap object.int
getId2()
Gets the id2 attribute of the RMap object.int
hashCode()
void
setId1
(int id1) Sets the id1 attribute of the RMap object.void
setId2
(int id2) Sets the id2 attribute of the RMap object.
-
Constructor Details
-
RMap
public RMap(int id1, int id2) Constructor for the RMap.- Parameters:
id1
- number of the edge (bond) in the graph 1id2
- number of the edge (bond) in the graph 2
-
-
Method Details
-
setId1
public void setId1(int id1) Sets the id1 attribute of the RMap object.- Parameters:
id1
- The new id1 value
-
setId2
public void setId2(int id2) Sets the id2 attribute of the RMap object.- Parameters:
id2
- The new id2 value
-
getId1
public int getId1()Gets the id1 attribute of the RMap object.- Returns:
- The id1 value
-
getId2
public int getId2()Gets the id2 attribute of the RMap object.- Returns:
- The id2 value
-
equals
The equals method. -
hashCode
public int hashCode()
-