Class NOT
java.lang.Object
org.biopax.paxtools.pattern.constraint.ConstraintAdapter
org.biopax.paxtools.pattern.constraint.NOT
- All Implemented Interfaces:
Constraint
Negation of a constraint. This is not generative.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.pattern.constraint.ConstraintAdapter
blacklist, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintSize is equal to the of the negated constraintbooleanNegates the satisfies value of the wrapped constraint.Methods inherited from class org.biopax.paxtools.pattern.constraint.ConstraintAdapter
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, setSize
-
Constructor Details
-
NOT
Constructor with the wrapped constraint.- Parameters:
con- constraint to negate
-
-
Method Details
-
getVariableSize
public int getVariableSize()Size is equal to the of the negated constraint- Specified by:
getVariableSizein interfaceConstraint- Overrides:
getVariableSizein classConstraintAdapter- Returns:
- size of the wrapped constraint
-
satisfies
Negates the satisfies value of the wrapped constraint.- Specified by:
satisfiesin interfaceConstraint- Overrides:
satisfiesin classConstraintAdapter- Parameters:
match- current pattern matchind- mapped indices- Returns:
- negated value
-