public class ActivityModificationChangeConstraint extends ConstraintAdapter
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
general
Some general modification sub-strings to use if exact terms are not conclusive.
|
blacklist, size| Constructor and Description |
|---|
ActivityModificationChangeConstraint(boolean activating,
Map<EntityReference,Set<ModificationFeature>> activityFeat,
Map<EntityReference,Set<ModificationFeature>> inactivityFeat)
Constructor with the desired change and maps to activating and inactivating features,
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<EntityReference,Set<String>> |
extractModifNames(Map mfMap)
Extracts the modification terms from the moficiation features.
|
protected Set<String> |
extractModifNames(Set mfSet)
Extracts terms of the modification features.
|
boolean |
satisfies(Match match,
int... ind)
Checks the gained and and lost features to predict the activity change is the desired change.
|
protected boolean |
setContainsGeneralTerm(Set<String> set,
String term)
Checks if any element in the set contains the term.
|
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, setSizeprotected static final String[] general
public ActivityModificationChangeConstraint(boolean activating,
Map<EntityReference,Set<ModificationFeature>> activityFeat,
Map<EntityReference,Set<ModificationFeature>> inactivityFeat)
activating - desired changeactivityFeat - map from EntityReference to the activating featuresinactivityFeat - map from EntityReference to the inactivating featurespublic boolean satisfies(Match match, int... ind)
satisfies in interface Constraintsatisfies in class ConstraintAdaptermatch - current pattern matchind - mapped indicesprotected Map<EntityReference,Set<String>> extractModifNames(Map mfMap)
mfMap - map for the featuresprotected Set<String> extractModifNames(Set mfSet)
mfSet - set of modification featuresCopyright © 2017 BioPAX. All rights reserved.