org.drools.core.beliefsystem.simple
Class SimpleBeliefSet
java.lang.Object
org.drools.core.util.LinkedList
org.drools.core.beliefsystem.simple.SimpleBeliefSet
- All Implemented Interfaces:
- Externalizable, Serializable, BeliefSet
public class SimpleBeliefSet
- extends LinkedList
- implements BeliefSet
- See Also:
- Serialized Form
| Methods inherited from class org.drools.core.util.LinkedList |
add, addFirst, addLast, clear, equals, fastIterator, get, getFirst, getLast, hashCode, insertAfter, isEmpty, iterator, javaUtilIterator, readExternal, remove, removeFirst, removeLast, size, writeExternal |
SimpleBeliefSet
public SimpleBeliefSet(BeliefSystem beliefSystem,
InternalFactHandle fh)
getBeliefSystem
public BeliefSystem getBeliefSystem()
- Specified by:
getBeliefSystem in interface BeliefSet
getFactHandle
public InternalFactHandle getFactHandle()
- Specified by:
getFactHandle in interface BeliefSet
cancel
public void cancel(PropagationContext context)
- Description copied from interface:
BeliefSet
- This will remove all entries and do clean up, like retract FHs.
- Specified by:
cancel in interface BeliefSet
clear
public void clear(PropagationContext context)
- Description copied from interface:
BeliefSet
- This will remove all entries, but not do cleanup, the FH is most likely needed else where
- Specified by:
clear in interface BeliefSet
getWorkingMemoryAction
public WorkingMemoryAction getWorkingMemoryAction()
setWorkingMemoryAction
public void setWorkingMemoryAction(WorkingMemoryAction wmAction)
- Specified by:
setWorkingMemoryAction in interface BeliefSet
isNegated
public boolean isNegated()
- Specified by:
isNegated in interface BeliefSet
isUndecided
public boolean isUndecided()
- Specified by:
isUndecided in interface BeliefSet
isPositive
public boolean isPositive()
- Specified by:
isPositive in interface BeliefSet
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.