Examples of PRED_retract_1


Examples of jp.ac.kobe_u.cs.prolog.builtin.PRED_retract_1

  protected void retractTerm(jp.ac.kobe_u.cs.prolog.lang.StructureTerm term) {
    if (logger.isDebugEnabled()) {
      logger.debug("-" + term);
    }
    try {
      SolveInfo info = executeGoal(new PRED_retract_1(term, null) + ".");
      if (!info.isSuccess()) {
        throw new IllegalStateException("Failed to assert " + term);
      }
    } catch (MalformedGoalException e) {
      throw new IllegalStateException(e);
View Full Code Here

Examples of jp.ac.kobe_u.cs.prolog.builtin.PRED_retract_1

  protected void retractTerm(StructureTerm term) {
    if (logger.isDebugEnabled()) {
      logger.debug("-" + term);
    }
    term = new StructureTerm(delimiter, new Term[] { packageName, term });
    if (!executeGoal(new PRED_retract_1(), term)) {
      throw new IllegalStateException("Failed to retract " + term);
    }
  }
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.