Skip to content

Instantly share code, notes, and snippets.

@johnmay
Created July 21, 2012 15:52
Show Gist options
  • Select an option

  • Save johnmay/3156215 to your computer and use it in GitHub Desktop.

Select an option

Save johnmay/3156215 to your computer and use it in GitHub Desktop.
UniversalIsomorphismTester with custom a atom matcher
// creating the custom matcher
IAtomMatcher matcher = and(SymbolMatcher.class, ChargeMatcher.class);
if(UniversalIsomorphismTester.isIsomorph(container1, container2, matcher)){
// atoms match charge and symbol
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment