Exemplo n.º 1
0
 private List<AbstractEdge> getAllOutputEdge(Transition transition)
 {
     List<AbstractEdge> outputs = new List<AbstractEdge>();
     foreach (AbstractEdge edge in this.edges)
     {
         if (transition.Equals(edge.Start))
         {
             outputs.Add(edge);
         }
     }
     return outputs;
 }
Exemplo n.º 2
0
 private List<AbstractEdge> getAllInputEdge(Transition transition)
 {
     List<AbstractEdge> inputs = new List<AbstractEdge>();
     foreach (AbstractEdge edge in this.edges)
     {
         if (transition.Equals(edge.End))
         {
             inputs.Add(edge);
         }
     }
     return inputs;
 }