public interface Constraint
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerate()
Tells if this constraint is a generative constraint.
|
Collection<BioPAXElement> |
generate(Match match,
int... ind)
Generates candidate values for the variable to be generated.
|
int |
getVariableSize()
Number of variables to check consistency.
|
boolean |
satisfies(Match match,
int... ind)
Checks if the variables in the Match satisfies this constraint.
|
boolean satisfies(Match match, int... ind)
match
- current pattern matchind
- mapped indices of the matchint getVariableSize()
boolean canGenerate()
Collection<BioPAXElement> generate(Match match, int... ind)
match
- current pattern matchind
- mapped indicesCopyright © 2015 BioPAX. All rights reserved.