Package com.declarativa.interprolog

Examples of com.declarativa.interprolog.TermModel.intValue()


    long length = 0;

    {
      String G = "leg(L),buildTermModel(L,LL)";
      TermModel length_model = (TermModel) (prologEngine.deterministicGoal(G, "[LL]"))[0];
      length = length_model.intValue();
    }

    long endTime = System.currentTimeMillis();

    System.out.println("Got " + length + " solutions in "
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.