Class SimpleBeliefSet
- All Implemented Interfaces:
Externalizable,Serializable,BeliefSet<SimpleMode>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drools.core.util.LinkedList
LinkedList.JavaUtilIterator<T extends DoubleLinkedEntry<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends DoubleLinkedEntry<T>>, LinkedList.TMSLinkedListFastIterator<K extends SingleLinkedEntry<K>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BeliefSystemprotected InternalFactHandleprotected WorkingMemoryActionFields inherited from class org.drools.core.util.LinkedList
fastIterator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(PropagationContext context) This will remove all entries and do clean up, like retract FHs.voidclear(PropagationContext context) This will remove all entries, but not do cleanup, the FH is most likely needed else wherebooleanbooleanbooleanbooleanvoidsetWorkingMemoryAction(WorkingMemoryAction wmAction) Methods inherited from class org.drools.core.util.LinkedList
add, addAllToCollection, addFirst, addLast, clear, contains, copyStateInto, equals, fastIterator, get, get, getFirst, getLast, hashCode, insertAfter, isEmpty, javaUtilIterator, readExternal, remove, removeAdd, removeFirst, removeLast, size, writeExternal
-
Field Details
-
beliefSystem
-
fh
-
wmAction
-
-
Constructor Details
-
SimpleBeliefSet
-
SimpleBeliefSet
public SimpleBeliefSet()
-
-
Method Details
-
getBeliefSystem
- Specified by:
getBeliefSystemin interfaceBeliefSet<SimpleMode>
-
getFactHandle
- Specified by:
getFactHandlein interfaceBeliefSet<SimpleMode>
-
cancel
Description copied from interface:BeliefSetThis will remove all entries and do clean up, like retract FHs.- Specified by:
cancelin interfaceBeliefSet<SimpleMode>
-
clear
Description copied from interface:BeliefSetThis will remove all entries, but not do cleanup, the FH is most likely needed else where- Specified by:
clearin interfaceBeliefSet<SimpleMode>
-
getWorkingMemoryAction
-
setWorkingMemoryAction
- Specified by:
setWorkingMemoryActionin interfaceBeliefSet<SimpleMode>
-
isNegated
public boolean isNegated()- Specified by:
isNegatedin interfaceBeliefSet<SimpleMode>
-
isDecided
public boolean isDecided()- Specified by:
isDecidedin interfaceBeliefSet<SimpleMode>
-
isConflicting
public boolean isConflicting()- Specified by:
isConflictingin interfaceBeliefSet<SimpleMode>
-
isPositive
public boolean isPositive()- Specified by:
isPositivein interfaceBeliefSet<SimpleMode>
-