MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / termToString

Function termToString

src/compute-engine/library/logic-analysis.ts:722–724  ·  view source on GitHub ↗

* Convert a QM term to a string for comparison/deduplication.

(term: QMTerm)

Source from the content-addressed store, hash-verified

720/**
721 * Represents a term in the Quine-McCluskey algorithm.
722 * Each position is 0 (false), 1 (true), or -1 (don't care).
723 */
724type QMTerm = number[];
725
726/**
727 * Convert an integer minterm to a QM term representation.

Callers 1

quineMcCluskeyFunction · 0.85

Calls 2

mapMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected