Interface BeliefSet<M extends ModedAssertion<M>>

All Known Subinterfaces:
JTMSBeliefSet<M>
All Known Implementing Classes:
DefeasibleBeliefSet, JTMSBeliefSetImpl, SimpleBeliefSet

public interface BeliefSet<M extends ModedAssertion<M>>
  • Method Details

    • getBeliefSystem

      BeliefSystem getBeliefSystem()
    • getFactHandle

      InternalFactHandle getFactHandle()
    • getFirst

      M getFirst()
    • fastIterator

      FastIterator fastIterator()
    • add

      void add(M node)
    • remove

      void remove(M node)
    • isEmpty

      boolean isEmpty()
    • size

      int size()
    • cancel

      void cancel(PropagationContext propagationContext)
      This will remove all entries and do clean up, like retract FHs.
      Parameters:
      propagationContext -
    • clear

      void clear(PropagationContext propagationContext)
      This will remove all entries, but not do cleanup, the FH is most likely needed else where
      Parameters:
      propagationContext -
    • setWorkingMemoryAction

      void setWorkingMemoryAction(WorkingMemoryAction wmAction)
    • isNegated

      boolean isNegated()
    • isDecided

      boolean isDecided()
    • isConflicting

      boolean isConflicting()
    • isPositive

      boolean isPositive()