public int GetComputedValue()
{
if (this.IsComputed())
{
int value = 0;
foreach (Node adjNode in ReferencedNodes)
{
value += adjNode.GetComputedValue();
}
this.Value = value.ToString();
}
return int.Parse(this.Value);
}