org.jactr.core.production
Interface IProduction

All Superinterfaces:
Commentable, java.lang.Comparable<IProduction>
All Known Subinterfaces:
IInstantiation
All Known Implementing Classes:
AbstractInstantiation, AbstractProduction, DefaultInstantiation5, DefaultInstantiation6, DefaultProduction5, DefaultProduction6

public interface IProduction
extends java.lang.Comparable<IProduction>, Commentable

Description of the Interface

Author:
harrison

Method Summary
 void addListener(IProductionListener pl, java.util.concurrent.Executor executor)
           
 void dispatch(ProductionEvent event)
           
 void dispose()
          Description of the Method
 void encode()
           
 IModel getModel()
          get the model that this production is associated with
 ISubsymbolicProduction getSubsymbolicProduction()
          Gets the subsymbolicProduction attribute of the IProduction object
 ISymbolicProduction getSymbolicProduction()
          Gets the symbolicProduction attribute of the IProduction object
 boolean hasListeners()
           
 java.util.Collection<IInstantiation> instantiateAll(java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> provisionalBindings)
          attempts to instantiate this production given the current state of the model as defined by the collection of buffers.
 boolean isEncoded()
           
 void removeListener(IProductionListener pl)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.jactr.core.utils.Commentable
getComment, setComment
 

Method Detail

addListener

void addListener(IProductionListener pl,
                 java.util.concurrent.Executor executor)

removeListener

void removeListener(IProductionListener pl)

hasListeners

boolean hasListeners()

dispatch

void dispatch(ProductionEvent event)

getSymbolicProduction

ISymbolicProduction getSymbolicProduction()
Gets the symbolicProduction attribute of the IProduction object

Returns:
The symbolicProduction value
Since:

getSubsymbolicProduction

ISubsymbolicProduction getSubsymbolicProduction()
Gets the subsymbolicProduction attribute of the IProduction object

Returns:
The subsymbolicProduction value
Since:

instantiateAll

java.util.Collection<IInstantiation> instantiateAll(java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> provisionalBindings)
                                                    throws CannotInstantiateException
attempts to instantiate this production given the current state of the model as defined by the collection of buffers. returns an instantiation of this production

Throws:
CannotInstantiateException

dispose

void dispose()
Description of the Method

Since:

getModel

IModel getModel()
get the model that this production is associated with

Returns:

encode

void encode()

isEncoded

boolean isEncoded()