- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, Freezable<AST>
public class ASTNumList
extends ASTParameter
A collection of base/stride/cnts.
Syntax: { {num | num:cnt | num:cnt:stride},* }
The bases can be unordered with dups (often used for column selection where
repeated columns are allowed, and order matters). The _isList flag tracks
that all cnts are 1 (and hence all strides are ignored and 1); these lists
may or may not be sorted. Note that some column selection is dense
(typical all-columns is: {0:MAX_INT}), and this has cnt>1.
When cnts are > 1, bases must be sorted, with base+stride*cnt always less
than the next base. Typical use-case might be a list of probabilities for
computing quantiles, or grid-search parameters.
Asking for a sorted integer expansion will sort the bases internally, and
also demand no overlap between bases. The has(), min() and max() calls
require a sorted list.
- See Also:
- Serialized Form