org.jrdf.graph.global.molecule
Interface MoleculeSubsumption
- All Known Implementing Classes:
- MoleculeSubsumptionImpl
public interface MoleculeSubsumption
Allows the determination of whether a molecule subsumes (has the same or greater number of submolecule with the same
linking triples).
- Version:
- $Id: MoleculeSubsumption.java 2894 2009-01-27 21:25:13Z newmana $
- Author:
- Andrew Newman
|
Method Summary |
boolean |
subsumes(Molecule molecule1,
Molecule molecule2)
Returns true if the first molecule subsumes the second. |
subsumes
boolean subsumes(Molecule molecule1,
Molecule molecule2)
- Returns true if the first molecule subsumes the second. If true indicates that molecule 1 can be safely
merged with molecule 2.
- Parameters:
molecule1 - the first molecule to compare.molecule2 - the second molecule to compare.
- Returns:
- true if molecule1 subsumes molecule2.