Package aima.core.search.framework

Examples of aima.core.search.framework.Metrics


   * Returns all the metrics of the node expander.
   *
   * @return all the metrics of the node expander.
   */
  public Metrics getMetrics() {
    Metrics result = new Metrics();
    result.set("expandedNodes", this.expandedNodes);
    return result;
  }
View Full Code Here


    return value;
  }

  @Override
  public Metrics getMetrics() {
    Metrics result = new Metrics();
    result.set("expandedNodes", expandedNodes);
    return result;
  }
View Full Code Here

    return value;
  }

  @Override
  public Metrics getMetrics() {
    Metrics result = new Metrics();
    result.set("expandedNodes", expandedNodes);
    return result;
  }
View Full Code Here

  }

  /** Returns some statistic data from the last search. */
  @Override
  public Metrics getMetrics() {
    Metrics result = new Metrics();
    result.set("expandedNodes", expandedNodes);
    result.set("maxDepth", maxDepth);
    return result;
  }
View Full Code Here

  private static final String MAX_QUEUE_SIZE = "maxQueueSize";

  private static final String PATH_COST = "pathCost";

  public BidirectionalSearch() {
    metrics = new Metrics();
  }
View Full Code Here

  private final int infinity = Integer.MAX_VALUE;

  private final Metrics iterationMetrics;

  public IterativeDeepeningSearch() {
    iterationMetrics = new Metrics();
    iterationMetrics.set(METRIC_NODES_EXPANDED, 0);
    iterationMetrics.set(PATH_COST, 0);
  }
View Full Code Here

TOP

Related Classes of aima.core.search.framework.Metrics

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.