Skip to content

Commit

Permalink
Update doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelCourtney committed Sep 14, 2024
1 parent 7df33a9 commit 268cc46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,11 @@ interface Plan {
/** Queries all activity directives, deserializing them as [AnyDirective]. **/
fun directives() = directives(null, AnyDirective.deserializer())

/**
* Query a resource profile from the external datasets associated with this plan.
*
* @param deserializer constructor of the profile, converting [SerializedValue]
* @param name string name of the resource
*/
fun <V: Any, TL: SerialSegmentOps<V, TL>> resource(name: String, deserializer: (List<Segment<SerializedValue>>) -> TL): TL
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface SimulationResults {
fun simBounds(): Interval

/**
* Query a resource profile from the database
* Query a resource profile from this simulation dataset.
*
* @param deserializer constructor of the profile, converting [SerializedValue]
* @param name string name of the resource
Expand Down

0 comments on commit 268cc46

Please sign in to comment.