public interface Chirotope
FullChirotope
where the contract includes the alternating map.
This interface does not provide for an alternating map,
and it also counts from 0 rather than from 1.Modifier and Type | Method and Description |
---|---|
int |
chi(int... i)
This is only called when it has
rank() arguments, and they are
strictly monotonic increasing. |
int |
n()
The number of elements on which this Chirotope is defined
|
int |
rank()
Must be a positive integer, which is constant for each object
implementing this interface.
|
int chi(int... i)
rank()
arguments, and they are
strictly monotonic increasing. Implementations may return correct values
for arguments which are not strictly monotonic increasing but are not
required to.i
- an array of rank()
integers, between 0 and n()
-1.IllegalArgumentException
- If arguments are not strictly monotonic increasing, or the
wrong number, or out of range.which is not as restricted.
int rank()
int n()