Class RNode
java.lang.Object
org.openscience.cdk.isomorphism.mcss.RNode
Node of the resolution graph (RGraph) An RNode represents an association
between two edges of the source graphs G1 and G2 that are compared. Two
edges may be associated if they have at least one common feature. The
association is defined outside this class. The node keeps tracks of the ID
of the mapped edges (in an RMap), of its neighbours in the RGraph it belongs
to and of the set of incompatible nodes (nodes that may not be along with
this node in the same solution)
- Author:
- Stephane Werner from IXELIS mail@ixelis.net
- Source code:
- main
- Belongs to CDK module:
- standard
- Created on:
- 2002-07-17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the extension attribute of the RNode object.Gets the forbidden attribute of the RNode object.getRMap()
Gets the rMap attribute of the RNode object.void
setExtension
(BitSet extension) Sets the extension attribute of the RNode object.void
setForbidden
(BitSet forbidden) Sets the forbidden attribute of the RNode object.void
Sets the rMap attribute of the RNode object.toString()
Returns a string representation of the RNode.
-
Constructor Details
-
RNode
public RNode(int id1, int id2) Constructor for the RNode object.- Parameters:
id1
- number of the bond in the graph 1id2
- number of the bond in the graph 2
-
-
Method Details
-
setRMap
Sets the rMap attribute of the RNode object.- Parameters:
rMap
- The new rMap value
-
setExtension
Sets the extension attribute of the RNode object.- Parameters:
extension
- The new extension value
-
setForbidden
Sets the forbidden attribute of the RNode object.- Parameters:
forbidden
- The new forbidden value
-
getRMap
Gets the rMap attribute of the RNode object.- Returns:
- The rMap value
-
getExtension
Gets the extension attribute of the RNode object.- Returns:
- The extension value
-
getForbidden
Gets the forbidden attribute of the RNode object.- Returns:
- The forbidden value
-
toString
Returns a string representation of the RNode.
-