Drools :: Core 6.2.0.Final

org.drools.core.beliefsystem
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 Summary
 void add(M node)
           
 void cancel(PropagationContext propagationContext)
          This will remove all entries and do clean up, like retract FHs.
 void clear(PropagationContext propagationContext)
          This will remove all entries, but not do cleanup, the FH is most likely needed else where
 BeliefSystem getBeliefSystem()
           
 InternalFactHandle getFactHandle()
           
 M getFirst()
           
 boolean isConflicting()
           
 boolean isEmpty()
           
 boolean isNegated()
           
 boolean isPositive()
           
 boolean isUndecided()
           
 FastIterator iterator()
           
 void remove(M node)
           
 void setWorkingMemoryAction(WorkingMemoryAction wmAction)
           
 int size()
           
 

Method Detail

getBeliefSystem

BeliefSystem getBeliefSystem()

getFactHandle

InternalFactHandle getFactHandle()

getFirst

M getFirst()

iterator

FastIterator iterator()

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()

isUndecided

boolean isUndecided()

isConflicting

boolean isConflicting()

isPositive

boolean isPositive()

Drools :: Core 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.