public class TruthMaintenanceSystem extends Object
Constructor and Description |
---|
TruthMaintenanceSystem() |
TruthMaintenanceSystem(StatefulKnowledgeSessionImpl wm,
NamedEntryPoint ep) |
Modifier and Type | Method and Description |
---|---|
void |
addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf) |
void |
addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl 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,
RuleImpl rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
EqualityKey |
remove(EqualityKey key) |
public TruthMaintenanceSystem()
public TruthMaintenanceSystem(StatefulKnowledgeSessionImpl 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, RuleImpl rule, ObjectTypeConf typeConf)
handle
- activation
- context
- rule
- typeConf
- public void addLogicalDependency(InternalFactHandle handle, Object object, Object value, Activation activation, PropagationContext context, RuleImpl rule, ObjectTypeConf typeConf)
public void addLogicalDependency(InternalFactHandle handle, Object object, Object value, Activation activation, PropagationContext context, RuleImpl rule, ObjectTypeConf typeConf, boolean read)
public void clear()
public BeliefSystem getBeliefSystem()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.