Construct version 5.4.4
An agent based modeling framework
|
Inherits std::unordered_map< std::string, std::string >.
Public Member Functions | |
const std::string & | get_parameter (const std::string ¶meter_key) const |
Gets a parameter in the ParameterMap. More... | |
const std::string & dynet::ParameterMap::get_parameter | ( | const std::string & | parameter_key | ) | const |
Gets a parameter in the ParameterMap.
parameter_key | The key for the desired parameter. |
Example
Output:
param 1
Complexity
Constant.
Iterator validity
No changes.
Exception Safety
A dynet::could_not_find_parameter exception is thrown if the parameter key was not found in the data structure.