Drools :: Core 6.0.0.Beta5

org.drools.core.beliefsystem.jtms
Class JTMSBeliefSystem

java.lang.Object
  extended by org.drools.core.beliefsystem.jtms.JTMSBeliefSystem
All Implemented Interfaces:
BeliefSystem

public class JTMSBeliefSystem
extends Object
implements BeliefSystem


Field Summary
static boolean STRICT
           
 
Constructor Summary
JTMSBeliefSystem(NamedEntryPoint ep, TruthMaintenanceSystem tms)
           
 
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
 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
 

Field Detail

STRICT

public static boolean STRICT
Constructor Detail

JTMSBeliefSystem

public JTMSBeliefSystem(NamedEntryPoint ep,
                        TruthMaintenanceSystem tms)
Method Detail

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

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

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.