|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.chunk.basic.AbstractSubsymbolicChunk
org.jactr.core.chunk.four.DefaultSubsymbolicChunk4
public class DefaultSubsymbolicChunk4
| Field Summary |
|---|
| Fields inherited from interface org.jactr.core.chunk.four.ISubsymbolicChunk4 |
|---|
CREATION_CYCLE, LINKS |
| Fields inherited from interface org.jactr.core.chunk.ISubsymbolicChunk |
|---|
ACTIVATION, BASE_LEVEL_ACTIVATION, CREATION_TIME, REFERENCE_COUNT, REFERENCE_TIMES, SOURCE_ACTIVATION, SPREADING_ACTIVATION, TIMES_IN_CONTEXT, TIMES_NEEDED |
| Constructor Summary | |
|---|---|
DefaultSubsymbolicChunk4(IChunk parent)
|
|
| Method Summary | |
|---|---|
void |
addLink(Link l)
add a link, it will be inspected to determine whether it is a J,I link |
void |
dispose()
Description of the Method |
void |
encode(double when)
non-locking since this will set creation time |
long |
getCreationCycle()
|
Link |
getIAssociation(IChunk iChunk)
get the I association between this chunk (J) and i |
java.util.Collection<Link> |
getIAssociations(java.util.Collection<Link> container)
return the associations where this is the j chunk |
Link |
getJAssociation(IChunk jChunk)
get the J association between this chunk (I) and j |
java.util.Collection<Link> |
getJAssociations(java.util.Collection<Link> container)
return the associations where this is the i chunk |
int |
getNumberOfIAssociations()
return the number of associations where this is the j chunk |
int |
getNumberOfJAssociations()
return the number of associations where this is the i chunk |
java.lang.String |
getParameter(java.lang.String key)
return parameter value - null if not defined. |
java.util.Collection<java.lang.String> |
getPossibleParameters()
Return all parameters that can be read |
void |
removeLink(Link l)
Description of the Method |
void |
setCreationCycle(long cycle)
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Set the named parameter |
| Methods inherited from class org.jactr.core.chunk.basic.AbstractSubsymbolicChunk |
|---|
accessed, getActivation, getBaseLevelActivation, getCreationTime, getReferences, getSetableParameters, getSourceActivation, getSpreadingActivation, getTimesInContext, getTimesNeeded, incrementTimesInContext, incrementTimesNeeded, setActivation, setBaseLevelActivation, setCreationTime, setSourceActivation, setSpreadingActivation, setTimesInContext, setTimesNeeded |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jactr.core.chunk.ISubsymbolicChunk |
|---|
accessed, getActivation, getBaseLevelActivation, getCreationTime, getReferences, getSourceActivation, getSpreadingActivation, getTimesInContext, getTimesNeeded, incrementTimesInContext, incrementTimesNeeded, setActivation, setBaseLevelActivation, setCreationTime, setSourceActivation, setSpreadingActivation, setTimesInContext, setTimesNeeded |
| Methods inherited from interface org.jactr.core.utils.parameter.IParameterized |
|---|
getSetableParameters |
| Constructor Detail |
|---|
public DefaultSubsymbolicChunk4(IChunk parent)
| Method Detail |
|---|
public void encode(double when)
AbstractSubsymbolicChunk
encode in interface ISubsymbolicChunkencode in class AbstractSubsymbolicChunkISubsymbolicChunk.encode(double)public void dispose()
ISubsymbolicChunk
dispose in interface ISubsymbolicChunkdispose in class AbstractSubsymbolicChunkpublic void setCreationCycle(long cycle)
setCreationCycle in interface ISubsymbolicChunk4public long getCreationCycle()
getCreationCycle in interface ISubsymbolicChunk4public void addLink(Link l)
ISubsymbolicChunk4
addLink in interface ISubsymbolicChunk4l - The feature to be added to the Link attributepublic Link getIAssociation(IChunk iChunk)
ISubsymbolicChunk4
getIAssociation in interface ISubsymbolicChunk4iChunk - Description of the Parameter
public java.util.Collection<Link> getIAssociations(java.util.Collection<Link> container)
ISubsymbolicChunk4
getIAssociations in interface ISubsymbolicChunk4container - TODO
public Link getJAssociation(IChunk jChunk)
ISubsymbolicChunk4
getJAssociation in interface ISubsymbolicChunk4jChunk - Description of the Parameter
public java.util.Collection<Link> getJAssociations(java.util.Collection<Link> container)
ISubsymbolicChunk4
getJAssociations in interface ISubsymbolicChunk4container - TODO
public int getNumberOfIAssociations()
ISubsymbolicChunk4
getNumberOfIAssociations in interface ISubsymbolicChunk4public int getNumberOfJAssociations()
ISubsymbolicChunk4
getNumberOfJAssociations in interface ISubsymbolicChunk4public void removeLink(Link l)
ISubsymbolicChunk4
removeLink in interface ISubsymbolicChunk4l - Description of the Parameterpublic java.util.Collection<java.lang.String> getPossibleParameters()
IParameterized
getPossibleParameters in interface IParameterizedgetPossibleParameters in class AbstractSubsymbolicChunkpublic java.lang.String getParameter(java.lang.String key)
IParameterized
getParameter in interface IParameterizedgetParameter in class AbstractSubsymbolicChunkkey - Description of the Parameter
public void setParameter(java.lang.String key,
java.lang.String value)
IParameterized
setParameter in interface IParameterizedsetParameter in class AbstractSubsymbolicChunk
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||