Interface: SolveFlowNetworkResponse
@kortexya/reasoninglayer / FlowNetworks / SolveFlowNetworkResponse
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
algorithm
algorithm:
FlowAlgorithm
Defined in: src/types/flow-networks.ts:183
Echo of the algorithm dispatched.
classifications?
optionalclassifications:EdgeClassification[] |null
Defined in: src/types/flow-networks.ts:191
Per-edge classification (classify_* algorithms only).
edgeFlows
edgeFlows:
EdgeFlow[]
Defined in: src/types/flow-networks.ts:185
Per-edge flow snapshot.
minCut?
optionalminCut:MinCutReport|null
Defined in: src/types/flow-networks.ts:193
Min-cut partition (min_cut algorithm only).
totalCost?
optionaltotalCost:number|null
Defined in: src/types/flow-networks.ts:189
Total cost of the realised flow (mcmf only).
totalFlow?
optionaltotalFlow:number|null
Defined in: src/types/flow-networks.ts:187
Total flow source → sink (max-flow / mcmf / min-cut).