Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
de.jstacs.data.WrongLengthException

Packages that use WrongLengthException
de.jstacs.data | Provides classes for the representation of data.

Uses of WrongLengthException in de.jstacs.data

Methods in de.jstacs.data that throw WrongLengthException
`int` | `Sample.getNumberOfElementsWithLength(int len)` Returns the number of overlapping elements that can be extracted.
`Sample[]` | `Sample.partition(double p, Sample.PartitionMethod method, int subsequenceLength)` This method partitions the elements of the sample in `2` distinct parts.
`static Sample` | `Sample.union(Sample[] s, boolean[] in, int subsequenceLength)` This method unites all Sample from `s` regarding `in` and sets the element length in the united sample to `subsequenceLength`.
`static Sample` | `Sample.union(Sample[] s, int subsequenceLength)` This method unites all Sample from `s` and sets the element length in the united sample to `subsequenceLength`.

Constructors in de.jstacs.data that throw WrongLengthException
`Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample... data)` This constructor creates a `Sample.WeightedSampleFactory` on the given `Sample`(s).
`Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample[] data, double[][] weights, int length)` This constructor creates a `Sample.WeightedSampleFactory` on the given array of `Sample`s and `weights`.
`Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample data, double[] weights)` This constructor creates a `Sample.WeightedSampleFactory` on the given `Sample` and `weights`.
`Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample data, double[] weights, int length)` This constructor creates a `Sample.WeightedSampleFactory` on the given `Sample` and `weights`.
`Sample(AlphabetContainer abc, StringExtractor se)` Creates a Sample from a StringExctractor using the given AlphabetContainer.
`Sample(AlphabetContainer abc, StringExtractor se, int subsequenceLength)` Creates a Sample from a StringExctractor using the given AlphabetContainer and all overlapping windows of `subsequenceLength`.
`Sample(AlphabetContainer abc, StringExtractor se, String delim)` Creates a Sample from a StringExctractor using the given AlphabetContainer and delimiter.
`Sample(AlphabetContainer abc, StringExtractor se, String delim, int subsequenceLength)` Creates a Sample from a StringExctractor using the given AlphabetContainer, the given delimiter and all overlapping windows of `subsequenceLength`.
`Sample(Sample s, int subsequenceLength)` This constructor enables you to use subsequences of the elements of a sample.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES