public class SimpleBeliefSystem extends Object implements BeliefSystem
Constructor and Description |
---|
SimpleBeliefSystem(NamedEntryPoint ep,
TruthMaintenanceSystem tms) |
Modifier and Type | Method and Description |
---|---|
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) |
public SimpleBeliefSystem(NamedEntryPoint ep, TruthMaintenanceSystem tms)
public TruthMaintenanceSystem getTruthMaintenanceSystem()
getTruthMaintenanceSystem
in interface BeliefSystem
public void insert(LogicalDependency node, BeliefSet beliefSet, PropagationContext context, ObjectTypeConf typeConf)
BeliefSystem
insert
in interface BeliefSystem
public void read(LogicalDependency node, BeliefSet beliefSet, PropagationContext context, ObjectTypeConf typeConf)
read
in interface BeliefSystem
public void delete(LogicalDependency node, BeliefSet beliefSet, PropagationContext context)
BeliefSystem
delete
in interface BeliefSystem
public BeliefSet newBeliefSet(InternalFactHandle fh)
newBeliefSet
in interface BeliefSystem
public LogicalDependency newLogicalDependency(Activation activation, BeliefSet beliefSet, Object object, Object value)
newLogicalDependency
in interface BeliefSystem
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.