FrameIT
geeksforgeeks.Graph Class Reference

Public Member Functions

void AddEdge (int v, int w)
 

Static Public Member Functions

static void Main (string[] args)
 

Private Member Functions

 Graph (int v)
 
void TopologicalSortUtil (int v, bool[] visited, Stack< int > stack)
 
void TopologicalSort ()
 

Private Attributes

readonly int V
 
List< List< int > > adj
 

Constructor & Destructor Documentation

◆ Graph()

geeksforgeeks.Graph.Graph ( int  v)
private

Member Function Documentation

◆ AddEdge()

void geeksforgeeks.Graph.AddEdge ( int  v,
int  w 
)

◆ Main()

static void geeksforgeeks.Graph.Main ( string[]  args)
static

◆ TopologicalSort()

void geeksforgeeks.Graph.TopologicalSort ( )
private

◆ TopologicalSortUtil()

void geeksforgeeks.Graph.TopologicalSortUtil ( int  v,
bool[]  visited,
Stack< int >  stack 
)
private

Member Data Documentation

◆ adj

List<List<int> > geeksforgeeks.Graph.adj
private

◆ V

readonly int geeksforgeeks.Graph.V
private

The documentation for this class was generated from the following file: