SimulationResults

An interface for querying plan information and simulation results.

Functions

Link copied to clipboard

Queries all activity instances, deserializing them as AnyInstance.

Queries activity instances, filtered by type, deserializing them as AnyInstance.

abstract fun <A : Any> instances(type: String?, deserializer: (SerializedValue) -> A): Instances<A>

Query activity instances.

Link copied to clipboard
abstract fun isStale(): Boolean

Whether these results are up-to-date with all changes.

Link copied to clipboard
abstract fun <V : Any, TL : SerialSegmentOps<V, TL>> resource(name: String, deserializer: (List<Segment<SerializedValue>>) -> TL): TL

Query a resource profile from this simulation dataset.

Link copied to clipboard
abstract fun simBounds(): Interval

Bounds on which the plan was most recently simulated.