public interface BeliefSystem<M extends ModedAssertion<M>>
Modifier and Type | Method and Description |
---|---|
M |
asMode(Object value) |
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.
|
void |
delete(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context) |
TruthMaintenanceSystem |
getTruthMaintenanceSystem() |
BeliefSet<M> |
insert(LogicalDependency<M> node,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf)
TypeConf is already available, so we pass it, to avoid additional lookups
|
BeliefSet<M> |
insert(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf) |
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) |
void |
stage(PropagationContext context,
BeliefSet<M> beliefSet) |
void |
unstage(PropagationContext context,
BeliefSet<M> beliefSet) |
BeliefSet<M> insert(LogicalDependency<M> node, BeliefSet<M> beliefSet, PropagationContext context, ObjectTypeConf typeConf)
node
- beliefSet
- context
- typeConf
- BeliefSet<M> insert(M mode, RuleImpl rule, Activation activation, Object payload, BeliefSet<M> beliefSet, PropagationContext context, ObjectTypeConf typeConf)
mode
- rule
- activation
- beliefSet
- context
- typeConf
- void delete(LogicalDependency<M> node, BeliefSet<M> beliefSet, PropagationContext context)
node
- beliefSet
- context
- void delete(M mode, RuleImpl rule, Activation activation, Object payload, BeliefSet<M> beliefSet, PropagationContext context)
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)
void stage(PropagationContext context, BeliefSet<M> beliefSet)
void unstage(PropagationContext context, BeliefSet<M> beliefSet)
TruthMaintenanceSystem getTruthMaintenanceSystem()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.