Package aima.core.logic.fol.inference

Examples of aima.core.logic.fol.inference.FOLTFMResolution


  @Test
  public void testFullFOLKBLovesAnimalQueryNotKillsJackTunaSucceeds() {
    // 10 seconds should be more than plenty for this query to finish.
    testFullFOLKBLovesAnimalQueryNotKillsJackTunaSucceeds(
        new FOLTFMResolution(10 * 1000), false);
  }
View Full Code Here


  @Test
  public void testFullFOLKBLovesAnimalQueryKillsJackTunaFalse() {
    // This query will not return using TFM as keep expanding
    // clauses through resolution for this KB.
    testFullFOLKBLovesAnimalQueryKillsJackTunaFalse(new FOLTFMResolution(
        10 * 1000), true);
  }
View Full Code Here

        10 * 1000), true);
  }

  @Test
  public void testEqualityAxiomsKBabcAEqualsCSucceeds() {
    testEqualityAxiomsKBabcAEqualsCSucceeds(new FOLTFMResolution(10 * 1000));
  }
 
View Full Code Here

    testEqualityAxiomsKBabcAEqualsCSucceeds(new FOLTFMResolution(10 * 1000));
  }

  @Test
  public void testEqualityAndSubstitutionAxiomsKBabcdFFASucceeds() {
    testEqualityAndSubstitutionAxiomsKBabcdFFASucceeds(new FOLTFMResolution(
        40 * 1000));
  }
 
View Full Code Here

  // due to the amount of memory it uses.
  // Therefore, ignore by default as people don't normally set this.
  @Ignore
  @Test
  public void testEqualityAndSubstitutionAxiomsKBabcdPDSucceeds() {
    testEqualityAndSubstitutionAxiomsKBabcdPDSucceeds(new FOLTFMResolution(
        10 * 1000));
  }
 
View Full Code Here

  @Test
  public void testEqualityAndSubstitutionAxiomsKBabcdPFFASucceeds() {
    // TFM is unable to find the correct answer to this in a reasonable
    // amount of time for a JUnit test.
    testEqualityAndSubstitutionAxiomsKBabcdPFFASucceeds(
        new FOLTFMResolution(10 * 1000), true);
  }
View Full Code Here

        new FOLTFMResolution(10 * 1000), true);
  }

  @Test
  public void testEqualityNoAxiomsKBabcAEqualsCSucceeds() {
    testEqualityNoAxiomsKBabcAEqualsCSucceeds(new FOLTFMResolution(
        10 * 1000), true);
  }
View Full Code Here

  }

  @Test
  public void testEqualityAndSubstitutionNoAxiomsKBabcdFFASucceeds() {
    testEqualityAndSubstitutionNoAxiomsKBabcdFFASucceeds(
        new FOLTFMResolution(10 * 1000), true);
  }
View Full Code Here

  }

  @Test
  public void testEqualityAndSubstitutionNoAxiomsKBabcdPDSucceeds() {
    testEqualityAndSubstitutionNoAxiomsKBabcdPDSucceeds(
        new FOLTFMResolution(10 * 1000), true);
  }
View Full Code Here

  }

  @Test
  public void testEqualityAndSubstitutionNoAxiomsKBabcdPFFASucceeds() {
    testEqualityAndSubstitutionNoAxiomsKBabcdPFFASucceeds(
        new FOLTFMResolution(10 * 1000), true);
  }
View Full Code Here

TOP

Related Classes of aima.core.logic.fol.inference.FOLTFMResolution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.