|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.production.action.DefaultAction
org.jactr.core.production.action.SetAction
public class SetAction
a zero-time buffer content set operator
| Nested Class Summary | |
|---|---|
class |
SetAction.SetActionTimedEvent
|
| Constructor Summary | |
|---|---|
SetAction(java.lang.String bufferName,
java.lang.Object referant)
|
|
SetAction(java.lang.String bufferName,
java.lang.Object referant,
java.util.Collection<? extends ISlot> slots)
|
|
| Method Summary | |
|---|---|
void |
addSlot(ISlot slot)
Adds a slot |
IAction |
bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
Bind is called during the creation of an instantiation of a produciton. |
void |
dispose()
Description of the Method |
double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method |
java.lang.String |
getBufferName()
|
java.lang.Object |
getReferant()
|
java.util.Collection<? extends ISlot> |
getSlots()
return a duplicate copy of all the slots |
java.util.Collection<ISlot> |
getSlots(java.util.Collection<ISlot> container)
|
void |
removeSlot(ISlot slot)
remove a slot |
void |
setBufferName(java.lang.String bufferName)
set the name of the buffer that this action manipulates |
void |
setReferant(java.lang.Object ref)
|
| Methods inherited from class org.jactr.core.production.action.DefaultAction |
|---|
resolve |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetAction(java.lang.String bufferName,
java.lang.Object referant)
public SetAction(java.lang.String bufferName,
java.lang.Object referant,
java.util.Collection<? extends ISlot> slots)
| Method Detail |
|---|
public void dispose()
DefaultAction
dispose in interface IActiondispose in class DefaultActionpublic void addSlot(ISlot slot)
ISlotContainer
addSlot in interface ISlotContainerslot - The feature to be added to the ISlot attributepublic java.util.Collection<? extends ISlot> getSlots()
ISlotContainer
getSlots in interface ISlotContainerpublic java.util.Collection<ISlot> getSlots(java.util.Collection<ISlot> container)
getSlots in interface ISlotContainerpublic void removeSlot(ISlot slot)
ISlotContainer
removeSlot in interface ISlotContainerslot - Description of Parameterpublic java.lang.String getBufferName()
getBufferName in interface IBufferActionpublic void setBufferName(java.lang.String bufferName)
IBufferAction
setBufferName in interface IBufferActionpublic java.lang.Object getReferant()
public void setReferant(java.lang.Object ref)
public IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
throws CannotInstantiateException
IAction
bind in interface IActionCannotInstantiateException
public double fire(IInstantiation instantiation,
double firingTime)
DefaultAction
fire in interface IActionfire in class DefaultActioninstantiation - Description of the ParameterfiringTime - when this production was fired
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||