org.jactr.core.module.procedural.five.learning
Class CompilableContext

java.lang.Object
  extended by org.jactr.core.module.procedural.five.learning.CompilableContext
All Implemented Interfaces:
ICompilableContext

public class CompilableContext
extends java.lang.Object
implements ICompilableContext


Constructor Summary
CompilableContext(boolean isImmediate, boolean isJammable, boolean canCompileOut)
           
 
Method Summary
 boolean canCompileOut()
          if the buffer requests/actions can be compiled out entirely (i.e.
 boolean isImmediate()
          return true if operations on this buffer are immediate, in that they will complete by the time the production has finished firing (no longer duration requests like the visual buffer)
 boolean isJammable()
          subsequent requests may result in a buffer jam (and abort/error)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilableContext

public CompilableContext(boolean isImmediate,
                         boolean isJammable,
                         boolean canCompileOut)
Method Detail

canCompileOut

public boolean canCompileOut()
Description copied from interface: ICompilableContext
if the buffer requests/actions can be compiled out entirely (i.e. the retrieval buffer)

Specified by:
canCompileOut in interface ICompilableContext
Returns:

isImmediate

public boolean isImmediate()
Description copied from interface: ICompilableContext
return true if operations on this buffer are immediate, in that they will complete by the time the production has finished firing (no longer duration requests like the visual buffer)

Specified by:
isImmediate in interface ICompilableContext
Returns:

isJammable

public boolean isJammable()
Description copied from interface: ICompilableContext
subsequent requests may result in a buffer jam (and abort/error)

Specified by:
isJammable in interface ICompilableContext
Returns: