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, setSize
protected 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 Constraint
satisfies
in class ConstraintAdapter
match
- current pattern matchind
- mapped indicesCopyright © 2015 BioPAX. All rights reserved.