public class BasicSubsymbolicProduction extends DefaultAdaptable implements ISubsymbolicProduction
Modifier and Type | Field and Description |
---|---|
protected ICostEquation |
_costEquation |
protected double |
_creationTime |
protected double |
_firingTime |
protected double |
_lastFiringTime
last firing time is used to flag that P,G,C calculations might need to be
redone.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
_parameterMap |
protected IProduction |
_parentProduction |
protected IProbabilityEquation |
_probabilityEquation |
protected java.util.Map<java.lang.String,java.lang.String> |
_unknownParameters |
protected static org.apache.commons.logging.Log |
LOGGER
Logger definition
|
CREATION_TIME, FIRING_TIME
Constructor and Description |
---|
BasicSubsymbolicProduction(IProduction parent,
IModel model) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Description of the Method
|
void |
encode() |
double |
getCreationTime()
when was this production created
|
double |
getFiringTime()
how long does this production take to fire (normally)
|
java.lang.String |
getParameter(java.lang.String key)
Gets the parameter attribute of the DefaultSubsymbolicProduction5 object
|
java.util.Collection<java.lang.String> |
getPossibleParameters()
Gets the possibleParameters attribute of the DefaultSubsymbolicProduction5
object
|
IProbabilityEquation |
getProbabilityEquation() |
java.util.Collection<java.lang.String> |
getSetableParameters()
Gets the setableParameters attribute of the DefaultSubsymbolicProduction5
object
|
void |
setCreationTime(double time)
when was this production created
|
protected void |
setDefaultParameters()
Sets the defaultParameters attribute of the DefaultSubsymbolicProduction5
object
|
void |
setFiringTime(double defAct)
Sets the effortTime attribute of the DefaultSubsymbolicProduction5 object
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Sets the parameter attribute of the DefaultSubsymbolicProduction5 object
|
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdapter
protected static final transient org.apache.commons.logging.Log LOGGER
protected double _creationTime
protected double _firingTime
protected IProduction _parentProduction
protected double _lastFiringTime
protected java.util.Map<java.lang.String,java.lang.Object> _parameterMap
protected ICostEquation _costEquation
protected IProbabilityEquation _probabilityEquation
protected java.util.Map<java.lang.String,java.lang.String> _unknownParameters
public BasicSubsymbolicProduction(IProduction parent, IModel model)
public void dispose()
ISubsymbolicProduction
dispose
in interface ISubsymbolicProduction
protected void setDefaultParameters()
public IProbabilityEquation getProbabilityEquation()
public java.util.Collection<java.lang.String> getPossibleParameters()
getPossibleParameters
in interface IParameterized
public java.util.Collection<java.lang.String> getSetableParameters()
getSetableParameters
in interface IParameterized
public void setParameter(java.lang.String key, java.lang.String value)
setParameter
in interface IParameterized
key
- The new parameter valuevalue
- The new parameter valuepublic java.lang.String getParameter(java.lang.String key)
getParameter
in interface IParameterized
key
- Description of Parameterpublic double getFiringTime()
getFiringTime
in interface ISubsymbolicProduction
public void setFiringTime(double defAct)
setFiringTime
in interface ISubsymbolicProduction
defAct
- The new effortTime valuepublic double getCreationTime()
ISubsymbolicProduction
getCreationTime
in interface ISubsymbolicProduction
public void setCreationTime(double time)
ISubsymbolicProduction
setCreationTime
in interface ISubsymbolicProduction
public void encode()
encode
in interface ISubsymbolicProduction