public class PathConstraint extends ConstraintAdapter
blacklist, size| Constructor and Description |
|---|
PathConstraint(String path)
Constructor with the constructor String of PathAccessor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerate()
This is a generative constraint.
|
Collection<BioPAXElement> |
generate(Match match,
int... ind)
Uses the encapsulated PAthAccessor to generate satisfying elements.
|
boolean |
satisfies(Match match,
int... ind)
Checks if the PathAccessor is generating the second mapped element.
|
assertIndLength, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, setSizepublic PathConstraint(String path)
path - constructor String of PathAccessorpublic boolean satisfies(Match match, int... ind)
satisfies in interface Constraintsatisfies in class ConstraintAdaptermatch - current pattern matchind - mapped indicespublic boolean canGenerate()
canGenerate in interface ConstraintcanGenerate in class ConstraintAdapterpublic Collection<BioPAXElement> generate(Match match, int... ind)
generate in interface Constraintgenerate in class ConstraintAdaptermatch - current pattern matchind - mapped indicesCopyright © 2017 BioPAX. All rights reserved.