public class InteractionPerturbation extends Object implements LogicalModelPerturbation
| Modifier and Type | Field and Description |
|---|---|
NodeInfo |
regulator |
int |
regValue |
NodeInfo |
target |
| Constructor and Description |
|---|
InteractionPerturbation(NodeInfo regulator,
NodeInfo target,
int regValue) |
| 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 int regValue
public final NodeInfo target
public final NodeInfo regulator
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.