org.jactr.core.module.declarative.six
Class DefaultDeclarativeModule6
java.lang.Object
org.jactr.core.module.AbstractModule
org.jactr.core.module.declarative.basic.AbstractDeclarativeModule
org.jactr.core.module.declarative.basic.DefaultDeclarativeModule
org.jactr.core.module.declarative.six.DefaultDeclarativeModule6
- All Implemented Interfaces:
- IDeclarativeModule5, IDeclarativeModule4, IDeclarativeModule, IModule, IInitializable, IInstallable, IParameterized
public class DefaultDeclarativeModule6
- extends DefaultDeclarativeModule
- implements IDeclarativeModule, IDeclarativeModule4, IDeclarativeModule5, IParameterized
| Methods inherited from class org.jactr.core.module.declarative.basic.AbstractDeclarativeModule |
addChunk, addChunkType, addListener, copyChunk, createChunk, createChunkType, getBusyChunk, getChunk, getChunks, getChunkType, getChunkTypes, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getNewChunk, getRequestedChunk, getUnrequestedChunk, removeListener |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jactr.core.module.declarative.IDeclarativeModule |
addChunk, addChunkType, addListener, copyChunk, createChunk, createChunkType, dispose, findExactMatches, findPartialMatches, getBusyChunk, getChunk, getChunks, getChunkType, getChunkTypes, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getNewChunk, getNumberOfChunks, getRequestedChunk, getUnrequestedChunk, removeListener, willEncode |
| Methods inherited from interface org.jactr.core.module.declarative.IDeclarativeModule |
addChunk, addChunkType, addListener, copyChunk, createChunk, createChunkType, dispose, findExactMatches, findPartialMatches, getBusyChunk, getChunk, getChunks, getChunkType, getChunkTypes, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getNewChunk, getNumberOfChunks, getRequestedChunk, getUnrequestedChunk, removeListener, willEncode |
| Methods inherited from interface org.jactr.core.module.declarative.IDeclarativeModule |
addChunk, addChunkType, addListener, copyChunk, createChunk, createChunkType, dispose, findExactMatches, findPartialMatches, getBusyChunk, getChunk, getChunks, getChunkType, getChunkTypes, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getNewChunk, getNumberOfChunks, getRequestedChunk, getUnrequestedChunk, removeListener, willEncode |
DefaultDeclarativeModule6
public DefaultDeclarativeModule6()
dispose
public void dispose()
- Description copied from interface:
IModule
- release any resources. this should only be called by the model during its
own dispose method (assuming that this module is still installed) and
should not result in the propogation of ANY events. The module should
dispose of all its resources, including buffers
- Specified by:
dispose in interface IModule- Overrides:
dispose in class DefaultDeclarativeModule
getActivationNoise
public double getActivationNoise()
- Specified by:
getActivationNoise in interface IDeclarativeModule4
getPermanentActivationNoise
public double getPermanentActivationNoise()
- Specified by:
getPermanentActivationNoise in interface IDeclarativeModule4
isPartialMatchingEnabled
public boolean isPartialMatchingEnabled()
- Specified by:
isPartialMatchingEnabled in interface IDeclarativeModule4
setActivationNoise
public void setActivationNoise(double noise)
- Specified by:
setActivationNoise in interface IDeclarativeModule4
setPartialMatchingEnabled
public void setPartialMatchingEnabled(boolean enable)
- Specified by:
setPartialMatchingEnabled in interface IDeclarativeModule4
setPermanentActivationNoise
public void setPermanentActivationNoise(double noise)
- Specified by:
setPermanentActivationNoise in interface IDeclarativeModule4
getMismatchPenalty
public double getMismatchPenalty()
- Description copied from interface:
IDeclarativeModule4
- return the activation penalty for mismatches this parameter only applies if
partial matching is enabled
- Specified by:
getMismatchPenalty in interface IDeclarativeModule5- Specified by:
getMismatchPenalty in interface IDeclarativeModule4
- Returns:
- The MismatchPenalty value
setMismatchPenalty
public void setMismatchPenalty(double mismatch)
- Description copied from interface:
IDeclarativeModule4
- set the activation penalty for a mismatched slot value
- Specified by:
setMismatchPenalty in interface IDeclarativeModule5- Specified by:
setMismatchPenalty in interface IDeclarativeModule4
getMaximumDifference
public double getMaximumDifference()
- Specified by:
getMaximumDifference in interface IDeclarativeModule5
getMaximumSimilarity
public double getMaximumSimilarity()
- Specified by:
getMaximumSimilarity in interface IDeclarativeModule5
setMaximumDifference
public void setMaximumDifference(double maxDiff)
- Specified by:
setMaximumDifference in interface IDeclarativeModule5
setMaximumSimilarity
public void setMaximumSimilarity(double maxSim)
- Specified by:
setMaximumSimilarity in interface IDeclarativeModule5
getBaseLevelConstant
public double getBaseLevelConstant()
- Specified by:
getBaseLevelConstant in interface IDeclarativeModule4
setBaseLevelConstant
public void setBaseLevelConstant(double base)
- Specified by:
setBaseLevelConstant in interface IDeclarativeModule4
getSimilarity
public double getSimilarity(java.lang.Object one,
java.lang.Object two)
- Specified by:
getSimilarity in interface IDeclarativeModule5
setSimilarity
public void setSimilarity(java.lang.Object one,
java.lang.Object two,
double sim)
- Specified by:
setSimilarity in interface IDeclarativeModule5
getParameter
public java.lang.String getParameter(java.lang.String key)
- Description copied from interface:
IParameterized
- return parameter value - null if not defined.
- Specified by:
getParameter in interface IParameterized- Overrides:
getParameter in class DefaultDeclarativeModule
- Parameters:
key - Description of the Parameter
- Returns:
- The parameter value
- See Also:
IParameterized.getParameter(java.lang.String)
getSetableParameters
public java.util.Collection<java.lang.String> getSetableParameters()
- Description copied from interface:
IParameterized
- Return list of all parameters that can be set.
- Specified by:
getSetableParameters in interface IParameterized- Overrides:
getSetableParameters in class DefaultDeclarativeModule
- Returns:
- The setableParameters value
- See Also:
IParameterized.getSetableParameters()
setParameter
public void setParameter(java.lang.String key,
java.lang.String value)
- Description copied from interface:
IParameterized
- Set the named parameter
- Specified by:
setParameter in interface IParameterized- Overrides:
setParameter in class DefaultDeclarativeModule
- See Also:
IParameterized.setParameter(java.lang.String,
java.lang.String)