Interface: TemporalPlanResponse
@kortexya/reasoninglayer / TemporalPlanResponse
Interface: TemporalPlanResponse
Section titled “Interface: TemporalPlanResponse”Defined in: src/types/reasoning.ts:435
Response from temporal planning with diversity constraints.
Properties
Section titled “Properties”candidatesCount
Section titled “candidatesCount”candidatesCount:
number
Defined in: src/types/reasoning.ts:437
Number of candidates evaluated.
computationTimeMs
Section titled “computationTimeMs”computationTimeMs:
number
Defined in: src/types/reasoning.ts:439
Computation time in milliseconds.
diversityScore?
Section titled “diversityScore?”
optionaldiversityScore?:number
Defined in: src/types/reasoning.ts:447
Diversity score (0.0 to 1.0, higher is more diverse): the fraction of the
numSelections × |noRepeatFields| slots holding a distinct value.
Absent when the request named no noRepeatFields. A plan with no
diversity objective has no diversity score; it is never reported as 0.
proximityScore?
Section titled “proximityScore?”
optionalproximityScore?:number|null
Defined in: src/types/reasoning.ts:449
Proximity score (0.0 to 1.0), if proximity was requested.
selectedTermIds
Section titled “selectedTermIds”selectedTermIds:
string[]
Defined in: src/types/reasoning.ts:451
Selected term IDs in temporal order.