Package net.sf.kpex.prolog

Examples of net.sf.kpex.prolog.Const.eq()


  @Override
  public int exec(Prog p)
  {
    Fluent F = (Fluent) getArg(0);
    Const R = (Const) getArg(1);
    boolean yesno = !R.eq(Const.NO);
    F.setPersistent(yesno);
    return 1;
  }
}
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.