/** * Used by the Generate Productions actions to look for holes in Working Memory and fix those * holes. * * @param sv the SoarIdentifierVertex in WorkingMemory currently checking * @param sp the Soar Production to check * @param current the node being examined * @return a list of errors * @see DefaultCheckerErrorHandler * @see * DataMapChecker#complete(SoarWorkingMemoryModel,SoarIdentifierVertex,TriplesExtractor,DefaultCheckerErrorHandler,OperatorNode) */ public List checkGenerateProduction( SoarIdentifierVertex sv, SoarProduction sp, OperatorNode current) { TriplesExtractor triplesExtractor = new TriplesExtractor(sp); DefaultCheckerErrorHandler dceh = new DefaultCheckerErrorHandler(sp.getName(), sp.getStartLine()); DataMapChecker.complete(this, sv, triplesExtractor, dceh, current); return dceh.getErrors(); }