Class RNode
- 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 Summary
Constructors Constructor Description RNode(int id1, int id2)
Constructor for the RNode object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitSet
getExtension()
Gets the extension attribute of the RNode object.BitSet
getForbidden()
Gets the forbidden attribute of the RNode object.RMap
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
setRMap(RMap rMap)
Sets the rMap attribute of the RNode object.String
toString()
Returns a string representation of the RNode.
-
-
-
Method Detail
-
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
-
-