@skenvy/collatz
Version:
Functions related to the Collatz/Syracuse/3N+1 problem, implemented in JavaScript.
36 lines (35 loc) • 3.42 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.treeGraph = exports.TreeGraph = exports.TreeGraphNode = exports.stoppingTime = exports.hailstoneSequence = exports.HailstoneSequence = exports.reverseFunction = exports.collatzFunction = exports.assertSaneParameterisation = exports.FailedSaneParameterCheck = exports.SaneParameterErrMsg = exports.SequenceState = exports.VERIFIED_MINIMUM = exports.VERIFIED_MAXIMUM = exports.KNOWN_CYCLES = void 0;
const utilities_js_1 = require("./utilities.js");
Object.defineProperty(exports, "KNOWN_CYCLES", { enumerable: true, get: function () { return utilities_js_1.KNOWN_CYCLES; } });
Object.defineProperty(exports, "VERIFIED_MAXIMUM", { enumerable: true, get: function () { return utilities_js_1.VERIFIED_MAXIMUM; } });
Object.defineProperty(exports, "VERIFIED_MINIMUM", { enumerable: true, get: function () { return utilities_js_1.VERIFIED_MINIMUM; } });
Object.defineProperty(exports, "SequenceState", { enumerable: true, get: function () { return utilities_js_1.SequenceState; } });
const FailedSaneParameterCheck_js_1 = require("./FailedSaneParameterCheck.js");
Object.defineProperty(exports, "SaneParameterErrMsg", { enumerable: true, get: function () { return FailedSaneParameterCheck_js_1.SaneParameterErrMsg; } });
Object.defineProperty(exports, "FailedSaneParameterCheck", { enumerable: true, get: function () { return FailedSaneParameterCheck_js_1.FailedSaneParameterCheck; } });
Object.defineProperty(exports, "assertSaneParameterisation", { enumerable: true, get: function () { return FailedSaneParameterCheck_js_1.assertSaneParameterisation; } });
const function_js_1 = require("./function.js");
Object.defineProperty(exports, "collatzFunction", { enumerable: true, get: function () { return function_js_1.collatzFunction; } });
Object.defineProperty(exports, "reverseFunction", { enumerable: true, get: function () { return function_js_1.reverseFunction; } });
const HailstoneSequence_js_1 = require("./HailstoneSequence.js");
Object.defineProperty(exports, "HailstoneSequence", { enumerable: true, get: function () { return HailstoneSequence_js_1.HailstoneSequence; } });
Object.defineProperty(exports, "hailstoneSequence", { enumerable: true, get: function () { return HailstoneSequence_js_1.hailstoneSequence; } });
const stoppingTime_js_1 = require("./stoppingTime.js");
Object.defineProperty(exports, "stoppingTime", { enumerable: true, get: function () { return stoppingTime_js_1.stoppingTime; } });
const TreeGraphNode_js_1 = require("./TreeGraphNode.js");
Object.defineProperty(exports, "TreeGraphNode", { enumerable: true, get: function () { return TreeGraphNode_js_1.TreeGraphNode; } });
const TreeGraph_js_1 = require("./TreeGraph.js");
Object.defineProperty(exports, "TreeGraph", { enumerable: true, get: function () { return TreeGraph_js_1.TreeGraph; } });
Object.defineProperty(exports, "treeGraph", { enumerable: true, get: function () { return TreeGraph_js_1.treeGraph; } });
exports.default = {
collatzFunction: function_js_1.collatzFunction,
reverseFunction: function_js_1.reverseFunction,
HailstoneSequence: HailstoneSequence_js_1.HailstoneSequence,
hailstoneSequence: HailstoneSequence_js_1.hailstoneSequence,
stoppingTime: stoppingTime_js_1.stoppingTime,
TreeGraphNode: TreeGraphNode_js_1.TreeGraphNode,
TreeGraph: TreeGraph_js_1.TreeGraph,
treeGraph: TreeGraph_js_1.treeGraph,
};