Package edu.duke.cs.osprey.plug
Class RCTuplePolytope
java.lang.Object
edu.duke.cs.osprey.plug.RCTuplePolytope
- All Implemented Interfaces:
Serializable
Polytope for a particular set of DOFs, representing the feasible region for an RC tuple
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRCTuplePolytope
(ArrayList<DegreeOfFreedom> DOFs, ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint> constr) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkDOFList
(ArrayList<DegreeOfFreedom> checkDOFs) boolean
containsPoint
(double[] pt) ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint>
getDOFs()
boolean
void
listClashes
(double[] pt) static ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint>
transferConstraints
(ArrayList<DegreeOfFreedom> oldDOFs, ArrayList<? extends DegreeOfFreedom> newDOFs, ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint> oldConstr)
-
Constructor Details
-
RCTuplePolytope
public RCTuplePolytope(ArrayList<DegreeOfFreedom> DOFs, ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint> constr)
-
-
Method Details
-
transferConstraints
public static ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint> transferConstraints(ArrayList<DegreeOfFreedom> oldDOFs, ArrayList<? extends DegreeOfFreedom> newDOFs, ArrayList<org.apache.commons.math3.optim.linear.LinearConstraint> oldConstr) -
checkDOFList
-
containsPoint
public boolean containsPoint(double[] pt) -
listClashes
public void listClashes(double[] pt) -
getConstr
-
hasNonBoxConstr
public boolean hasNonBoxConstr() -
getAtomPairNames
-
getDOFs
-