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, setSize
public PathConstraint(String path)
path
- constructor String of PathAccessorpublic boolean satisfies(Match match, int... ind)
satisfies
in interface Constraint
satisfies
in class ConstraintAdapter
match
- current pattern matchind
- mapped indicespublic boolean canGenerate()
canGenerate
in interface Constraint
canGenerate
in class ConstraintAdapter
public Collection<BioPAXElement> generate(Match match, int... ind)
generate
in interface Constraint
generate
in class ConstraintAdapter
match
- current pattern matchind
- mapped indicesCopyright © 2015 BioPAX. All rights reserved.