$darkmode
DENOPTIM
denoptim.programs.ParameterKey< T >.Parser< T > Interface Template Reference

Turns the text that follows a keyword into a stored value. More...

Public Member Functions

T parse (RunTimeParameters owner, T current, String value) throws DENOPTIMException
 

Detailed Description

Turns the text that follows a keyword into a stored value.

Parameters
<T>the Java type of the stored value

Definition at line 45 of file ParameterKey.java.

Member Function Documentation

◆ parse()

T denoptim.programs.ParameterKey< T >.Parser< T >.parse ( RunTimeParameters  owner,
T  current,
String  value 
) throws DENOPTIMException
Parameters
ownerthe parameter group being configured
currentthe value already stored, or the default
valuethe text after the keyword, possibly empty
Returns
the value to store
Exceptions
DENOPTIMExceptionwhen the text cannot be interpreted

The documentation for this interface was generated from the following file: