public class SimpleBeliefSet extends LinkedList implements BeliefSet
LinkedList.JavaUtilIterator<T extends LinkedListNode<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends LinkedListNode<T>>
fastIterator
Constructor and Description |
---|
SimpleBeliefSet(BeliefSystem beliefSystem,
InternalFactHandle fh) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(PropagationContext context)
This will remove all entries and do clean up, like retract FHs.
|
void |
clear(PropagationContext context)
This will remove all entries, but not do cleanup, the FH is most likely needed else where
|
BeliefSystem |
getBeliefSystem() |
InternalFactHandle |
getFactHandle() |
WorkingMemoryAction |
getWorkingMemoryAction() |
void |
setWorkingMemoryAction(WorkingMemoryAction wmAction) |
add, addFirst, addLast, clear, equals, fastIterator, get, getFirst, getLast, hashCode, insertAfter, isEmpty, iterator, javaUtilIterator, readExternal, remove, removeFirst, removeLast, size, writeExternal
public SimpleBeliefSet(BeliefSystem beliefSystem, InternalFactHandle fh)
public BeliefSystem getBeliefSystem()
getBeliefSystem
in interface BeliefSet
public InternalFactHandle getFactHandle()
getFactHandle
in interface BeliefSet
public void cancel(PropagationContext context)
BeliefSet
public void clear(PropagationContext context)
BeliefSet
public WorkingMemoryAction getWorkingMemoryAction()
public void setWorkingMemoryAction(WorkingMemoryAction wmAction)
setWorkingMemoryAction
in interface BeliefSet
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.