$darkmode
DENOPTIM
|
Compare two ConnectedLigand according to the number of connected atoms and the mass number. More...
Public Member Functions | |
int | compare (ConnectedLigand a, ConnectedLigand b) |
Compare two ConnectedLigand according to the number of connected atoms and the mass number.
Dummy atoms are prioritized if they have only one connected neighbour
Definition at line 30 of file ConnectedLigandComparator.java.
int denoptim.utils.ConnectedLigandComparator.compare | ( | ConnectedLigand | a, |
ConnectedLigand | b | ||
) |
Definition at line 34 of file ConnectedLigandComparator.java.
References denoptim.utils.ConnectedLigand.getAtom(), denoptim.utils.ConnectedLigand.getConnections(), and denoptim.utils.ConnectedLigand.isDummy().