|
libmsnumpress
Numerical compression schemes for proteomics mass spectrometry data
|
#include "MSNumpress.hpp"#include <assert.h>#include <iostream>#include <cmath>#include <cstdlib>#include <stdio.h>
Go to the source code of this file.
Functions | |
| void | encodeLinear1 () |
| void | encodeLinear () |
| void | decodeLinearNice () |
| void | decodeLinearNiceLowFP () |
| void | decodeLinearWierd () |
| void | decodeLinearWierd_llong_overflow () |
| void | decodeLinearWierd_int_overflow () |
| void | decodeLinearWierd_int_underflow () |
| void | decodeLinearCorrupt1 () |
| void | decodeLinearCorrupt2 () |
| void | optimalLinearFixedPoint () |
| void | optimalLinearFixedPointMass () |
| void | encodeDecodeLinearStraight () |
| void | encodeDecodeSafeStraight () |
| void | encodeDecodeSafe () |
| void | encodeDecodeLinear () |
| void | encodeDecodeLinear5 () |
| void | encodeDecodePic () |
| void | encodeDecodePic5 () |
| void | optimalSlofFixedPoint () |
| void | encodeDecodeSlof () |
| void | encodeDecodeSlof5 () |
| void | testErroneousDecodePic () |
| int | main (int argc, const char *argv[]) |
Variables | |
| double | ENC_TWO_BYTE_FIXED_POINT = 3000.0 |
| void decodeLinearCorrupt1 | ( | ) |
Definition at line 279 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear().
Referenced by main().


| void decodeLinearCorrupt2 | ( | ) |
Definition at line 303 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void decodeLinearNice | ( | ) |
Definition at line 86 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void decodeLinearNiceLowFP | ( | ) |
Definition at line 111 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPointMass().
Referenced by main().


| void decodeLinearWierd | ( | ) |
Definition at line 192 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void decodeLinearWierd_int_overflow | ( | ) |
Definition at line 237 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::encodeLinear().

| void decodeLinearWierd_int_underflow | ( | ) |
Definition at line 258 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::encodeLinear().

| void decodeLinearWierd_llong_overflow | ( | ) |
Definition at line 216 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::encodeLinear().

| void encodeDecodeLinear | ( | ) |
Definition at line 475 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void encodeDecodeLinear5 | ( | ) |
Definition at line 513 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void encodeDecodeLinearStraight | ( | ) |
Definition at line 370 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeLinear(), ms::numpress::MSNumpress::encodeLinear(), and ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void encodeDecodePic | ( | ) |
Definition at line 557 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodePic(), and ms::numpress::MSNumpress::encodePic().
Referenced by main().


| void encodeDecodePic5 | ( | ) |
Definition at line 581 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodePic(), and ms::numpress::MSNumpress::encodePic().
Referenced by main().


| void encodeDecodeSafe | ( | ) |
Definition at line 443 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeSafe(), and ms::numpress::MSNumpress::encodeSafe().
Referenced by main().


| void encodeDecodeSafeStraight | ( | ) |
Definition at line 405 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeSafe(), and ms::numpress::MSNumpress::encodeSafe().
Referenced by main().


| void encodeDecodeSlof | ( | ) |
Definition at line 638 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeSlof(), ms::numpress::MSNumpress::encodeSlof(), and ms::numpress::MSNumpress::optimalSlofFixedPoint().
Referenced by main().


| void encodeDecodeSlof5 | ( | ) |
Definition at line 689 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodeSlof(), ms::numpress::MSNumpress::encodeSlof(), and ms::numpress::MSNumpress::optimalSlofFixedPoint().
Referenced by main().


| void encodeLinear | ( | ) |
Definition at line 63 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::encodeLinear().
Referenced by main().


| void encodeLinear1 | ( | ) |
Definition at line 44 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::encodeLinear().
Referenced by main().


| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Definition at line 762 of file MSNumpressTest.cpp.
References decodeLinearCorrupt1(), decodeLinearCorrupt2(), decodeLinearNice(), decodeLinearNiceLowFP(), decodeLinearWierd(), encodeDecodeLinear(), encodeDecodeLinear5(), encodeDecodeLinearStraight(), encodeDecodePic(), encodeDecodePic5(), encodeDecodeSafe(), encodeDecodeSafeStraight(), encodeDecodeSlof(), encodeDecodeSlof5(), encodeLinear(), encodeLinear1(), optimalLinearFixedPoint(), optimalLinearFixedPointMass(), optimalSlofFixedPoint(), and testErroneousDecodePic().

| void optimalLinearFixedPoint | ( | ) |
Definition at line 331 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::optimalLinearFixedPoint().
Referenced by main().


| void optimalLinearFixedPointMass | ( | ) |
Definition at line 346 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::optimalLinearFixedPointMass().
Referenced by main().


| void optimalSlofFixedPoint | ( | ) |
Definition at line 623 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::optimalSlofFixedPoint().
Referenced by main().


| void testErroneousDecodePic | ( | ) |
Definition at line 736 of file MSNumpressTest.cpp.
References ms::numpress::MSNumpress::decodePic().
Referenced by main().


| double ENC_TWO_BYTE_FIXED_POINT = 3000.0 |
Definition at line 40 of file MSNumpressTest.cpp.
1.8.17