foapy.binding
binding
Binding enumeration used to determinate the direction of interval extraction.
start = 1
To sequence start (left-to-right direction).
end = 2
To sequence end (right-to-left direction).
Examples:
See foapy.intervals() function for code examples using bindings.
b | a | b | c | b | |
---|---|---|---|---|---|
b | 1 | -> | 2 | -> | 2 |
a | -> | 2 | |||
c | -> | -> | -> | 4 | |
result | 1 | 2 | 2 | 4 | 2 |
b | a | b | c | b | |
---|---|---|---|---|---|
b | 2 | <- | 2 | <- | 1 |
a | 4 | <- | <- | <- | |
c | 2 | <- | |||
result | 2 | 4 | 2 | 2 | 1 |