Examples of TokenNodeProvider


Examples of com.clarkparsia.pellet.rules.rete.NodeProvider.TokenNodeProvider

      List<FilterCondition> conditions = new ArrayList<FilterCondition>();
      if (!processed.isEmpty()) {
        for (int i = 0, n = args.size(); i < n; i++) {
          AtomObject arg = args.get(i);
          if (arg instanceof AtomVariable) {
            TokenNodeProvider provider = createNodeProvider((AtomVariable) arg, processed);
            if (provider != null) {
                        conditions.add(new JoinCondition(new WMENodeProvider(i), provider));
            }
          }
              }
View Full Code Here

Examples of com.clarkparsia.pellet.rules.rete.NodeProvider.TokenNodeProvider

            if (indexArg != -1) {
              if (lastWME && index == n -1) {
                return new WMENodeProvider(indexArg);
              }
              else {
                return new TokenNodeProvider(index, indexArg);
              }
            }
        }
   
    return null;
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.