|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.memphis.ccrg.lida.framework.initialization.InitializableImpl
edu.memphis.ccrg.lida.framework.shared.activation.ActivatibleImpl
edu.memphis.ccrg.lida.globalworkspace.CoalitionImpl
public class CoalitionImpl
The default implementation of Coalition. Wraps content entering the
GlobalWorkspace to compete for consciousness. Extends ActivatibleImpl.
Contains reference to the AttentionCodelet that created it.
AttentionCodeletImpl| Field Summary | |
|---|---|
protected BroadcastContent |
broadcastContent
the BroadcastContent of the coalition |
protected AttentionCodelet |
creatingAttentionCodelet
the AttentionCodelet that created the coalition |
| Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
|---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
| Constructor Summary | |
|---|---|
CoalitionImpl()
Default constructor |
|
CoalitionImpl(NodeStructure ns,
AttentionCodelet c)
Constructs a CoalitionImpl with specified content that is being created by specified AttentionCodelet |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
BroadcastContent |
getContent()
Returns an UnmodifiableNodeStructureImpl containing the broadcast content. |
AttentionCodelet |
getCreatingAttentionCodelet()
Returns the creating AttentionCodelet that created this coalition |
int |
getId()
Returns the id |
int |
hashCode()
|
protected void |
updateActivation()
Calculates the coalition's activation. |
| Methods inherited from class edu.memphis.ccrg.lida.framework.shared.activation.ActivatibleImpl |
|---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
| Methods inherited from class edu.memphis.ccrg.lida.framework.initialization.InitializableImpl |
|---|
containsParameter, getParam, getParameters, init, init |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
|---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable |
|---|
containsParameter, getParam, getParameters, init, init |
| Field Detail |
|---|
protected BroadcastContent broadcastContent
BroadcastContent of the coalition
protected AttentionCodelet creatingAttentionCodelet
AttentionCodelet that created the coalition
| Constructor Detail |
|---|
public CoalitionImpl()
public CoalitionImpl(NodeStructure ns,
AttentionCodelet c)
CoalitionImpl with specified content that is being created by specified AttentionCodelet
ns - the BroadcastContentc - The AttentionCodelet that created this CoalitionAttentionCodeletImpl| Method Detail |
|---|
protected void updateActivation()
public BroadcastContent getContent()
UnmodifiableNodeStructureImpl containing the broadcast content.
Note that UnmodifiableNodeStructureImpl cannot be modified.
getContent in interface CoalitionBroadcastContent of the coalitionpublic AttentionCodelet getCreatingAttentionCodelet()
CoalitionAttentionCodelet that created this coalition
getCreatingAttentionCodelet in interface CoalitionAttentionCodelet that help form this coalitionpublic int getId()
Coalition
getId in interface Coalitionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||