|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MergeSubmolecules
This takes two molecules and merges them. This assumes that they are within a molecule each and the merging is usually done bottom-up (nodes first) and that the first molecule subsumes the second. Molecule subsumption does not require all properties to be subsumed but merely that there are the same or greater number of unique blank nodes as subjects.
| Method Summary | |
|---|---|
Molecule |
merge(Molecule molecule1,
Molecule molecule2)
Merge two molecules together. |
Molecule |
merge(Triple triple,
Molecule molecule1,
Molecule molecule2)
Merge two molecules together which share a head triple. |
| Method Detail |
|---|
Molecule merge(Molecule molecule1,
Molecule molecule2)
molecule1 - this is the molecule which subsumes the second.molecule2 - the molecule to be merged (it may contain additional properties).
Molecule merge(Triple triple,
Molecule molecule1,
Molecule molecule2)
triple - the shared triple across both molecules.molecule1 - this is the molecule which subsumes the second.molecule2 - the molecule to be merged (it may contain additional properties).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||