Skip to content

Commit

Permalink
Updated JavaDoc to explicitly state that g2 must be a substructure of g1
Browse files Browse the repository at this point in the history
Signed-off-by: Rajarshi  Guha <rajarshi.guha@gmail.com>
  • Loading branch information
egonw authored and rajarshi committed Mar 1, 2010
1 parent 3d18a73 commit 2660aca
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,12 @@ public static List<RMap> getSubgraphMap(IAtomContainer g1, IAtomContainer g2) t


/**
* Returns all subgraph 'atom mappings' found for g2 in g1.
* Returns all subgraph 'atom mappings' found for g2 in g1, where g2 must be a substructure
* of g1. If it is not a substructure, null will be returned.
* This is an {@link List} of {@link List}s of {@link RMap} objects.
*
* @param g1 first molecule. Must not be an {@link IQueryAtomContainer}.
* @param g2 second molecule. May be an {@link IQueryAtomContainer}.
* @param g2 substructure to be mapped. May be an {@link IQueryAtomContainer}.
* @return all subgraph atom mappings found projected on g1. This is a
* {@link List} of {@link RMap} objects containing Ids of matching atoms.
*/
Expand All @@ -296,10 +297,11 @@ public static List<List<RMap>> getSubgraphAtomsMaps(IAtomContainer g1,
}

/**
* Returns the first subgraph 'atom mapping' found for g2 in g1.
* Returns the first subgraph 'atom mapping' found for g2 in g1, where g2 must be a substructure
* of g1. If it is not a substructure, null will be returned.
*
* @param g1 first molecule. Must not be an {@link IQueryAtomContainer}.
* @param g2 second molecule. May be an {@link IQueryAtomContainer}.
* @param g2 substructure to be mapped. May be an {@link IQueryAtomContainer}.
* @return the first subgraph atom mapping found projected on g1.
* This is a {@link List} of {@link RMap} objects containing Ids of matching atoms.
*/
Expand Down

0 comments on commit 2660aca

Please sign in to comment.