Package ffx.algorithms.optimize.manybody
Class RotamerMatrixMove
java.lang.Object
ffx.algorithms.optimize.manybody.RotamerMatrixMove
- All Implemented Interfaces:
MCMove
This implements single-rotamer changes in the framework of the rotamer energy matrices.
-
Constructor Summary
ConstructorsConstructorDescriptionRotamerMatrixMove(boolean useAllElims, int[] rotamers, Residue[] residues, RotamerOptimization rotamerOptimization, EliminatedRotamers eliminatedRotamers, boolean monteCarloTesting) Constructs the RotamerMatrixMove set; at present, a new object must be made if rotamers or residues are changed outside the scope of this class. -
Method Summary
-
Constructor Details
-
RotamerMatrixMove
public RotamerMatrixMove(boolean useAllElims, int[] rotamers, Residue[] residues, RotamerOptimization rotamerOptimization, EliminatedRotamers eliminatedRotamers, boolean monteCarloTesting) Constructs the RotamerMatrixMove set; at present, a new object must be made if rotamers or residues are changed outside the scope of this class.- Parameters:
useAllElims- Use eliminated pair/triple info.rotamers- Initial rotamer set.residues- Array of residues.rotamerOptimization- RotamerOptimization instance.eliminatedRotamers- Eliminated rotamers instance.monteCarloTesting- True for MC testing.
-
-
Method Details
-
move
public void move()Description copied from interface:MCMovePerforms the move associated with this MCMove. -
revertMove
public void revertMove()Description copied from interface:MCMoveReverts the last applied move() call. Returns the same energy change as described above (with the same sign).- Specified by:
revertMovein interfaceMCMove
-
toString
-