org.drools.core.beliefsystem.jtms
Class JTMSBeliefSystem<M extends JTMSMode<M>>
java.lang.Object
org.drools.core.beliefsystem.jtms.JTMSBeliefSystem<M>
- All Implemented Interfaces:
- BeliefSystem<M>
- Direct Known Subclasses:
- DefeasibleBeliefSystem
public class JTMSBeliefSystem<M extends JTMSMode<M>>
- extends Object
- implements BeliefSystem<M>
|
Method Summary |
void |
delete(LogicalDependency<M> node,
BeliefSet<M> 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<M> node,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
TypeConf is already available, so we pass it, to avoid additional lookups |
protected void |
insertBelief(LogicalDependency<M> node,
ObjectTypeConf typeConf,
JTMSBeliefSet<M> jtmsBeliefSet,
PropagationContext context,
boolean wasEmpty,
boolean wasNegated,
boolean isUndecided)
|
BeliefSet |
newBeliefSet(InternalFactHandle fh)
|
LogicalDependency |
newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value)
|
void |
read(LogicalDependency<M> node,
BeliefSet<M> 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<M extends JTMSMode<M>>
insert
public void insert(LogicalDependency<M> node,
BeliefSet<M> 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<M extends JTMSMode<M>>
insertBelief
protected void insertBelief(LogicalDependency<M> node,
ObjectTypeConf typeConf,
JTMSBeliefSet<M> jtmsBeliefSet,
PropagationContext context,
boolean wasEmpty,
boolean wasNegated,
boolean isUndecided)
read
public void read(LogicalDependency<M> node,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
- Specified by:
read in interface BeliefSystem<M extends JTMSMode<M>>
delete
public void delete(LogicalDependency<M> node,
BeliefSet<M> 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<M extends JTMSMode<M>>
newBeliefSet
public BeliefSet newBeliefSet(InternalFactHandle fh)
- Specified by:
newBeliefSet in interface BeliefSystem<M extends JTMSMode<M>>
newLogicalDependency
public LogicalDependency newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value)
- Specified by:
newLogicalDependency in interface BeliefSystem<M extends JTMSMode<M>>
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.