Class JTMSBeliefSetImpl<M extends JTMSMode<M>>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JTMSBeliefSetImpl.MODE  
      • 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 inherited from class org.drools.core.util.LinkedList

        fastIterator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(M node)  
      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 remove​(M node)  
      void setWorkingMemoryAction​(org.drools.core.common.WorkingMemoryAction wmAction)  
      • Methods inherited from class org.drools.core.util.LinkedList

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

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

      • JTMSBeliefSetImpl

        public JTMSBeliefSetImpl​(BeliefSystem<M> beliefSystem,
                                 org.drools.core.common.InternalFactHandle rootHandle)
      • JTMSBeliefSetImpl

        public JTMSBeliefSetImpl()
    • Method Detail

      • add

        public void add​(M node)
        Specified by:
        add in interface BeliefSet<M extends JTMSMode<M>>
        Overrides:
        add in class org.drools.core.util.LinkedList<M extends JTMSMode<M>>
      • remove

        public void remove​(M node)
        Specified by:
        remove in interface BeliefSet<M extends JTMSMode<M>>
        Overrides:
        remove in class org.drools.core.util.LinkedList<M extends JTMSMode<M>>
      • cancel

        public void cancel​(org.drools.core.common.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<M extends JTMSMode<M>>
      • clear

        public void clear​(org.drools.core.common.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<M extends JTMSMode<M>>
      • getWorkingMemoryAction

        public org.drools.core.common.WorkingMemoryAction getWorkingMemoryAction()