public class MultiplePerturbation<P extends LogicalModelPerturbation> extends Object implements LogicalModelPerturbation
| Modifier and Type | Field and Description |
|---|---|
List<P> |
perturbations |
| Constructor and Description |
|---|
MultiplePerturbation(List<P> perturbations)
Create a multiple perturbation
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
affectsNode(NodeInfo node)
Test if the perturbation affects the function of a specific node
|
boolean |
equals(Object o) |
String |
getStringRepresentation() |
void |
restrictValues(byte[] state,
List<NodeInfo> nodeOrder)
Apply the perturbation(s) directly to a state, i.e., restricts the values
of the state in the valid range of the perturbation(s).
|
String |
toString() |
void |
update(LogicalModel model)
Apply the perturbation to a model directly (do not create a modified model).
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplypublic final List<P extends LogicalModelPerturbation> perturbations
public void restrictValues(byte[] state,
List<NodeInfo> nodeOrder)
LogicalModelPerturbationrestrictValues in interface LogicalModelPerturbationstate - the state to be restrictednodeOrder - the ordered list of components in the statepublic void update(LogicalModel model)
LogicalModelPerturbationupdate in interface LogicalModelPerturbationmodel - the modified modelpublic String getStringRepresentation()
getStringRepresentation in interface LogicalModelPerturbationpublic boolean affectsNode(NodeInfo node)
LogicalModelPerturbationaffectsNode in interface LogicalModelPerturbationnode - a component of the modelCopyright © 2012–2020. All rights reserved.