Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Apr 11, 2024
1 parent 25997fe commit 3144ef1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/parameter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,10 @@ end
"""
node_id: node ID of the DiscreteControl node; these are not unique but repeated
by the amount of conditions of this DiscreteControl node
listen_node_id: the ID of the node being condition on
variable: the name of the variable in the condition
listen_node_id: the IDs of the nodes being condition on
variable: the names of the variables in the condition
weight: the weight of the variables in the condition
look_ahead: the look ahead of variables in the condition in seconds
greater_than: The threshold value in the condition
condition_value: The current value of each condition
control_state: Dictionary: node ID => (control state, control state start)
Expand Down
4 changes: 4 additions & 0 deletions core/src/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ function Basin(db::DB, config::Config, chunk_sizes::Vector{Int})::Basin
)
end

"""
Parse compound variables from the compound variable table, and turn
variables in the condition table into trivial compound variables
"""
function get_compound_variables(compound_variable, condition)
listen_node_id = Vector{NodeID}[]
variable = Vector{String}[]
Expand Down

0 comments on commit 3144ef1

Please sign in to comment.