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