Skip to content

Interface: GFlowNetSampleResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ILP / GFlowNetSampleResponse

Interface: GFlowNetSampleResponse

Defined in: src/types/ilp.ts:172

Response from GFlowNet hypothesis sampling.

Properties

error?

optional error: string | null

Defined in: src/types/ilp.ts:174

Error message if sampling failed.


hypotheses

hypotheses: SampledHypothesisDto[]

Defined in: src/types/ilp.ts:176

Sampled hypotheses with body sorts as names.


joinedCount

joinedCount: number

Defined in: src/types/ilp.ts:178

Number of hypotheses produced by rule joining.


maskedCount

maskedCount: number

Defined in: src/types/ilp.ts:180

Number of hypotheses masked by constraints.


neuralGuideAvailable

neuralGuideAvailable: boolean

Defined in: src/types/ilp.ts:182

Whether a neural guide was available.


processingTimeMs

processingTimeMs: number

Defined in: src/types/ilp.ts:184

Processing time in milliseconds.


success

success: boolean

Defined in: src/types/ilp.ts:186

Whether sampling succeeded.


totalSampled

totalSampled: number

Defined in: src/types/ilp.ts:188

Total number of hypotheses sampled.