Example #1
0
 public override string ToString()
 {
     if (Exit == null)
     {
         return(Area.ToString());
     }
     else
     {
         return(Area.ToString() + ": " + Exit.ToString());
     }
 }
Example #2
0
 /// <summary>
 /// String representation of this area probability
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(Key.ToString() + ": " + Value.ToString("F3"));
 }