Class SimpleBeliefSet

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.drools.core.util.LinkedList

        org.drools.core.util.LinkedList.JavaUtilIterator<T extends org.drools.core.util.LinkedListNode<T>>, org.drools.core.util.LinkedList.LinkedListFastIterator<K extends org.drools.core.util.Entry<K>>, org.drools.core.util.LinkedList.LinkedListIterator<T extends org.drools.core.util.LinkedListNode<T>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected BeliefSystem beliefSystem  
      protected org.drools.core.common.InternalFactHandle fh  
      protected org.drools.core.common.WorkingMemoryAction wmAction  
      • Fields inherited from class org.drools.core.util.LinkedList

        fastIterator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel​(org.drools.core.common.PropagationContext context)
      This will remove all entries and do clean up, like retract FHs.
      void clear​(org.drools.core.common.PropagationContext context)
      This will remove all entries, but not do cleanup, the FH is most likely needed else where
      BeliefSystem getBeliefSystem()  
      org.drools.core.common.InternalFactHandle getFactHandle()  
      org.drools.core.common.WorkingMemoryAction getWorkingMemoryAction()  
      boolean isConflicting()  
      boolean isDecided()  
      boolean isNegated()  
      boolean isPositive()  
      void setWorkingMemoryAction​(org.drools.core.common.WorkingMemoryAction wmAction)  
      • Methods inherited from class org.drools.core.util.LinkedList

        add, addFirst, addLast, clear, contains, equals, fastIterator, get, getFirst, getLast, hashCode, insertAfter, isEmpty, iterator, javaUtilIterator, readExternal, remove, removeFirst, removeLast, size, writeExternal
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fh

        protected org.drools.core.common.InternalFactHandle fh
      • wmAction

        protected org.drools.core.common.WorkingMemoryAction wmAction
    • Constructor Detail

      • SimpleBeliefSet

        public SimpleBeliefSet​(BeliefSystem beliefSystem,
                               org.drools.core.common.InternalFactHandle fh)
      • SimpleBeliefSet

        public SimpleBeliefSet()