org.jactr.core.production.six
Class DefaultSubsymbolicProduction6
java.lang.Object
org.jactr.core.production.basic.BasicSubsymbolicProduction
org.jactr.core.production.six.DefaultSubsymbolicProduction6
- All Implemented Interfaces:
- ISubsymbolicProduction, ISubsymbolicProduction6, IParameterized
public class DefaultSubsymbolicProduction6
- extends BasicSubsymbolicProduction
- implements ISubsymbolicProduction6
|
Method Summary |
double |
getExpectedUtility()
return the computed expected utility |
java.lang.String |
getParameter(java.lang.String key)
Gets the parameter attribute of the DefaultSubsymbolicProduction5 object |
double |
getReward()
return the reward value associated with this production or Double.NaN if
there is no reward explicitly defined for this production |
java.util.Collection<java.lang.String> |
getSetableParameters()
Gets the setableParameters attribute of the DefaultSubsymbolicProduction5
object |
double |
getUtility()
return the predefined utility of the production |
void |
setExpectedUtility(double utility)
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Sets the parameter attribute of the DefaultSubsymbolicProduction5 object |
void |
setReward(double reward)
|
void |
setUtility(double utility)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSubsymbolicProduction6
public DefaultSubsymbolicProduction6(IProduction parent,
IModel model)
getExpectedUtility
public double getExpectedUtility()
- Description copied from interface:
ISubsymbolicProduction6
- return the computed expected utility
- Specified by:
getExpectedUtility in interface ISubsymbolicProduction6
- Returns:
setExpectedUtility
public void setExpectedUtility(double utility)
- Specified by:
setExpectedUtility in interface ISubsymbolicProduction6
getReward
public double getReward()
- Description copied from interface:
ISubsymbolicProduction6
- return the reward value associated with this production or Double.NaN if
there is no reward explicitly defined for this production
- Specified by:
getReward in interface ISubsymbolicProduction6
- Returns:
getUtility
public double getUtility()
- Description copied from interface:
ISubsymbolicProduction6
- return the predefined utility of the production
- Specified by:
getUtility in interface ISubsymbolicProduction6
- Returns:
setReward
public void setReward(double reward)
- Specified by:
setReward in interface ISubsymbolicProduction6
setUtility
public void setUtility(double utility)
- Specified by:
setUtility in interface ISubsymbolicProduction6
getSetableParameters
public java.util.Collection<java.lang.String> getSetableParameters()
- Description copied from class:
BasicSubsymbolicProduction
- Gets the setableParameters attribute of the DefaultSubsymbolicProduction5
object
- Specified by:
getSetableParameters in interface IParameterized- Overrides:
getSetableParameters in class BasicSubsymbolicProduction
- Returns:
- The setableParameters value
getParameter
public java.lang.String getParameter(java.lang.String key)
- Description copied from class:
BasicSubsymbolicProduction
- Gets the parameter attribute of the DefaultSubsymbolicProduction5 object
- Specified by:
getParameter in interface IParameterized- Overrides:
getParameter in class BasicSubsymbolicProduction
- Parameters:
key - Description of Parameter
- Returns:
- The parameter value
setParameter
public void setParameter(java.lang.String key,
java.lang.String value)
- Description copied from class:
BasicSubsymbolicProduction
- Sets the parameter attribute of the DefaultSubsymbolicProduction5 object
- Specified by:
setParameter in interface IParameterized- Overrides:
setParameter in class BasicSubsymbolicProduction
- Parameters:
key - The new parameter valuevalue - The new parameter value