C# Class Graph, CodeSpells

Inheritance: Object
显示文件 Open project: srfoster/CodeSpells Class Usage Examples

Public Methods

Method Description
Graph ( string convo_file ) : System.Collections
addEdge ( int p_id, string p_statement, int p_fromNode, int p_toNode ) : void
addExit ( int p_id, string p_statement, int p_fromNode, int p_toNode ) : void
addNode ( int p_id, string p_statement ) : void
getNode ( int p_id ) : Node
getReentryNode ( int p_id ) : Node
getResponses ( int p_id ) : ArrayList
readInConversation ( string convo_file ) : void

Method Details

Graph() public method

public Graph ( string convo_file ) : System.Collections
convo_file string
return System.Collections

addEdge() public method

public addEdge ( int p_id, string p_statement, int p_fromNode, int p_toNode ) : void
p_id int
p_statement string
p_fromNode int
p_toNode int
return void

addExit() public method

public addExit ( int p_id, string p_statement, int p_fromNode, int p_toNode ) : void
p_id int
p_statement string
p_fromNode int
p_toNode int
return void

addNode() public method

public addNode ( int p_id, string p_statement ) : void
p_id int
p_statement string
return void

getNode() public method

public getNode ( int p_id ) : Node
p_id int
return Node

getReentryNode() public method

public getReentryNode ( int p_id ) : Node
p_id int
return Node

getResponses() public method

public getResponses ( int p_id ) : ArrayList
p_id int
return ArrayList

readInConversation() public method

public readInConversation ( string convo_file ) : void
convo_file string
return void