Beispiel #1
0
 /// <summary>
 /// Get the maximum and minimum stored results of the specified type for the specified node
 /// </summary>
 /// <param name="node"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public Interval this[Node node, NodeResultTypes type]
 {
     get
     {
         NodeResults res = this[node];
         if (res != null)
         {
             return(res[type]);
         }
         else
         {
             return(Interval.Unset);
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Get the result value(s) for the specified case, node and result type
 /// </summary>
 /// <param name="rCase"></param>
 /// <param name="node"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public Interval this[ResultsCase rCase, Node node, NodeResultTypes type]
 {
     get
     {
         NodeResults nRes = this[rCase, node];
         if (nRes != null)
         {
             return(nRes[type]);
         }
         else
         {
             return(Interval.Unset);
         }
     }
 }
Beispiel #3
0
 /// <summary>
 /// Get the stored result (if any) of the specified type for
 /// the specified node and case.
 /// </summary>
 /// <param name="node"></param>
 /// <param name="rCase"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public Interval this[Node node, ResultsCase rCase, NodeResultTypes type]
 {
     get { return(this[node, rCase]?[type] ?? Interval.Unset); }
 }