dk.deepthought.sidious.planner
Class GraphFactory

java.lang.Object
  extended by dk.deepthought.sidious.planner.GraphFactory

public class GraphFactory
extends java.lang.Object

The graph factory.

Author:
Deepthought

Field Summary
private static org.apache.commons.logging.Log logger
           
 
Constructor Summary
GraphFactory()
           
 
Method Summary
static Graph makeGraph(SuperLinkID requester, State source, State goal)
          This method is a factory for creating a Graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.commons.logging.Log logger
Constructor Detail

GraphFactory

public GraphFactory()
Method Detail

makeGraph

public static Graph makeGraph(SuperLinkID requester,
                              State source,
                              State goal)
This method is a factory for creating a Graph.

The input states (source and goal) must:

  • have same dimension
  • operate in the same state space

    Parameters:
    requester - the id of the originating PlanRequester
    source - the beginning of any path in the graph
    goal - the end of any path in the graph
    Returns:
    a graph


  • Copyright © Deepthought Development - All Rights Reserved.