Created
July 21, 2012 15:52
-
-
Save johnmay/3156215 to your computer and use it in GitHub Desktop.
UniversalIsomorphismTester with custom a atom matcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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