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

Method costFunction

src/compute-engine/index.ts:1078–1080  ·  view source on GitHub ↗

* The cost function is used to determine the "cost" of an expression. For example, when simplifying an expression, the simplification that results in the lowest cost is chosen.

()

Source from the content-addressed store, hash-verified

1076 semanticVersion: number;
1077 objectStoreEpoch: number;
1078 deps: unknown;
1079 results: Map<string, Expression>;
1080 }
1081 >
1082 | undefined = undefined;
1083

Callers 5

simplify-rules.tsFile · 0.80
costFnFunction · 0.80
isCheaperFunction · 0.80
orientEntryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected