public void clear(PropagationContext context) {
// remove all, but don't allow the BeliefSystem to clean up, the FH is most likely going to be used else where
for ( LinkedListEntry entry = (LinkedListEntry) getFirst(); entry != null; ) {
LinkedListEntry temp = (LinkedListEntry) entry.getNext(); // get next, as we are about to remove it
final LogicalDependency node = (LogicalDependency) entry.getObject();
node.getJustifier().getLogicalDependencies().remove( node );
remove( entry );
entry = temp;
}
}