org.drools.core.beliefsystem.jtms
Class JTMSBeliefSystem
java.lang.Object
org.drools.core.beliefsystem.jtms.JTMSBeliefSystem
- All Implemented Interfaces:
- BeliefSystem
- Direct Known Subclasses:
- DefeasibleBeliefSystem
public class JTMSBeliefSystem
- extends Object
- implements BeliefSystem
|
Method Summary |
void |
delete(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context)
The typeConf has not yet been looked up, so we leave it to the implementation to decide if it needs it or not. |
TruthMaintenanceSystem |
getTruthMaintenanceSystem()
|
void |
insert(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
TypeConf is already available, so we pass it, to avoid additional lookups |
protected void |
insertBelief(LogicalDependency node,
ObjectTypeConf typeConf,
JTMSBeliefSet jtmsBeliefSet,
PropagationContext context,
boolean wasEmpty,
boolean wasNegated,
boolean isUndecided)
|
BeliefSet |
newBeliefSet(InternalFactHandle fh)
|
LogicalDependency |
newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value)
|
void |
read(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRICT
public static boolean STRICT
defEP
protected NamedEntryPoint defEP
negEP
protected NamedEntryPoint negEP
JTMSBeliefSystem
public JTMSBeliefSystem(NamedEntryPoint ep,
TruthMaintenanceSystem tms)
getTruthMaintenanceSystem
public TruthMaintenanceSystem getTruthMaintenanceSystem()
- Specified by:
getTruthMaintenanceSystem in interface BeliefSystem
insert
public void insert(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
- Description copied from interface:
BeliefSystem
- TypeConf is already available, so we pass it, to avoid additional lookups
- Specified by:
insert in interface BeliefSystem
insertBelief
protected void insertBelief(LogicalDependency node,
ObjectTypeConf typeConf,
JTMSBeliefSet jtmsBeliefSet,
PropagationContext context,
boolean wasEmpty,
boolean wasNegated,
boolean isUndecided)
read
public void read(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
- Specified by:
read in interface BeliefSystem
delete
public void delete(LogicalDependency node,
BeliefSet beliefSet,
PropagationContext context)
- Description copied from interface:
BeliefSystem
- The typeConf has not yet been looked up, so we leave it to the implementation to decide if it needs it or not.
- Specified by:
delete in interface BeliefSystem
newBeliefSet
public BeliefSet newBeliefSet(InternalFactHandle fh)
- Specified by:
newBeliefSet in interface BeliefSystem
newLogicalDependency
public LogicalDependency newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value)
- Specified by:
newLogicalDependency in interface BeliefSystem
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.