Public Member Functions | Package Functions

# BinNavi.API.disassembly.IDirectedGraph< NodeType, EdgeType > Interface Reference

Interface for directed graphs. More...

List of all members.

## Public Member Functions
List< EdgeType > | getEdges ()
| Edges of the graph.
List< NodeType > | getNodes ()
| Nodes of the graph.
int | nodeCount ()
| Number of nodes in the graph.
## Package Functions
int | edgeCount ()
| Number of edges in the graph.

## Detailed Description

Interface that must be implemented by all graph types that want to make use of API graph algorithms.

Parameters:

  | <NodeType> | Type of the nodes in the graph.
  | <EdgeType> | Type of the edges in the graph.

## Member Function Documentation

int BinNavi.API.disassembly.IDirectedGraph< NodeType, EdgeType >.edgeCount | ( |  | ) | `[package]`

Returns the number of edges in the graph.

Returns:
  The number of edges in the graph.

List<EdgeType> BinNavi.API.disassembly.IDirectedGraph< NodeType, EdgeType >.getEdges | ( |  | ) |

Returns the edges of the graph.

Returns:
  The edges of the graph.

List<NodeType> BinNavi.API.disassembly.IDirectedGraph< NodeType, EdgeType >.getNodes | ( |  | ) |

Returns the nodes of the graph.

Returns:
  The nodes of the graph.

int BinNavi.API.disassembly.IDirectedGraph< NodeType, EdgeType >.nodeCount | ( |  | ) |

Returns the number of nodes in the graph.

Returns:
  The number of nodes in the graph.