org.drools.common
Interface BeliefSystem

All Known Implementing Classes:
SimpleBeliefSystem

public interface 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.
 void insert(LogicalDependency node, BeliefSet beliefSet, PropagationContext context, ObjectTypeConf typeConf)
          TypeConf is already available, so we pass it, to avoid additional lookups
 BeliefSet newBeliefSet()
           
 LogicalDependency newLogicalDependency(Activation activation, InternalFactHandle handle, Object value)
           
 void read(LogicalDependency node, BeliefSet beliefSet, PropagationContext context, ObjectTypeConf typeConf)
           
 

Method Detail

insert

void insert(LogicalDependency node,
            BeliefSet beliefSet,
            PropagationContext context,
            ObjectTypeConf typeConf)
TypeConf is already available, so we pass it, to avoid additional lookups

Parameters:
node -
beliefSet -
context -
typeConf -

delete

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.

Parameters:
node -
beliefSet -
context -

newBeliefSet

BeliefSet newBeliefSet()

newLogicalDependency

LogicalDependency newLogicalDependency(Activation activation,
                                       InternalFactHandle handle,
                                       Object value)

read

void read(LogicalDependency node,
          BeliefSet beliefSet,
          PropagationContext context,
          ObjectTypeConf typeConf)


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