public class TruthMaintenanceSystem extends Object
Constructor and Description |
---|
TruthMaintenanceSystem() |
TruthMaintenanceSystem(AbstractWorkingMemory wm,
NamedEntryPoint ep) |
Modifier and Type | Method and Description |
---|---|
void |
addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf) |
void |
addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf,
boolean read) |
void |
clear() |
EqualityKey |
get(EqualityKey key) |
EqualityKey |
get(Object object) |
BeliefSystem |
getBeliefSystem() |
ObjectHashMap |
getEqualityKeyMap() |
Object |
put(EqualityKey key) |
void |
readLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
EqualityKey |
remove(EqualityKey key) |
public TruthMaintenanceSystem()
public TruthMaintenanceSystem(AbstractWorkingMemory wm, NamedEntryPoint ep)
public ObjectHashMap getEqualityKeyMap()
public Object put(EqualityKey key)
public EqualityKey get(EqualityKey key)
public EqualityKey get(Object object)
public EqualityKey remove(EqualityKey key)
public void readLogicalDependency(InternalFactHandle handle, Object object, Object value, Activation activation, PropagationContext context, Rule rule, ObjectTypeConf typeConf) throws FactException
handle
- activation
- context
- rule
- typeConf
- FactException
public void addLogicalDependency(InternalFactHandle handle, Object object, Object value, Activation activation, PropagationContext context, Rule rule, ObjectTypeConf typeConf) throws FactException
FactException
public void addLogicalDependency(InternalFactHandle handle, Object object, Object value, Activation activation, PropagationContext context, Rule rule, ObjectTypeConf typeConf, boolean read) throws FactException
FactException
public void clear()
public BeliefSystem getBeliefSystem()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.