org.jactr.core.module.procedural.map.instance
Class GeneralInstantiationMap
java.lang.Object
org.jactr.core.module.procedural.map.instance.AbstractInstantiationMap<java.lang.Object>
org.jactr.core.module.procedural.map.instance.GeneralInstantiationMap
- All Implemented Interfaces:
- IInstaniationMap<java.lang.Object>
public class GeneralInstantiationMap
- extends AbstractInstantiationMap<java.lang.Object>
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralInstantiationMap
public GeneralInstantiationMap(java.lang.Object root,
GeneralInstantiationMapTemplate template,
IInstaniationMap parent)
add
public boolean add(IProduction production,
ICondition condition)
remove
public void remove(IProduction production,
ICondition condition)
add
public boolean add(IProduction production)
- Returns:
- true if this map is accepting the production
remove
public void remove(IProduction production)
getSize
public int getSize()
activate
public void activate()
- Specified by:
activate in interface IInstaniationMap<java.lang.Object>- Overrides:
activate in class AbstractInstantiationMap<java.lang.Object>
deactivate
public void deactivate()
- Specified by:
deactivate in interface IInstaniationMap<java.lang.Object>- Overrides:
deactivate in class AbstractInstantiationMap<java.lang.Object>
getFailedProductions
public java.util.Set<IProduction> getFailedProductions()
- Description copied from interface:
IInstaniationMap
- a set of the relevant, but uninstantiable productions
- Returns:
getTestableProductions
public java.util.Set<IProduction> getTestableProductions()
- Description copied from interface:
IInstaniationMap
- the set of relevant productions who's instantiability is not know,
- Returns: