java.lang.Object
org.openscience.cdk.isomorphism.mcss.RNode

public class RNode extends Object
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 Details

    • RNode

      public RNode(int id1, int id2)
      Constructor for the RNode object.
      Parameters:
      id1 - number of the bond in the graph 1
      id2 - number of the bond in the graph 2
  • Method Details

    • setRMap

      public void setRMap(RMap rMap)
      Sets the rMap attribute of the RNode object.
      Parameters:
      rMap - The new rMap value
    • setExtension

      public void setExtension(BitSet extension)
      Sets the extension attribute of the RNode object.
      Parameters:
      extension - The new extension value
    • setForbidden

      public void setForbidden(BitSet forbidden)
      Sets the forbidden attribute of the RNode object.
      Parameters:
      forbidden - The new forbidden value
    • getRMap

      public RMap getRMap()
      Gets the rMap attribute of the RNode object.
      Returns:
      The rMap value
    • getExtension

      public BitSet getExtension()
      Gets the extension attribute of the RNode object.
      Returns:
      The extension value
    • getForbidden

      public BitSet getForbidden()
      Gets the forbidden attribute of the RNode object.
      Returns:
      The forbidden value
    • toString

      public String toString()
      Returns a string representation of the RNode.
      Overrides:
      toString in class Object
      Returns:
      the string representation of the RNode