public class AgentParamState extends Object
Representation class to capture state of an agent which can be stored in a file.
Modifiers | Name | Description |
---|---|---|
class |
AgentParamState.ParamValues |
Representation class for param value index combination. |
Constructor and description |
---|
AgentParamState
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addParameter(Parameter param, int index, Object val) Adds the parameter and value to state. |
|
List<ParamValues> |
getParamValues() Gets all changed parameters value (state). |
|
void |
removeParameter(Parameter param) Removes parameter from the state. |
Adds the parameter and value to state.
param
- parameterindex
- index or channelval
- value of parameterGets all changed parameters value (state).
Removes parameter from the state.
param
- parameterCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd