es.upv.dsic.gti_ia.argAgents.knowledgeResources
Class DialogueGraph

java.lang.Object
  extended by 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

Constructor Summary
DialogueGraph()
           
DialogueGraph(ArrayList<ArgNode> nodes)
           
 
Method Summary
 void addNode(ArgNode newNode)
           
 boolean contains(long argID)
           
 int distanceToFinal(ArgNode argNode)
           
 int distanceToFinal(long argID)
           
 ArgNode getNode(long argID)
           
 ArrayList<ArgNode> getNodes()
           
 ArrayList<ArgNode> getNodes(long argID)
           
 ArgNode getRoot()
           
 void removeNode(ArgNode oldNode)
           
 void setNodes(ArrayList<ArgNode> newNodes)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogueGraph

public DialogueGraph(ArrayList<ArgNode> nodes)

DialogueGraph

public DialogueGraph()
Method Detail

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.