es.upv.dsic.gti_ia.argAgents.knowledgeResources
Class DialogueGraph
java.lang.Object
es.upv.dsic.gti_ia.argAgents.knowledgeResources.DialogueGraph
- All Implemented Interfaces:
- Serializable
public class DialogueGraph
- extends Object
- implements Serializable
Implementation of the concept DialogueGraph
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogueGraph
public DialogueGraph(ArrayList<ArgNode> nodes)
DialogueGraph
public DialogueGraph()
getNodes
public ArrayList<ArgNode> getNodes()
addNode
public void addNode(ArgNode newNode)
removeNode
public void removeNode(ArgNode oldNode)
setNodes
public void setNodes(ArrayList<ArgNode> newNodes)
getRoot
public ArgNode getRoot()
size
public int size()
contains
public boolean contains(long argID)
getNode
public ArgNode getNode(long argID)
getNodes
public ArrayList<ArgNode> getNodes(long argID)
distanceToFinal
public int distanceToFinal(long argID)
throws Exception
- Throws:
Exception
distanceToFinal
public int distanceToFinal(ArgNode argNode)
throws Exception
- Throws:
Exception
Copyright © 2012 GTI-IA. All Rights Reserved.