Ejemplo n.º 1
0
 /// <summary>
 /// Get a CPI by its PI value
 /// </summary>
 /// <param name="pi">PI value to look for</param>
 /// <returns>The CPI if it exists, NULL otherwise</returns>
 public CPI GetPI(PIs pi)
 {
     try
     {
         CPI cpi = new CPI(pis[(byte)pi]);
         return(cpi);
     }
     catch (System.Exception) { return(null); }
 }
 public void AddPI(Partition <FSMState <TInput, TOutput> > pi)
 {
     PIs.Add(PIs.Count, pi);
 }