Skip to content

Interface: FlowEdgeOptions

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FlowEdgeOptions

Interface: FlowEdgeOptions

Defined in: src/builders/flow.ts:57

Optional per-edge attributes.

Properties

cost?

optional cost: number

Defined in: src/builders/flow.ts:63

Per-unit-flow cost. Defaults to 0. Only consulted by Flow.minCostMaxFlow.


flow?

optional flow: string

Defined in: src/builders/flow.ts:60

Output variable name (e.g., ?F_sa). If omitted, an auto-generated name is used and returned in vars.edgeFlows.


label?

optional label: string

Defined in: src/builders/flow.ts:65

Optional edge label. Surfaces in min-cut / classification outputs.