// first create a temporary cache to find which entry points were removed from the network
Map<String, WorkingMemoryEntryPoint> cache = new HashMap<String, WorkingMemoryEntryPoint>( this.entryPoints );
// now, add any entry point that was added to the knowledge base
for ( EntryPointNode entryPointNode : reteEPs.values() ) {
EntryPoint id = entryPointNode.getEntryPoint();
cache.remove( id.getEntryPointId() );
if ( !EntryPoint.DEFAULT.equals( id ) && !this.entryPoints.containsKey( id ) ) {
WorkingMemoryEntryPoint wmEntryPoint = new NamedEntryPoint( id,
entryPointNode,
this );
this.entryPoints.put( entryPointNode.getEntryPoint().getEntryPointId(),