Examples of IQueueInserter


Examples of org.aisearch.data.IQueueInserter

  public List<XMLArtefactOperation> search(String startType, String goalType) {
    INode startNode = new Node(startType, transformationOperations);
    List<String> goalTypes = new ArrayList<String>();
    goalTypes.add(goalType);
    IGoalTest goalTest = new GoalTest(goalTypes);
    IQueueInserter queueInserter = new BoundedUniformCostInserter(MAX_COSTS);

    return search(startNode, goalTest, queueInserter);
  }
View Full Code Here

Examples of org.aisearch.data.IQueueInserter

        goalTypes.add(type);
    }

    INode startNode = new Node(startType, transformationOperations);
    IGoalTest goalTest = new GoalTest(goalTypes);
    IQueueInserter queueInserter = new BoundedUniformCostInserter(MAX_COSTS);

    List<XMLArtefactOperation> operations = search(startNode, goalTest,
        queueInserter);
    if (operations == null)
      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.