public class Empty extends ConstraintAdapter
blacklist, size
Constructor and Description |
---|
Empty(Constraint con)
Constructor with the generative Constraint.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerate()
Cannot generate
|
int |
getVariableSize()
Variable size is one less than the wrapped Constraint.
|
boolean |
satisfies(Match match,
int... ind)
Checks if the wrapped Constraint can generate any elements.
|
assertIndLength, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, setSize
public Empty(Constraint con)
con
- the generative Constraintpublic int getVariableSize()
getVariableSize
in interface Constraint
getVariableSize
in class ConstraintAdapter
public boolean canGenerate()
canGenerate
in interface Constraint
canGenerate
in class ConstraintAdapter
public boolean satisfies(Match match, int... ind)
satisfies
in interface Constraint
satisfies
in class ConstraintAdapter
match
- current pattern matchind
- mapped indicesCopyright © 2015 BioPAX. All rights reserved.