Skip to content

web-backend


Class: QuantifyController

Defined in: packages/web-backend/src/quantify/quantify.controller.ts:11

Controller for quantification endpoints. Provides routes to execute quantification using external solvers.

Constructors

Constructor

new QuantifyController(quantifyService): QuantifyController

Defined in: packages/web-backend/src/quantify/quantify.controller.ts:15

Parameters

quantifyService

QuantifyService

Service that performs quantification via external solver

Returns

QuantifyController

Methods

withScramBinary()

withScramBinary(req): Promise<QuantifyReport>

Defined in: packages/web-backend/src/quantify/quantify.controller.ts:27

Execute quantification using the SCRAM binary.

Accepts a full quantification request and delegates to the service which runs the external solver and returns a structured report.

Parameters

req

QuantifyRequest

Quantification request payload

Returns

Promise<QuantifyReport>

A quantification report generated by the solver