Drools :: Core 6.1.0.Beta1

org.drools.core.beliefsystem
Interface BeliefSet

All Known Subinterfaces:
JTMSBeliefSet
All Known Implementing Classes:
DefeasibleBeliefSet, JTMSBeliefSetImpl, SimpleBeliefSet

public interface BeliefSet


Method Summary
 void add(LinkedListNode 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()
           
 LinkedListNode getFirst()
           
 boolean isEmpty()
           
 boolean isNegated()
           
 boolean isPositive()
           
 boolean isUndecided()
           
 FastIterator iterator()
           
 void remove(LinkedListNode node)
           
 void setWorkingMemoryAction(WorkingMemoryAction wmAction)
           
 int size()
           
 

Method Detail

getBeliefSystem

BeliefSystem getBeliefSystem()

getFactHandle

InternalFactHandle getFactHandle()

getFirst

LinkedListNode getFirst()

iterator

FastIterator iterator()

add

void add(LinkedListNode node)

remove

void remove(LinkedListNode 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()

isPositive

boolean isPositive()

Drools :: Core 6.1.0.Beta1

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