public class Size extends ConstraintAdapter
Modifier and Type | Class and Description |
---|---|
static class |
Size.Type
Type of the (in)equality.
|
blacklist
Constructor and Description |
---|
Size(Constraint con,
int size,
Size.Type type)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getVariableSize()
Size is one less than the size of wrapped constraint.
|
boolean |
satisfies(Match match,
int... ind)
Checks if generated element size is in limits.
|
assertIndLength, canGenerate, convertStepDirection, findDirectionInCatalysis, findDirectionInPathways, generate, getCatalysisDirection, getControlChain, getConvParticipants, getDirection, getDirection, getDirection, getDirection, setSize
public Size(Constraint con, int size, Size.Type type)
con
- wrapped generative constraintsize
- size thresholdtype
- type of (in)equalitypublic int getVariableSize()
getVariableSize
in interface Constraint
getVariableSize
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.