示例#1
0
    public List <int> GetIndicesOfTransitions(IReadOnlyList <Transition> transitions)
    {
        List <int> idxList = new List <int>();

        for (int i = 0; i < transitions.Count; i++)
        {
            idxList.Add(Transitions.FindIndex(tran => tran.Transition == transitions[i]));
        }

        return(idxList);
    }