net.sf.octet.model
Class BasicBondingSystem
java.lang.Object
net.sf.octet.model.AtomGraphDecorator
net.sf.octet.model.BasicBondingSystem
- All Implemented Interfaces:
- AtomCollection, AtomGraph, AtomPairCollection, BondingSystem
- public class BasicBondingSystem
- extends AtomGraphDecorator
- implements BondingSystem
A default implementation of the BondingSystem interface. Use BasicBondingSystem
in those situations calling for multi-atom bonding support.
- Author:
- Richard Apodaca
| Methods inherited from class net.sf.octet.model.AtomGraphDecorator |
containsAtom, containsAtomPair, containsAtomPair, countAtomPairs, countAtoms, countNeighbors, getAtom, getAtomIndex, getAtomPair, getAtomPair, getAtomPairIndex, iterateAtomPairs, iterateAtoms, iterateNeighbors, toAtomArray, toAtomPairArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicBondingSystem
public BasicBondingSystem(AtomGraph graph,
int bondingElectronCount,
int antibondingElectronCount)
BasicBondingSystem
public BasicBondingSystem(AtomPair pair,
int bondingElectronCount,
int antibondingElectronCount)
countAntibondingElectrons
public int countAntibondingElectrons()
- Description copied from interface:
BondingSystem
- Returns the number of antibonding electrons in this
BondingSystem.
- Specified by:
countAntibondingElectrons in interface BondingSystem
- Returns:
- the number of antibonding electrons in the specified
BondingSystem
countBondingElectrons
public int countBondingElectrons()
- Description copied from interface:
BondingSystem
- Returns the number of bonding electrons associated with this
BondingSystem.
- Specified by:
countBondingElectrons in interface BondingSystem
- Returns:
- the number of bonding electrons in the specified
BondingSystem