@@ -21,7 +21,6 @@ portions copyright Teknowledge (c) 2003 and reused under the terms of the GNU li
2121import com .articulate .sigma .trans .SessionTPTPManager ;
2222import com .articulate .sigma .trans .THFnew ;
2323import com .articulate .sigma .trans .TPTP3ProofProcessor ;
24- import com .articulate .sigma .trans .TPTPGenerationManager ;
2524import com .articulate .sigma .trans .TPTPutil ;
2625import com .articulate .sigma .utils .FileUtil ;
2726import com .articulate .sigma .utils .StringUtil ;
@@ -182,13 +181,6 @@ else if ("tff".equalsIgnoreCase(requestedTptpLang)){
182181 this .timeout = timeout ;
183182 this .maxAnswers = maxAnswers ;
184183 this .inferenceFilePath = KBmanager .getMgr ().getPref ("kbDir" ) + File .separator + KBmanager .getMgr ().getPref ("sumokbname" ) + "." + this .inferenceFileExtension ;
185- if (!(new File (this .inferenceFilePath ).exists ()) || KBmanager .getMgr ().infBaseFileOldIgnoringUserAssertions (this .inferenceFileExtension )) {
186- System .out .println ("INFO in KB.loadVampire(): this.inferenceFilePath=" + !(new File (this .inferenceFilePath ).exists ()));
187- System .out .println ("INFO in KB.loadVampire(): managerInfFileOld " + KBmanager .getMgr ().infFileOld ());
188- synchronized (kb .baseGenLock ) {
189- TPTPGenerationManager .generateProperFile (kb , this .requestedTptpLanguage );
190- }
191- }
192184 }
193185
194186 /***************************************************************
@@ -379,18 +371,6 @@ public void askVampireHOL(String stmt, boolean useModals) {
379371 File thfAxioms = new File (kbThfPath );
380372 if (!thfAxioms .exists ()) {
381373 System .out .println ("Vampire.askVampireHOL(): no such file: " + kbThfPath + ". Waiting for background generation or creating it." );
382- // Wait for background THF generation if in progress, otherwise generate synchronously
383- if (useModals ) {
384- if (!TPTPGenerationManager .waitForTHFModal (600 )) {
385- System .out .println ("Vampire.askVampireHOL(): Background generation not ready, generating THF Modal synchronously" );
386- THFnew .transModalTHF (this .kb );
387- }
388- } else {
389- if (!TPTPGenerationManager .waitForTHFPlain (600 )) {
390- System .out .println ("Vampire.askVampireHOL(): Background generation not ready, generating THF Plain synchronously" );
391- THFnew .transPlainTHF (this .kb );
392- }
393- }
394374 }
395375 // -------- 2. Prepare temp-stmt.thf and temp-comb.thf (mirrors FOF/TFF run() pattern) --------
396376 String stmtFile = dir + "temp-stmt." + this .inferenceFileExtension ;
0 commit comments