Package org.aisearch.data

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


        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

Related Classes of org.aisearch.data.IQueueInserter

Copyright © 2018 www.massapicom. 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.