public interface LogicalModelPerturbation
| Modifier and Type | Method and Description |
|---|---|
boolean |
affectsNode(NodeInfo node)
Test if the perturbation affects the function of a specific node
|
default LogicalModel |
apply(LogicalModel model)
Apply the perturbation.
|
String |
getStringRepresentation() |
void |
restrictValues(byte[] state,
List<NodeInfo> components)
Apply the perturbation(s) directly to a state, i.e., restricts the values
of the state in the valid range of the perturbation(s).
|
void |
update(LogicalModel model)
Apply the perturbation to a model directly (do not create a modified model).
|
void restrictValues(byte[] state,
List<NodeInfo> components)
state - the state to be restrictedcomponents - the ordered list of components in the statevoid update(LogicalModel model)
model - the modified modelboolean affectsNode(NodeInfo node)
node - a component of the modeldefault LogicalModel apply(LogicalModel model)
model - the model to modifyString getStringRepresentation()
Copyright © 2012–2020. All rights reserved.