Interface: SolveFlowNetworkResponse
@kortexya/reasoninglayer / SolveFlowNetworkResponse
Interface: SolveFlowNetworkResponse
Section titled “Interface: SolveFlowNetworkResponse”Defined in: src/types/flow-networks.ts:181
Solver output. Fields irrelevant to the chosen algorithm are
undefined (the backend omits them via skip_serializing_if).
Properties
Section titled “Properties”algorithm
Section titled “algorithm”algorithm:
FlowAlgorithm
Defined in: src/types/flow-networks.ts:183
Echo of the algorithm dispatched.
classifications?
Section titled “classifications?”
optionalclassifications?:EdgeClassification[] |null
Defined in: src/types/flow-networks.ts:191
Per-edge classification (classify_* algorithms only).
edgeFlows
Section titled “edgeFlows”edgeFlows:
EdgeFlow[]
Defined in: src/types/flow-networks.ts:185
Per-edge flow snapshot.
minCut?
Section titled “minCut?”
optionalminCut?:MinCutReport|null
Defined in: src/types/flow-networks.ts:193
Min-cut partition (min_cut algorithm only).
totalCost?
Section titled “totalCost?”
optionaltotalCost?:number|null
Defined in: src/types/flow-networks.ts:189
Total cost of the realised flow (mcmf only).
totalFlow?
Section titled “totalFlow?”
optionaltotalFlow?:number|null
Defined in: src/types/flow-networks.ts:187
Total flow source → sink (max-flow / mcmf / min-cut).