public class ModificationChangeConstraint extends ConstraintAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
ModificationChangeConstraint.Type |
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
featureSubstring
Partial names of the features to be considered.
|
protected ModificationChangeConstraint.Type |
type
Gain or loss?
|
blacklist, size| Constructor and Description |
|---|
ModificationChangeConstraint(ModificationChangeConstraint.Type type,
String... featureSubstring)
Constructor with the desired change and maps to activating and inactivating features.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
satisfies(Match match,
int... ind)
Checks the any of the changed modifications match to any of the desired modifications.
|
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, setSizeprotected String[] featureSubstring
protected ModificationChangeConstraint.Type type
public ModificationChangeConstraint(ModificationChangeConstraint.Type type, String... featureSubstring)
type - either gain, loss, or anyfeatureSubstring - partial names of the features desired to be changedpublic boolean satisfies(Match match, int... ind)
satisfies in interface Constraintsatisfies in class ConstraintAdaptermatch - current pattern matchind - mapped indicesCopyright © 2015 BioPAX. All rights reserved.