public class ConversionSide extends ConstraintAdapter
Modifier and Type | Class and Description |
---|---|
static class |
ConversionSide.Type
This enum tells if the user want to traverse towards other side of the conversion or stay at
the same side.
|
blacklist, size
Constructor and Description |
---|
ConversionSide(ConversionSide.Type type)
Constructor.
|
ConversionSide(ConversionSide.Type type,
Blacklist blacklist,
RelType relType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerate()
This is a generative constraint.
|
Collection<BioPAXElement> |
generate(Match match,
int... ind)
Checks which side is the first PhysicalEntity, and gathers participants on either the other
side or the same side.
|
assertIndLength, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, getVariableSize, satisfies, setSize
public ConversionSide(ConversionSide.Type type)
type
- side type (same side or the other)public ConversionSide(ConversionSide.Type type, Blacklist blacklist, RelType relType)
type
- side typeblacklist
- blacklist of ubiquitous moleculesrelType
- relationship type (used together with and during blacklisting)public 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.