Tarjan: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 15: Line 15:
{
{
public int LowLink { get; set; }
public int LowLink { get; set; }
public int Index { get; set; }
public int Index { get; set; }
public int N { get; }
private int N_;
public int N
{
get
{
return N_;
}
}
public Node(int n)
public Node(int n)
{
{
N_ = n;
N = n;
Index = -1;
Index = -1;
LowLink = 0;
LowLink = 0;