Response.setIsExit C# (CSharp) Method

setIsExit() public method

public setIsExit ( bool p_is_exit ) : void
p_is_exit bool
return void
    public void setIsExit(bool p_is_exit)
    {
        this.is_exit = p_is_exit;
    }

Usage Example

Example #1
0
 // Adds exit edges to the graph
 public void addExit(int p_id, string p_statement, int p_fromNode, int p_toNode)
 {
     Response temp = new Response(p_statement, p_fromNode, p_toNode, true);
     temp.setIsExit(true);
     edges.Insert(p_id, temp);
     foreach (KeyValuePair<Node, ArrayList> pair in graph)
     {
         if(pair.Key.getId() == p_fromNode)
             pair.Value.Add(temp);
     }
 }
All Usage Examples Of Response::setIsExit